Files
kimai2/public/build/app.js
2019-05-27 01:36:43 +02:00

138 lines
850 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s="c0dd")}({"+NP7":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function t(e){i(this,t),this._configurations=e}return o(t,[{key:"get",value:function(t){return this._configurations[t]}},{key:"has",value:function(t){return t in this._configurations}}]),t}();e.a=r},"/TWM":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=n("PJh5"),c=n.n(u),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),h=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),d(e,[{key:"getId",value:function(){return"date-range-picker"}},{key:"init",value:function(){this.activateDateRangePicker(this.selector)}},{key:"activateDateRangePicker",value:function(t){var e=this.getContainer().getTranslation();s()(t+' input[data-daterangepickerenable="on"]').each(function(t){var n=s()(this).data("format"),i=s()(this).data("separator"),o={};o[e.get("today")]=[c()(),c()()],o[e.get("yesterday")]=[c()().subtract(1,"days"),c()().subtract(1,"days")],o[e.get("thisWeek")]=[c()().startOf("week"),c()().endOf("week")],o[e.get("lastWeek")]=[c()().subtract(1,"week").startOf("week"),c()().subtract(1,"week").endOf("week")],o[e.get("thisMonth")]=[c()().startOf("month"),c()().endOf("month")],o[e.get("lastMonth")]=[c()().subtract(1,"month").startOf("month"),c()().subtract(1,"month").endOf("month")],o[e.get("thisYear")]=[c()().startOf("year"),c()().endOf("year")],o[e.get("lastYear")]=[c()().subtract(1,"year").startOf("year"),c()().subtract(1,"year").endOf("year")],s()(this).daterangepicker({showDropdowns:!0,autoUpdateInput:!1,autoApply:!1,linkedCalendars:!1,locale:{separator:i,format:n,firstDay:1,applyLabel:e.get("confirm"),cancelLabel:e.get("cancel"),customRangeLabel:e.get("customRange"),daysOfWeek:c.a.weekdaysShort(),monthNames:c.a.months()},ranges:o,alwaysShowCalendars:!0}),s()(this).on("apply.daterangepicker",function(t,e){s()(this).val(e.startDate.format(n)+" - "+e.endDate.format(n)),s()(this).trigger("change")})})}}]),e}(l.a);e.a=h},"1QPC":function(t,e,n){var i,i;/*!
* Chart.js
* http://chartjs.org/
* Version: 2.7.3
*
* Copyright 2018 Chart.js Contributors
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/
!function(e){t.exports=e()}(function(){return function t(e,n,o){function r(s,l){if(!n[s]){if(!e[s]){var u="function"==typeof i&&i;if(!l&&u)return i(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};e[s][0].call(d.exports,function(t){return r(e[s][1][t]||t)},d,d.exports,t,e,n,o)}return n[s].exports}for(var a="function"==typeof i&&i,s=0;s<o.length;s++)r(o[s]);return r}({1:[function(t,e,n){},{}],2:[function(t,e,n){function i(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var o=0;o<e.length;o++)e[o]=parseInt(i[o]+i[o],16)}else if(i=t.match(/^#([a-fA-F0-9]{6})$/i))for(i=i[1],o=0;o<e.length;o++)e[o]=parseInt(i.slice(2*o,2*o+2),16);else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=d[i[1]]))return}for(o=0;o<e.length;o++)e[o]=u(e[o],0,255);return n=n||0==n?u(n,0,1):1,e[3]=n,e}}function o(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function r(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function a(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function s(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function l(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function u(t,e,n){return Math.min(Math.max(e,t),n)}function c(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var d=t(6);e.exports={getRgba:i,getHsla:o,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=o(t);return e&&e.slice(0,3)},getHwb:r,getAlpha:function(t){var e=i(t);return e?e[3]:(e=o(t))?e[3]:(e=r(t))?e[3]:void 0},hexString:function(t){return"#"+c(t[0])+c(t[1])+c(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?a(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:a,percentString:function(t,e){return e<1||t[3]&&t[3]<1?s(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:s,hslString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:l,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return h[t.slice(0,3)]}};var h={};for(var f in d)h[d[f]]=f},{6:6}],3:[function(t,e,n){var i=t(5),o=t(2),r=function(t){return t instanceof r?t:this instanceof r?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=o.getRgba(t))?this.setValues("rgb",e):(e=o.getHsla(t))?this.setValues("hsl",e):(e=o.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new r(t);var e};r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return o.hexString(this.values.rgb)},rgbString:function(){return o.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return o.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return o.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return o.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return o.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return o.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return o.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return n<e?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,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,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,o=void 0===e?.5:e,r=2*o-1,a=n.alpha()-i.alpha(),s=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*o+i.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new r,i=this.values,o=n.values;for(var a in i)i.hasOwnProperty(a)&&(t=i[a],"[object Array]"===(e={}.toString.call(t))?o[a]=t.slice(0):"[object Number]"===e?o[a]=t:console.error("unexpected color value:",t));return n}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},r.prototype.setValues=function(t,e){var n,o,r=this.values,a=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)r[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[a[t][0]]){var u=a[t];for(n=0;n<t.length;n++)r[t][n]=e[u[n]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(n=0;n<t.length;n++)o=Math.max(0,Math.min(s[t][n],r[t][n])),r[t][n]=Math.round(o);for(var c in a)c!==t&&(r[c]=i[t][c](r[t]));return!0},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{2:2,5:5}],4:[function(t,e,n){function i(t){var e,n,i=t[0]/255,o=t[1]/255,r=t[2]/255,a=Math.min(i,o,r),s=Math.max(i,o,r),l=s-a;return s==a?e=0:i==s?e=(o-r)/l:o==s?e=2+(r-i)/l:r==s&&(e=4+(i-o)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+s)/2,[e,100*(s==a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]}function o(t){var e,n,i=t[0],o=t[1],r=t[2],a=Math.min(i,o,r),s=Math.max(i,o,r),l=s-a;return n=0==s?0:l/s*1e3/10,s==a?e=0:i==s?e=(o-r)/l:o==s?e=2+(r-i)/l:r==s&&(e=4+(i-o)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,s/255*1e3/10]}function a(t){var e=t[0],n=t[1],o=t[2];return[i(t)[0],1/255*Math.min(e,Math.min(n,o))*100,100*(o=1-1/255*Math.max(e,Math.max(n,o)))]}function s(t){var e,n=t[0]/255,i=t[1]/255,o=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-o)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-o-e)/(1-e)||0),100*e]}function l(t){return S[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function c(t){var e=u(t),n=e[0],i=e[1],o=e[2];return i/=100,o/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=.008856<o?Math.pow(o,1/3):7.787*o+16/116))]}function d(t){var e,n,i,o,r,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var u=0;u<3;u++)(i=a+1/3*-(u-1))<0&&i++,1<i&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,o[u]=255*r;return o}function h(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,o=Math.floor(e)%6,r=e-Math.floor(e),a=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,o){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}}function f(t){var e,n,i,o,a=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(1<u&&(s/=u,l/=u),i=6*a-(e=Math.floor(6*a)),0!=(1&e)&&(i=1-i),o=s+i*((n=1-l)-s),e){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function p(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,i*(1-o)+o))]}function m(t){var e,n,i,o=t[0]/100,r=t[1]/100,a=t[2]/100;return n=-.9689*o+1.8758*r+.0415*a,i=.0557*o+-.204*r+1.057*a,e=.0031308<(e=3.2406*o+-1.5372*r+-.4986*a)?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function v(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function y(t){var e,n,i,o,r=t[0],a=t[1],s=t[2];return o=r<=8?(n=100*r/903.3)/100*7.787+16/116:(n=100*Math.pow((r+16)/116,3),Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(a/500+o-16/116)/7.787:95.047*Math.pow(a/500+o,3),n,i=i/108.883<=.008859?i=108.883*(o-s/200-16/116)/7.787:108.883*Math.pow(o-s/200,3)]}function w(t){var e,n=t[0],i=t[1],o=t[2];return(e=360*Math.atan2(o,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+o*o),e]}function x(t){return m(y(t))}function _(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]}function D(t){return k[t]}e.exports={rgb2hsl:i,rgb2hsv:o,rgb2hwb:a,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:c,rgb2lch:function(t){return w(c(t))},hsl2rgb:d,hsl2hsv:function(t){var e=t[0],n=t[1]/100,i=t[2]/100;return 0!==i?[e,2*(n*=(i*=2)<=1?i:2-i)/(i+n)*100,(i+n)/2*100]:[0,0,0]},hsl2hwb:function(t){return a(d(t))},hsl2cmyk:function(t){return s(d(t))},hsl2keyword:function(t){return l(d(t))},hsv2rgb:h,hsv2hsl:function(t){var e,n,i=t[0],o=t[1]/100,r=t[2]/100;return e=o*r,[i,100*(e=(e/=(n=(2-o)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return a(h(t))},hsv2cmyk:function(t){return s(h(t))},hsv2keyword:function(t){return l(h(t))},hwb2rgb:f,hwb2hsl:function(t){return i(f(t))},hwb2hsv:function(t){return o(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:p,cmyk2hsl:function(t){return i(p(t))},cmyk2hsv:function(t){return o(p(t))},cmyk2hwb:function(t){return a(p(t))},cmyk2keyword:function(t){return l(p(t))},keyword2rgb:D,keyword2hsl:function(t){return i(D(t))},keyword2hsv:function(t){return o(D(t))},keyword2hwb:function(t){return a(D(t))},keyword2cmyk:function(t){return s(D(t))},keyword2lab:function(t){return c(D(t))},keyword2xyz:function(t){return u(D(t))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(t){return w(v(t))},lab2xyz:y,lab2rgb:x,lab2lch:w,lch2lab:_,lch2xyz:function(t){return y(_(t))},lch2rgb:function(t){return x(_(t))}};var k={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]},S={};for(var C in k)S[JSON.stringify(k[C])]=C},{}],5:[function(t,e,n){var i=t(4),o=function(){return new u};for(var r in i){o[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var a=/(\w+)2(\w+)/.exec(r),s=a[1],l=a[2];(o[s]=o[s]||{})[l]=o[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var o=0;o<n.length;o++)n[o]=Math.round(n[o]);return n}}(r)}var u=function(){this.convs={}};u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=o[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){u.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=o},{4:4}],6:[function(t,e,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,n){var i=t(30)();i.helpers=t(46),t(28)(i),i.Animation=t(22),i.animationService=t(23),i.defaults=t(26),i.Element=t(27),i.elements=t(41),i.Interaction=t(29),i.layouts=t(31),i.platform=t(49),i.plugins=t(32),i.Scale=t(33),i.scaleService=t(34),i.Ticks=t(35),i.Tooltip=t(36),t(24)(i),t(25)(i),t(56)(i),t(54)(i),t(55)(i),t(57)(i),t(58)(i),t(59)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var o=t(50);for(var r in o)o.hasOwnProperty(r)&&i.plugins.register(o[r]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=o.legend._element,i.Title=o.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,41:41,46:46,49:49,50:50,54:54,55:55,56:56,57:57,58:58,59:59,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return 0<t.length&&(t[0].yLabel?n=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:o.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,o=i.chart,a=i.getMeta(),s=i.getDataset(),l=t.custom||{},u=o.options.elements.rectangle;t._xScale=i.getScaleForId(a.xAxisID),t._yScale=i.getScaleForId(a.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:s.label,label:o.data.labels[e],borderSkipped:l.borderSkipped?l.borderSkipped:u.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:r.valueAtIndexOrDefault(s.backgroundColor,e,u.backgroundColor),borderColor:l.borderColor?l.borderColor:r.valueAtIndexOrDefault(s.borderColor,e,u.borderColor),borderWidth:l.borderWidth?l.borderWidth:r.valueAtIndexOrDefault(s.borderWidth,e,u.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,o=t._model,r=i.getValueScale(),a=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,e),c=i.calculateBarIndexPixels(i.index,e,l);o.horizontal=s,o.base=n?a:u.base,o.x=s?n?a:u.head:c.center,o.y=s?c.center:n?a:u.head,o.height=s?c.size:void 0,o.width=s?void 0:c.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){var e,n,i=this.chart,o=this.getIndexScale().options.stacked,r=void 0===t?i.data.datasets.length:t+1,a=[];for(e=0;e<r;++e)(n=i.getDatasetMeta(e)).bar&&i.isDatasetVisible(e)&&(!1===o||!0===o&&-1===a.indexOf(n.stack)||void 0===o&&(void 0===n.stack||-1===a.indexOf(n.stack)))&&a.push(n.stack);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this.getIndexScale(),i=this.getStackCount(),o=this.index,a=n.isHorizontal(),s=a?n.left:n.top,l=s+(a?n.width:n.height),u=[];for(t=0,e=this.getMeta().data.length;t<e;++t)u.push(n.getPixelForValue(null,t,o));return{min:r.isNullOrUndef(n.options.barThickness)?function(t,e){var n,i,o,r,a=t.isHorizontal()?t.width:t.height,s=t.getTicks();for(o=1,r=e.length;o<r;++o)a=Math.min(a,e[o]-e[o-1]);for(o=0,r=s.length;o<r;++o)i=t.getPixelForTick(o),a=0<o?Math.min(a,i-n):a,n=i;return a}(n,u):-1,pixels:u,start:s,end:l,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,o,r,a,s,l=this.chart,u=this.getMeta(),c=this.getValueScale(),d=l.data.datasets,h=c.getRightValue(d[t].data[e]),f=c.options.stacked,p=u.stack,m=0;if(f||void 0===f&&void 0!==p)for(n=0;n<t;++n)(i=l.getDatasetMeta(n)).bar&&i.stack===p&&i.controller.getValueScaleId()===c.id&&l.isDatasetVisible(n)&&(o=c.getRightValue(d[n].data[e]),(h<0&&o<0||0<=h&&0<o)&&(m+=o));return r=c.getPixelForValue(m),{size:s=((a=c.getPixelForValue(m+h))-r)/2,base:r,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,n){var i,o,a,s,l,u,c,d,h,f,p,m,g,v,y,b,w,x=n.scale.options,_="flex"===x.barThickness?(h=e,p=x,g=(f=n).pixels,v=g[h],y=0<h?g[h-1]:null,b=h<g.length-1?g[h+1]:null,w=p.categoryPercentage,null===y&&(y=v-(null===b?f.end-v:b-v)),null===b&&(b=v+v-y),m=v-(v-y)/2*w,{chunk:(b-y)/2*w/f.stackCount,ratio:p.barPercentage,start:m}):(i=e,o=n,u=(a=x).barThickness,c=o.stackCount,d=o.pixels[i],l=r.isNullOrUndef(u)?(s=o.min*a.categoryPercentage,a.barPercentage):(s=u*c,1),{chunk:s/c,ratio:l,start:d-s/2}),D=this.getStackIndex(t,this.getMeta().stack),k=_.start+_.chunk*D+_.chunk/2,S=Math.min(r.valueOrDefault(x.maxBarThickness,1/0),_.chunk*_.ratio);return{base:k-S/2,head:k+S/2,center:k,size:S}},draw:function(){var t=this.chart,e=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),o=n.length,a=0;for(r.canvas.clipArea(t.ctx,t.chartArea);a<o;++a)isNaN(e.getRightValue(i.data[a]))||n[a].draw();r.canvas.unclipArea(t.ctx)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{26:26,41:41,46:46}],16:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:o.Point,update:function(t){var e=this,n=e.getMeta().data;r.each(n,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,o=i.getMeta(),r=t.custom||{},a=i.getScaleForId(o.xAxisID),s=i.getScaleForId(o.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:r.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=r.valueOrDefault(n.hoverBackgroundColor,r.getHoverColor(n.backgroundColor)),e.borderColor=r.valueOrDefault(n.hoverBorderColor,r.getHoverColor(n.borderColor)),e.borderWidth=r.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveElementOptions:function(t,e){var n,i,o,a=this.chart,s=a.data.datasets[this.index],l=t.custom||{},u=a.options.elements.point,c=r.options.resolve,d=s.data[e],h={},f={chart:a,dataIndex:e,dataset:s,datasetIndex:this.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(n=0,i=p.length;n<i;++n)h[o=p[n]]=c([l[o],s[o],u[o]],f,e);return h.radius=c([l.radius,d?d.r:void 0,s.radius,u.radius],f,e),h}})}},{26:26,41:41,46:46}],17:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,o=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),o[r]&&e.push(o[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var o=t.getDatasetMeta(0),a=e.datasets[0],s=o.data[i],l=s&&s.custom||{},u=r.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:u(a.backgroundColor,i,c.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(a.borderColor,i,c.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(a.borderWidth,i,c.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,o,r=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(o=a.getDatasetMeta(n)).data[r]&&(o.data[r].hidden=!o.data[r].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return r.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),i._set("pie",r.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:o.Arc,linkScales:r.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e=this,n=e.chart,i=n.chartArea,o=n.options,a=o.elements.arc,s=i.right-i.left-a.borderWidth,l=i.bottom-i.top-a.borderWidth,u=Math.min(s,l),c={x:0,y:0},d=e.getMeta(),h=o.cutoutPercentage,f=o.circumference;if(f<2*Math.PI){var p=o.rotation%(2*Math.PI),m=(p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0))+f,g=Math.cos(p),v=Math.sin(p),y=Math.cos(m),b=Math.sin(m),w=p<=0&&0<=m||p<=2*Math.PI&&2*Math.PI<=m,x=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,_=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,D=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,k=h/100,S=_?-1:Math.min(g*(g<0?1:k),y*(y<0?1:k)),C=D?-1:Math.min(v*(v<0?1:k),b*(b<0?1:k)),M=w?1:Math.max(g*(0<g?1:k),y*(0<y?1:k)),T=x?1:Math.max(v*(0<v?1:k),b*(0<b?1:k)),E=.5*(M-S),P=.5*(T-C);u=Math.min(s/E,l/P),c={x:-.5*(M+S),y:-.5*(T+C)}}n.borderWidth=e.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),r.each(d.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,o=i.chart,a=o.chartArea,s=o.options,l=s.animation,u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=s.rotation,h=s.rotation,f=i.getDataset(),p=n&&l.animateRotate?0:t.hidden?0:i.calculateCircumference(f.data[e])*(s.circumference/(2*Math.PI)),m=n&&l.animateScale?0:i.innerRadius,g=n&&l.animateScale?0:i.outerRadius,v=r.valueAtIndexOrDefault;r.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+o.offsetX,y:c+o.offsetY,startAngle:d,endAngle:h,circumference:p,outerRadius:g,innerRadius:m,label:v(f.label,e,o.data.labels[e])}});var y=t._model,b=t.custom||{},w=r.valueAtIndexOrDefault,x=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:w(f.backgroundColor,e,x.backgroundColor),y.borderColor=b.borderColor?b.borderColor:w(f.borderColor,e,x.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:w(f.borderWidth,e,x.borderWidth),n&&l.animateRotate||(y.startAngle=0===e?s.rotation:i.getMeta().data[e-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return r.each(n.data,function(n,o){t=e.data[o],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,o=this.index,r=t.length,a=0;a<r;a++)i=(i=i<(e=t[a]._model?t[a]._model.borderWidth:0)?e:i)<(n=t[a]._chart?t[a]._chart.config.data.datasets[o].hoverBorderWidth:0)?n:i;return i}})}},{26:26,41:41,46:46}],18:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return r.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:o.Line,dataElementType:o.Point,update:function(t){var n,i,o,a=this,s=a.getMeta(),l=s.dataset,u=s.data||[],c=a.chart.options,d=c.elements.line,h=a.getScaleForId(s.yAxisID),f=a.getDataset(),p=e(f,c);for(p&&(o=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=a.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:c.spanGaps,tension:o.tension?o.tension:r.valueOrDefault(f.lineTension,d.tension),backgroundColor:o.backgroundColor?o.backgroundColor:f.backgroundColor||d.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:f.borderWidth||d.borderWidth,borderColor:o.borderColor?o.borderColor:f.borderColor||d.borderColor,borderCapStyle:o.borderCapStyle?o.borderCapStyle:f.borderCapStyle||d.borderCapStyle,borderDash:o.borderDash?o.borderDash:f.borderDash||d.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:f.borderDashOffset||d.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:f.borderJoinStyle||d.borderJoinStyle,fill:o.fill?o.fill:void 0!==f.fill?f.fill:d.fill,steppedLine:o.steppedLine?o.steppedLine:r.valueOrDefault(f.steppedLine,d.stepped),cubicInterpolationMode:o.cubicInterpolationMode?o.cubicInterpolationMode:r.valueOrDefault(f.cubicInterpolationMode,d.cubicInterpolationMode)},l.pivot()),n=0,i=u.length;n<i;++n)a.updateElement(u[n],n,t);for(p&&0!==l._model.tension&&a.updateBezierControlPoints(),n=0,i=u.length;n<i;++n)u[n].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),o=t.custom||{};return o.backgroundColor?n=o.backgroundColor:i.pointBackgroundColor?n=r.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),o=t.custom||{};return o.borderColor?n=o.borderColor:i.pointBorderColor?n=r.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),o=t.custom||{};return isNaN(o.borderWidth)?!isNaN(i.pointBorderWidth)||r.isArray(i.pointBorderWidth)?n=r.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=o.borderWidth,n},getPointRotation:function(t,e){var n=this.chart.options.elements.point.rotation,i=this.getDataset(),o=t.custom||{};return isNaN(o.rotation)?isNaN(i.pointRotation)&&!r.isArray(i.pointRotation)||(n=r.valueAtIndexOrDefault(i.pointRotation,e,n)):n=o.rotation,n},updateElement:function(t,e,n){var i,o,a=this,s=a.getMeta(),l=t.custom||{},u=a.getDataset(),c=a.index,d=u.data[e],h=a.getScaleForId(s.yAxisID),f=a.getScaleForId(s.xAxisID),p=a.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),i=f.getPixelForValue("object"==typeof d?d:NaN,e,c),o=n?h.getBasePixel():a.calculatePointY(d,e,c),t._xScale=f,t._yScale=h,t._datasetIndex=c,t._index=e,t._model={x:i,y:o,skip:l.skip||isNaN(i)||isNaN(o),radius:l.radius||r.valueAtIndexOrDefault(u.pointRadius,e,p.radius),pointStyle:l.pointStyle||r.valueAtIndexOrDefault(u.pointStyle,e,p.pointStyle),rotation:a.getPointRotation(t,e),backgroundColor:a.getPointBackgroundColor(t,e),borderColor:a.getPointBorderColor(t,e),borderWidth:a.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||r.valueAtIndexOrDefault(u.pointHitRadius,e,p.hitRadius)}},calculatePointY:function(t,e,n){var i,o,r,a=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),u=0,c=0;if(l.options.stacked){for(i=0;i<n;i++)if(o=a.data.datasets[i],"line"===(r=a.getDatasetMeta(i)).type&&r.yAxisID===l.id&&a.isDatasetVisible(i)){var d=Number(l.getRightValue(o.data[e]));d<0?c+=d||0:u+=d||0}var h=Number(l.getRightValue(t));return h<0?l.getPixelForValue(c+h):l.getPixelForValue(u+h)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,o,a=this.getMeta(),s=this.chart.chartArea,l=a.data||[];if(a.dataset._model.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===a.dataset._model.cubicInterpolationMode)r.splineCurveMonotone(l);else for(e=0,n=l.length;e<n;++e)i=l[e]._model,o=r.splineCurve(r.previousItem(l,e)._model,i,r.nextItem(l,e)._model,a.dataset._model.tension),i.controlPointPreviousX=o.previous.x,i.controlPointPreviousY=o.previous.y,i.controlPointNextX=o.next.x,i.controlPointNextY=o.next.y;if(this.chart.options.elements.line.capBezierPoints)for(e=0,n=l.length;e<n;++e)(i=l[e]._model).controlPointPreviousX=t(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=t(i.controlPointPreviousY,s.top,s.bottom),i.controlPointNextX=t(i.controlPointNextX,s.left,s.right),i.controlPointNextY=t(i.controlPointNextY,s.top,s.bottom)},draw:function(){var t,n=this.chart,i=this.getMeta(),o=i.data||[],a=n.chartArea,s=o.length,l=0;for(e(this.getDataset(),n.options)&&(t=(i.dataset._model.borderWidth||0)/2,r.canvas.clipArea(n.ctx,{left:a.left,right:a.right,top:a.top-t,bottom:a.bottom+t}),i.dataset.draw(),r.canvas.unclipArea(n.ctx));l<s;++l)o[l].draw(a)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},o=t._model;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth,radius:o.radius},o.backgroundColor=i.hoverBackgroundColor||r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,r.getHoverColor(o.backgroundColor)),o.borderColor=i.hoverBorderColor||r.valueAtIndexOrDefault(e.pointHoverBorderColor,n,r.getHoverColor(o.borderColor)),o.borderWidth=i.hoverBorderWidth||r.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,o.borderWidth),o.radius=i.hoverRadius||r.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius)}})}},{26:26,41:41,46:46}],19:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,o=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),o[r]&&e.push(o[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var o=t.getDatasetMeta(0),a=e.datasets[0],s=o.data[i].custom||{},l=r.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:l(a.backgroundColor,i,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(a.borderColor,i,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(a.borderWidth,i,u.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,o,r=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(o=a.getDatasetMeta(n)).data[r].hidden=!o.data[r].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:o.Arc,linkScales:r.noop,update:function(t){var e,n,i,o=this,a=o.getDataset(),s=o.getMeta(),l=o.chart.options.startAngle||0,u=o._starts=[],c=o._angles=[];for(o._updateRadius(),s.count=o.countVisibleElements(),e=0,n=a.data.length;e<n;e++)u[e]=l,i=o._computeAngle(e),l+=c[e]=i;r.each(s.data,function(e,n){o.updateElement(e,n,t)})},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,o=i.elements.arc,r=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max((r-o.borderWidth/2)/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.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,n){var i=this,o=i.chart,a=i.getDataset(),s=o.options,l=s.animation,u=o.scale,c=o.data.labels,d=u.xCenter,h=u.yCenter,f=s.startAngle,p=t.hidden?0:u.getDistanceFromCenterForValue(a.data[e]),m=i._starts[e],g=m+(t.hidden?0:i._angles[e]),v=l.animateScale?0:u.getDistanceFromCenterForValue(a.data[e]);r.extend(t,{_datasetIndex:i.index,_index:e,_scale:u,_model:{x:d,y:h,innerRadius:0,outerRadius:n?v:p,startAngle:n&&l.animateRotate?f:m,endAngle:n&&l.animateRotate?f:g,label:r.valueAtIndexOrDefault(c,e,c[e])}});var y=this.chart.options.elements.arc,b=t.custom||{},w=r.valueAtIndexOrDefault,x=t._model;x.backgroundColor=b.backgroundColor?b.backgroundColor:w(a.backgroundColor,e,y.backgroundColor),x.borderColor=b.borderColor?b.borderColor:w(a.borderColor,e,y.borderColor),x.borderWidth=b.borderWidth?b.borderWidth:w(a.borderWidth,e,y.borderWidth),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return r.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),o=e.getMeta();if(isNaN(i.data[t])||o.data[t].hidden)return 0;var a={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return r.options.resolve([e.chart.options.elements.arc.angle,2*Math.PI/n],a,t)}})}},{26:26,41:41,46:46}],20:[function(t,e,n){"use strict";var i=t(26),o=t(41),r=t(46);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:o.Line,dataElementType:o.Point,linkScales:r.noop,update:function(t){var e=this,n=e.getMeta(),i=n.dataset,o=n.data,a=i.custom||{},s=e.getDataset(),l=e.chart.options.elements.line,u=e.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r.extend(n.dataset,{_datasetIndex:e.index,_scale:u,_children:o,_loop:!0,_model:{tension:a.tension?a.tension:r.valueOrDefault(s.lineTension,l.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||l.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||l.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||l.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle}}),n.dataset.pivot(),r.each(o,function(n,i){e.updateElement(n,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,o=t.custom||{},a=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(e,a.data[e]);void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),r.extend(t,{_datasetIndex:i.index,_index:e,_scale:s,_model:{x:n?s.xCenter:u.x,y:n?s.yCenter:u.y,tension:o.tension?o.tension:r.valueOrDefault(a.lineTension,i.chart.options.elements.line.tension),radius:o.radius?o.radius:r.valueAtIndexOrDefault(a.pointRadius,e,l.radius),backgroundColor:o.backgroundColor?o.backgroundColor:r.valueAtIndexOrDefault(a.pointBackgroundColor,e,l.backgroundColor),borderColor:o.borderColor?o.borderColor:r.valueAtIndexOrDefault(a.pointBorderColor,e,l.borderColor),borderWidth:o.borderWidth?o.borderWidth:r.valueAtIndexOrDefault(a.pointBorderWidth,e,l.borderWidth),pointStyle:o.pointStyle?o.pointStyle:r.valueAtIndexOrDefault(a.pointStyle,e,l.pointStyle),rotation:o.rotation?o.rotation:r.valueAtIndexOrDefault(a.pointRotation,e,l.rotation),hitRadius:o.hitRadius?o.hitRadius:r.valueAtIndexOrDefault(a.pointHitRadius,e,l.hitRadius)}}),t._model.skip=o.skip?o.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();r.each(e.data,function(n,i){var o=n._model,a=r.splineCurve(r.previousItem(e.data,i,!0)._model,o,r.nextItem(e.data,i,!0)._model,o.tension);o.controlPointPreviousX=Math.max(Math.min(a.previous.x,t.right),t.left),o.controlPointPreviousY=Math.max(Math.min(a.previous.y,t.bottom),t.top),o.controlPointNextX=Math.max(Math.min(a.next.x,t.right),t.left),o.controlPointNextY=Math.max(Math.min(a.next.y,t.bottom),t.top),n.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,o=t._model;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth,radius:o.radius},o.radius=n.hoverRadius?n.hoverRadius:r.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),o.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,r.getHoverColor(o.backgroundColor)),o.borderColor=n.hoverBorderColor?n.hoverBorderColor:r.valueAtIndexOrDefault(e.pointHoverBorderColor,i,r.getHoverColor(o.borderColor)),o.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:r.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,o.borderWidth)}})}},{26:26,41:41,46:46}],21:[function(t,e,n){"use strict";t(26)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{26:26}],22:[function(t,e,n){"use strict";var i=t(27);n=e.exports=i.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Object.defineProperty(n.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(n.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})},{27:27}],23:[function(t,e,n){"use strict";var i=t(26),o=t(46);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),e.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var o,r,a=this.animations;for(e.chart=t,i||(t.animating=!0),o=0,r=a.length;o<r;++o)if(a[o].chart===t)return void(a[o]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=o.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=o.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;1<t.dropFrames&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,r=0;r<i.length;)n=(e=i[r]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),o.callback(e.render,[n,e],n),o.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(r,1)):++r}}},{26:26,46:46}],24:[function(t,e,n){"use strict";var i=t(22),o=t(23),r=t(26),a=t(46),s=t(29),l=t(31),u=t(49),c=t(32),d=t(34),h=t(36);e.exports=function(t){function e(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},a.extend(t.prototype,{construct:function(e,n){var i,o,s=this;(o=(i=(i=n)||{}).data=i.data||{}).datasets=o.datasets||[],o.labels=o.labels||[],i.options=a.configMerge(r.global,r[i.type],i.options||{}),n=i;var l=u.acquireContext(e,n),c=l&&l.canvas,d=c&&c.height,h=c&&c.width;s.id=a.uid(),s.ctx=l,s.canvas=c,s.config=n,s.width=h,s.height=d,s.aspectRatio=d?h/d:null,s.options=n.options,s._bufferedRender=!1,(s.chart=s).controller=s,t.instances[s.id]=s,Object.defineProperty(s,"data",{get:function(){return s.config.data},set:function(t){s.config.data=t}}),l&&c?(s.initialize(),s.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return c.notify(t,"beforeInit"),a.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),c.notify(t,"afterInit"),t},clear:function(){return a.canvas.clear(this),this},stop:function(){return o.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(a.getMaximumWidth(i))),s=Math.max(0,Math.floor(o?r/o:a.getMaximumHeight(i)));if((e.width!==r||e.height!==s)&&(i.width=e.width=r,i.height=e.height=s,i.style.width=r+"px",i.style.height=s+"px",a.retinaScale(e,n.devicePixelRatio),!t)){var l={width:r,height:s};c.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update({duration:e.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;a.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),a.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,n=t.options,i=t.scales||{},o=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});n.scales&&(o=o.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),n.scale&&o.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(o,function(n){var o=n.options,s=o.id,l=a.valueOrDefault(o.type,n.dtype);e(o.position)!==e(n.dposition)&&(o.position=n.dposition),r[s]=!0;var u=null;if(s in i&&i[s].type===l)(u=i[s]).options=o,u.ctx=t.ctx,u.chart=t;else{var c=d.getScaleConstructor(l);if(!c)return;u=new c({id:s,type:l,options:o,ctx:t.ctx,chart:t}),i[u.id]=u}u.mergeTicksOptions(),n.isDefault&&(t.scale=u)}),a.each(r,function(t,e){t||delete i[e]}),t.scales=i,d.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return a.each(e.data.datasets,function(o,r){var a=e.getDatasetMeta(r),s=o.type||e.config.type;if(a.type&&a.type!==s&&(e.destroyDatasetMeta(r),a=e.getDatasetMeta(r)),a.type=s,n.push(a.type),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{var l=t.controllers[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(e,r),i.push(a.controller)}},e),i},resetElements:function(){var t=this;a.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var n,i,o=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),i=(n=o).options,a.each(n.scales,function(t){l.removeBox(n,t)}),i=a.configMerge(t.defaults.global,t.defaults[n.config.type],i),n.options=n.config.options=i,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=i.tooltips,n.tooltip.initialize(),c._invalidate(o),!1!==c.notify(o,"beforeUpdate")){o.tooltip._data=o.data;var r=o.buildOrUpdateControllers();a.each(o.data.datasets,function(t,e){o.getDatasetMeta(e).controller.buildOrUpdateElements()},o),o.updateLayout(),o.options.animation&&o.options.animation.duration&&a.each(r,function(t){t.reset()}),o.updateDatasets(),o.tooltip.initialize(),o.lastActive=[],c.notify(o,"afterUpdate"),o._bufferedRender?o._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:o.render(e)}},updateLayout:function(){!1!==c.notify(this,"beforeLayout")&&(l.update(this,this.width,this.height),c.notify(this,"afterScaleUpdate"),c.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==c.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);c.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==c.notify(this,"beforeDatasetUpdate",[n])&&(e.controller.update(),c.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=t.duration,r=t.lazy;if(!1!==c.notify(e,"beforeRender")){var s=e.options.animation,l=function(t){c.notify(e,"afterRender"),a.callback(s&&s.onComplete,[t],e)};if(s&&(void 0!==n&&0!==n||void 0===n&&0!==s.duration)){var u=new i({numSteps:(n||s.duration)/16.66,easing:t.easing||s.easing,render:function(t,e){var n=a.easing.effects[e.easing],i=e.currentStep,o=i/e.numSteps;t.draw(n(o),o,i)},onAnimationProgress:s.onProgress,onAnimationComplete:l});o.addAnimation(e,u,n,r)}else e.draw(),l(new i({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),a.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==c.notify(e,"beforeDraw",[t])&&(a.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),c.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==c.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;0<=n;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);c.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==c.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),c.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==c.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),c.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return s.modes.single(this,t)},getElementsAtEvent:function(t){return s.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return s.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=s.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return s.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var e,n,i=this,o=i.canvas;for(i.stop(),e=0,n=i.data.datasets.length;e<n;++e)i.destroyDatasetMeta(e);o&&(i.unbindEvents(),a.canvas.clear(i),u.releaseContext(i.ctx),i.canvas=null,i.ctx=null),c.notify(i,"destroy"),delete t.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new h({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};a.each(t.options.events,function(i){u.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},u.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,a.each(e,function(e,n){u.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,o,r,a=n?"setHoverStyle":"removeHoverStyle";for(o=0,r=t.length;o<r;++o)(i=t[o])&&this.getDatasetMeta(i._datasetIndex).controller[a](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==c.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),c.notify(e,"afterEvent",[t]);var o=e._bufferedRequest;return o?e.render(o):i&&!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,n=this,i=n.options||{},o=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,o.mode,o),a.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,o.mode,!1),n.active.length&&o.mode&&n.updateHoverStyle(n.active,o.mode,!0),e=!a.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),t.Controller=t}},{22:22,23:23,26:26,29:29,31:31,32:32,34:34,36:36,46:46,49:49}],25:[function(t,e,n){"use strict";var i=t(46);e.exports=function(t){function e(t,e){var i=t._chartjs;if(i){var o=i.listeners,r=o.indexOf(e);-1!==r&&o.splice(r,1),0<o.length||(n.forEach(function(e){delete t[e]}),delete t._chartjs)}}var n=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&e(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],o=n.data;for(t=0,e=i.length;t<e;++t)o[t]=o[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,o,r=this,a=r.getDataset(),s=a.data||(a.data=[]);r._data!==s&&(r._data&&e(r._data,r),o=r,(t=s)._chartjs?t._chartjs.listeners.push(o):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[o]}}),n.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),o=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=o.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})})),r._data=s),r.resyncElements()},update:i.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,o=0;o<i;++o)n[o].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t){i.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,o=t.custom||{},r=i.valueAtIndexOrDefault,a=i.getHoverColor,s=t._model;t.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=o.hoverBackgroundColor?o.hoverBackgroundColor:r(e.hoverBackgroundColor,n,a(s.backgroundColor)),s.borderColor=o.hoverBorderColor?o.hoverBorderColor:r(e.hoverBorderColor,n,a(s.borderColor)),s.borderWidth=o.hoverBorderWidth?o.hoverBorderWidth:r(e.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{46:46}],26:[function(t,e,n){"use strict";var i=t(46);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{46:46}],27:[function(t,e,n){"use strict";var i=t(3),o=t(46),r=function(t){o.extend(this,t),this.initialize.apply(this,arguments)};o.extend(r.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=o.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,o=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),o||(o=e._start={}),function(t,e,n,o){var r,a,s,l,u,c,d,h,f,p=Object.keys(n);for(r=0,a=p.length;r<a;++r)if(c=n[s=p[r]],e.hasOwnProperty(s)||(e[s]=c),(l=e[s])!==c&&"_"!==s[0]){if(t.hasOwnProperty(s)||(t[s]=l),(d=typeof c)==typeof(u=t[s]))if("string"===d){if((h=i(u)).valid&&(f=i(c)).valid){e[s]=f.mix(h,o).rgbString();continue}}else if("number"===d&&isFinite(u)&&isFinite(c)){e[s]=u+(c-u)*o;continue}e[s]=c}}(o,r,n,t)):(e._view=n,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return o.isNumber(this._model.x)&&o.isNumber(this._model.y)}}),r.extend=o.inherits,e.exports=r},{3:3,46:46}],28:[function(t,e,n){"use strict";var i=t(3),o=t(26),r=t(46),a=t(34);e.exports=function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return null!=t&&"none"!==t}function n(n,i,o){var a=document.defaultView,s=r._getParentNode(n),l=a.getComputedStyle(n)[i],u=a.getComputedStyle(s)[i],c=e(l),d=e(u),h=Number.POSITIVE_INFINITY;return c||d?Math.min(c?t(l,n,o):h,d?t(u,s,o):h):"none"}r.configMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){var o=e[t]||{},s=n[t];"scales"===t?e[t]=r.scaleMerge(o,s):"scale"===t?e[t]=r.merge(o,[a.getScaleDefaults(s.type),s]):r._merger(t,e,n,i)}})},r.scaleMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var o,s,l,u=n[t].length;for(e[t]||(e[t]=[]),o=0;o<u;++o)l=n[t][o],s=r.valueOrDefault(l.type,"xAxes"===t?"category":"linear"),o>=e[t].length&&e[t].push({}),!e[t][o].type||l.type&&l.type!==e[t][o].type?r.merge(e[t][o],[a.getScaleDefaults(s),l]):r.merge(e[t][o],l)}else r._merger(t,e,n,i)}})},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return r.each(t,function(t){e(t)&&n.push(t)}),n},r.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,o=t.length;i<o;++i)if(e.call(n,t[i],i,t))return i;return-1},r.findNextWhere=function(t,e,n){r.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var o=t[i];if(e(o))return o}},r.findPreviousWhere=function(t,e,n){r.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;0<=i;i--){var o=t[i];if(e(o))return o}},r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,n){return Math.abs(t-e)<n},r.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&t<n+e},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:0<t?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,o=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:o}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2==0?0:.5},r.splineCurve=function(t,e,n,i){var o=t.skip?e:t,r=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),l=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:r.x-d*(a.x-o.x),y:r.y-d*(a.y-o.y)},next:{x:r.x+h*(a.x-o.x),y:r.y+h*(a.y-o.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,n,i,o,a,s,l,u,c,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=d.length;for(e=0;e<h;++e)if(!(i=d[e]).model.skip){if(n=0<e?d[e-1]:null,(o=e<h-1?d[e+1]:null)&&!o.model.skip){var f=o.model.x-i.model.x;i.deltaK=0!==f?(o.model.y-i.model.y)/f:0}!n||n.model.skip?i.mK=i.deltaK:!o||o.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(e=0;e<h-1;++e)i=d[e],o=d[e+1],i.model.skip||o.model.skip||(r.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=o.mK=0:(a=i.mK/i.deltaK,s=o.mK/i.deltaK,(u=Math.pow(a,2)+Math.pow(s,2))<=9||(l=3/Math.sqrt(u),i.mK=a*l*i.deltaK,o.mK=s*l*i.deltaK)));for(e=0;e<h;++e)(i=d[e]).model.skip||(n=0<e?d[e-1]:null,o=e<h-1?d[e+1]:null,n&&!n.model.skip&&(c=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-c,i.model.controlPointPreviousY=i.model.y-c*i.mK),o&&!o.model.skip&&(c=(o.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+c,i.model.controlPointNextY=i.model.y+c*i.mK))},r.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},r.niceNum=function(t,e){var n=Math.floor(r.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},r.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},r.getRelativePosition=function(t,e){var n,i,o=t.originalEvent||t,a=t.target||t.srcElement,s=a.getBoundingClientRect(),l=o.touches;i=l&&0<l.length?(n=l[0].clientX,l[0].clientY):(n=o.clientX,o.clientY);var u=parseFloat(r.getStyle(a,"padding-left")),c=parseFloat(r.getStyle(a,"padding-top")),d=parseFloat(r.getStyle(a,"padding-right")),h=parseFloat(r.getStyle(a,"padding-bottom")),f=s.right-s.left-u-d,p=s.bottom-s.top-c-h;return{x:n=Math.round((n-s.left-u)/f*a.width/e.currentDevicePixelRatio),y:i=Math.round((i-s.top-c)/p*a.height/e.currentDevicePixelRatio)}},r.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},r._calculatePadding=function(t,e,n){return-1<(e=r.getStyle(t,e)).indexOf("%")?n/parseInt(e,10):parseInt(e,10)},r._getParentNode=function(t){var e=t.parentNode;return e&&e.host&&(e=e.host),e},r.getMaximumWidth=function(t){var e=r._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-r._calculatePadding(e,"padding-left",n)-r._calculatePadding(e,"padding-right",n),o=r.getConstraintWidth(t);return isNaN(o)?i:Math.min(i,o)},r.getMaximumHeight=function(t){var e=r._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-r._calculatePadding(e,"padding-top",n)-r._calculatePadding(e,"padding-bottom",n),o=r.getConstraintHeight(t);return isNaN(o)?i:Math.min(i,o)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,o=t.height,r=t.width;i.height=o*n,i.width=r*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=o+"px",i.style.width=r+"px")}},r.fontString=function(t,e,n){return e+" "+t+"px "+n},r.longestText=function(t,e,n,i){var o=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var s=0;r.each(n,function(e){null!=e&&!0!==r.isArray(e)?s=r.measureText(t,o,a,s,e):r.isArray(e)&&r.each(e,function(e){null==e||r.isArray(e)||(s=r.measureText(t,o,a,s,e))})});var l=a.length/2;if(l>n.length){for(var u=0;u<l;u++)delete o[a[u]];a.splice(0,l)}return s},r.measureText=function(t,e,n,i,o){var r=e[o];return r||(r=e[o]=t.measureText(o).width,n.push(o)),i<r&&(i=r),i},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.color=i?function(t){return t instanceof CanvasGradient&&(t=o.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},{26:26,3:3,34:34,46:46}],29:[function(t,e,n){"use strict";function i(t,e){return t.native?{x:t.x,y:t.y}:u.getRelativePosition(t,e)}function o(t,e){var n,i,o,r,a;for(i=0,r=t.data.datasets.length;i<r;++i)if(t.isDatasetVisible(i))for(o=0,a=(n=t.getDatasetMeta(i)).data.length;o<a;++o){var s=n.data[o];s._view.skip||e(s)}}function r(t,e){var n=[];return o(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function a(t,e,n,i){var r=Number.POSITIVE_INFINITY,a=[];return o(t,function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),s=i(e,o);s<r?(a=[t],r=s):s===r&&a.push(t)}}),a}function s(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var o=e?Math.abs(t.x-i.x):0,r=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(r,2))}}function l(t,e,n){var o=i(e,t);n.axis=n.axis||"x";var l=s(n.axis),u=n.intersect?r(t,o):a(t,o,!1,l),c=[];return u.length?(t.data.datasets.forEach(function(e,n){if(t.isDatasetVisible(n)){var i=t.getDatasetMeta(n).data[u[0]._index];i&&!i._view.skip&&c.push(i)}}),c):[]}var u=t(46);e.exports={modes:{single:function(t,e){var n=i(e,t),r=[];return o(t,function(t){if(t.inRange(n.x,n.y))return r.push(t),r}),r.slice(0,1)},label:l,index:l,dataset:function(t,e,n){var o=i(e,t);n.axis=n.axis||"xy";var l=s(n.axis),u=n.intersect?r(t,o):a(t,o,!1,l);return 0<u.length&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return l(t,e,{intersect:!1})},point:function(t,e){return r(t,i(e,t))},nearest:function(t,e,n){var o=i(e,t);n.axis=n.axis||"xy";var r=s(n.axis),l=a(t,o,n.intersect,r);return 1<l.length&&l.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),l.slice(0,1)},x:function(t,e,n){var r=i(e,t),a=[],s=!1;return o(t,function(t){t.inXRange(r.x)&&a.push(t),t.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(a=[]),a},y:function(t,e,n){var r=i(e,t),a=[],s=!1;return o(t,function(t){t.inYRange(r.y)&&a.push(t),t.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(a=[]),a}}}},{46:46}],30:[function(t,e,n){"use strict";t(26)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t}},{26:26}],31:[function(t,e,n){"use strict";function i(t,e){return r.where(t,function(t){return t.position===e})}function o(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,n){var i=e?n:t,o=e?t:n;return i.weight===o.weight?i._tmpIndex_-o._tmpIndex_:i.weight-o.weight}),t.forEach(function(t){delete t._tmpIndex_})}var r=t(46);e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,o=["fullWidth","position","weight"],r=o.length,a=0;a<r;++a)i=o[a],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){function a(t){var e=r.findNextWhere(C,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(I,M),right:Math.max(O,T),top:0,bottom:0};t.update(t.fullWidth?b:k,w/2,n)}else t.update(e.minSize.width,S)}function s(t){t.isHorizontal()?(t.left=t.fullWidth?c:I,t.right=t.fullWidth?e-d:I+k,t.top=j,t.bottom=j+t.height,j=t.bottom):(t.left=Y,t.right=Y+t.width,t.top=L,t.bottom=L+S,Y=t.right)}if(t){var l=t.options.layout||{},u=r.options.toPadding(l.padding),c=u.left,d=u.right,h=u.top,f=u.bottom,p=i(t.boxes,"left"),m=i(t.boxes,"right"),g=i(t.boxes,"top"),v=i(t.boxes,"bottom"),y=i(t.boxes,"chartArea");o(p,!0),o(m,!1),o(g,!0),o(v,!1);var b=e-c-d,w=n-h-f,x=w/2,_=(e-b/2)/(p.length+m.length),D=(n-x)/(g.length+v.length),k=b,S=w,C=[];r.each(p.concat(m,g,v),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?b:k,D),S-=e.height):(e=t.update(_,S),k-=e.width),C.push({horizontal:n,minSize:e,box:t})});var M=0,T=0,E=0,P=0;r.each(g.concat(v),function(t){if(t.getPadding){var e=t.getPadding();M=Math.max(M,e.left),T=Math.max(T,e.right)}}),r.each(p.concat(m),function(t){if(t.getPadding){var e=t.getPadding();E=Math.max(E,e.top),P=Math.max(P,e.bottom)}});var I=c,O=d,L=h,R=f;r.each(p.concat(m),a),r.each(p,function(t){I+=t.width}),r.each(m,function(t){O+=t.width}),r.each(g.concat(v),a),r.each(g,function(t){L+=t.height}),r.each(v,function(t){R+=t.height}),r.each(p.concat(m),function(t){var e=r.findNextWhere(C,function(e){return e.box===t}),n={left:0,right:0,top:L,bottom:R};e&&t.update(e.minSize.width,S,n)}),I=c,O=d,L=h,R=f,r.each(p,function(t){I+=t.width}),r.each(m,function(t){O+=t.width}),r.each(g,function(t){L+=t.height}),r.each(v,function(t){R+=t.height});var A=Math.max(M-I,0);I+=A,O+=Math.max(T-O,0);var H=Math.max(E-L,0);L+=H,R+=Math.max(P-R,0);var N=n-L-R,F=e-I-O;F===k&&N===S||(r.each(p,function(t){t.height=N}),r.each(m,function(t){t.height=N}),r.each(g,function(t){t.fullWidth||(t.width=F)}),r.each(v,function(t){t.fullWidth||(t.width=F)}),S=N,k=F);var Y=c+A,j=h+H;r.each(p.concat(g),s),Y+=k,j+=S,r.each(m,s),r.each(v,s),t.chartArea={left:I,top:L,right:I+k,bottom:L+S},r.each(y,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(k,S)})}}}},{46:46}],32:[function(t,e,n){"use strict";var i=t(26),o=t(46);i._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,o,r,a,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(o=l[i]).plugin)[e])&&((a=[t].concat(n||[])).push(o.options),!1===s.apply(r,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],r=[],a=t&&t.config||{},s=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,a=s[e];!1!==a&&(!0===a&&(a=o.clone(i.global.plugins[e])),n.push(t),r.push({plugin:t,options:a||{}}))}}),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}}},{26:26,46:46}],33:[function(t,e,n){"use strict";function i(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(t[e].label);return i}function o(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}function r(t,e,n){return c.isArray(e)?c.longestText(t,n,e):t.measureText(e).width}function a(t){var e=c.valueOrDefault,n=l.global,i=e(t.fontSize,n.defaultFontSize),o=e(t.fontStyle,n.defaultFontStyle),r=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:o,family:r,font:c.fontString(i,o,r)}}function s(t){return c.options.toLineHeight(c.valueOrDefault(t.lineHeight,1.2),c.valueOrDefault(t.fontSize,l.global.defaultFontSize))}var l=t(26),u=t(27),c=t(46),d=t(35);l._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:d.formatters.values,minor:{},major:{}}}),e.exports=u.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){c.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,o,r,a,s,l,u=this;for(u.beforeUpdate(),u.maxWidth=t,u.maxHeight=e,u.margins=c.extend({left:0,right:0,top:0,bottom:0},n),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),s=u.buildTicks()||[],u.afterBuildTicks(),u.beforeTickToLabelConversion(),r=u.convertTicksToLabels(s)||u.ticks,u.afterTickToLabelConversion(),i=0,o=(u.ticks=r).length;i<o;++i)a=r[i],(l=s[i])?l.label=a:s.push(l={label:a,major:!1});return u._ticks=s,u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){c.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){c.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(){c.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){c.callback(this.options.beforeDataLimits,[this])},determineDataLimits:c.noop,afterDataLimits:function(){c.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){c.callback(this.options.beforeBuildTicks,[this])},buildTicks:c.noop,afterBuildTicks:function(){c.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){c.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){c.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){c.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,n=t.options.ticks,o=i(t._ticks),r=a(n);e.font=r.font;var s=n.minRotation||0;if(o.length&&t.options.display&&t.isHorizontal())for(var l,u=c.longestText(e,r.font,o,t.longestTextCache),d=u,h=t.getPixelForTick(1)-t.getPixelForTick(0)-6;h<d&&s<n.maxRotation;){var f=c.toRadians(s);if(l=Math.cos(f),Math.sin(f)*u>t.maxHeight){s--;break}s++,d=l*u}t.labelRotation=s},afterCalculateTickRotation:function(){c.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){c.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=i(t._ticks),o=t.options,l=o.ticks,u=o.scaleLabel,d=o.gridLines,h=o.display,f=t.isHorizontal(),p=a(l),m=o.gridLines.tickMarkLength;if(e.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&d.drawTicks?m:0,e.height=f?h&&d.drawTicks?m:0:t.maxHeight,u.display&&h){var g=s(u)+c.options.toPadding(u.padding).height;f?e.height+=g:e.width+=g}if(l.display&&h){var v=c.longestText(t.ctx,p.font,n,t.longestTextCache),y=c.numberOfLabelLines(n),b=.5*p.size,w=t.options.ticks.padding;if(f){t.longestLabelWidth=v;var x=c.toRadians(t.labelRotation),_=Math.cos(x),D=Math.sin(x)*v+p.size*y+b*(y-1)+b;e.height=Math.min(t.maxHeight,e.height+D+w),t.ctx.font=p.font;var k=r(t.ctx,n[0],p.font),S=r(t.ctx,n[n.length-1],p.font);0!==t.labelRotation?(t.paddingLeft="bottom"===o.position?_*k+3:_*b+3,t.paddingRight="bottom"===o.position?_*b+3:_*S+3):(t.paddingLeft=k/2+3,t.paddingRight=S/2+3)}else l.mirror?v=0:v+=w+b,e.width=Math.min(t.maxWidth,e.width+v),t.paddingTop=p.size/2,t.paddingBottom=p.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){c.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(c.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:c.noop,getPixelForValue:c.noop,getValueForPixel:c.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),o=i*t+e.paddingLeft;n&&(o+=i/2);var r=e.left+Math.round(o);return r+=e.isFullWidth()?e.margins.left:0}var a=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(a/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,n,i,o,r=this,a=r.isHorizontal(),s=r.options.ticks.minor,l=t.length,u=c.toRadians(r.labelRotation),d=Math.cos(u),h=r.longestLabelWidth*d,f=[];for(s.maxTicksLimit&&(o=s.maxTicksLimit),a&&(e=!1,(h+s.autoSkipPadding)*l>r.width-(r.paddingLeft+r.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*l/(r.width-(r.paddingLeft+r.paddingRight)))),o&&o<l&&(e=Math.max(e,Math.floor(l/o)))),n=0;n<l;n++)i=t[n],(1<e&&0<n%e||n%e==0&&l<=n+e)&&n!==l-1&&delete i.label,f.push(i);return f},draw:function(t){var e=this,n=e.options;if(n.display){var i=e.ctx,r=l.global,u=n.ticks.minor,d=n.ticks.major||u,h=n.gridLines,f=n.scaleLabel,p=0!==e.labelRotation,m=e.isHorizontal(),g=u.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),v=c.valueOrDefault(u.fontColor,r.defaultFontColor),y=a(u),b=c.valueOrDefault(d.fontColor,r.defaultFontColor),w=a(d),x=h.drawTicks?h.tickMarkLength:0,_=c.valueOrDefault(f.fontColor,r.defaultFontColor),D=a(f),k=c.options.toPadding(f.padding),S=c.toRadians(e.labelRotation),C=[],M=e.options.gridLines.lineWidth,T="right"===n.position?e.left:e.right-M-x,E="right"===n.position?e.left+x:e.right,P="bottom"===n.position?e.top+M:e.bottom-x-M,I="bottom"===n.position?e.top+M+x:e.bottom+M;if(c.each(g,function(i,a){if(!c.isNullOrUndef(i.label)){var s,l,d,f,v,y,b,w,_,D,k,O,L,R,A=i.label;f=a===e.zeroLineIndex&&n.offset===h.offsetGridLines?(s=h.zeroLineWidth,l=h.zeroLineColor,d=h.zeroLineBorderDash,h.zeroLineBorderDashOffset):(s=c.valueAtIndexOrDefault(h.lineWidth,a),l=c.valueAtIndexOrDefault(h.color,a),d=c.valueOrDefault(h.borderDash,r.borderDash),c.valueOrDefault(h.borderDashOffset,r.borderDashOffset));var H="middle",N="middle",F=u.padding;if(m){var Y=x+F;R="bottom"===n.position?(N=p?"middle":"top",H=p?"right":"center",e.top+Y):(N=p?"middle":"bottom",H=p?"left":"center",e.bottom-Y);var j=o(e,a,h.offsetGridLines&&1<g.length);j<e.left&&(l="rgba(0,0,0,0)"),j+=c.aliasPixel(s),L=e.getPixelForTick(a)+u.labelOffset,v=b=_=k=j,y=P,w=I,D=t.top,O=t.bottom+M}else{var z,B="left"===n.position;z=u.mirror?(H=B?"left":"right",F):(H=B?"right":"left",x+F),L=B?e.right-z:e.left+z;var W=o(e,a,h.offsetGridLines&&1<g.length);W<e.top&&(l="rgba(0,0,0,0)"),W+=c.aliasPixel(s),R=e.getPixelForTick(a)+u.labelOffset,v=T,b=E,_=t.left,k=t.right+M,y=w=D=O=W}C.push({tx1:v,ty1:y,tx2:b,ty2:w,x1:_,y1:D,x2:k,y2:O,labelX:L,labelY:R,glWidth:s,glColor:l,glBorderDash:d,glBorderDashOffset:f,rotation:-1*S,label:A,major:i.major,textBaseline:N,textAlign:H})}}),c.each(C,function(t){if(h.display&&(i.save(),i.lineWidth=t.glWidth,i.strokeStyle=t.glColor,i.setLineDash&&(i.setLineDash(t.glBorderDash),i.lineDashOffset=t.glBorderDashOffset),i.beginPath(),h.drawTicks&&(i.moveTo(t.tx1,t.ty1),i.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(i.moveTo(t.x1,t.y1),i.lineTo(t.x2,t.y2)),i.stroke(),i.restore()),u.display){i.save(),i.translate(t.labelX,t.labelY),i.rotate(t.rotation),i.font=t.major?w.font:y.font,i.fillStyle=t.major?b:v,i.textBaseline=t.textBaseline,i.textAlign=t.textAlign;var n=t.label;if(c.isArray(n))for(var o=n.length,r=1.5*y.size,a=e.isHorizontal()?0:-r*(o-1)/2,s=0;s<o;++s)i.fillText(""+n[s],0,a),a+=r;else i.fillText(n,0,0);i.restore()}}),f.display){var O,L,R=0,A=s(f)/2;if(m)O=e.left+(e.right-e.left)/2,L="bottom"===n.position?e.bottom-A-k.bottom:e.top+A+k.top;else{var H="left"===n.position;O=H?e.left+A+k.top:e.right-A-k.top,L=e.top+(e.bottom-e.top)/2,R=H?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(O,L),i.rotate(R),i.textAlign="center",i.textBaseline="middle",i.fillStyle=_,i.font=D.font,i.fillText(f.labelString,0,0),i.restore()}if(h.drawBorder){i.lineWidth=c.valueAtIndexOrDefault(h.lineWidth,0),i.strokeStyle=c.valueAtIndexOrDefault(h.color,0);var N=e.left,F=e.right+M,Y=e.top,j=e.bottom+M,z=c.aliasPixel(i.lineWidth);m?(Y=j="top"===n.position?e.bottom:e.top,Y+=z,j+=z):(N=F="left"===n.position?e.right:e.left,N+=z,F+=z),i.beginPath(),i.moveTo(N,Y),i.lineTo(F,j),i.stroke()}}}})},{26:26,27:27,35:35,46:46}],34:[function(t,e,n){"use strict";var i=t(26),o=t(46),r=t(31);e.exports={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=o.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?o.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=o.extend(this.defaults[t],e))},addScalesToLayout:function(t){o.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,r.addBox(t,e)})}}},{26:26,31:31,46:46}],35:[function(t,e,n){"use strict";var i=t(46);e.exports={formatters:{values:function(t){return i.isArray(t)?t:""+t},linear:function(t,e,n){var o=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(o)&&t!==Math.floor(t)&&(o=t-Math.floor(t));var r=i.log10(Math.abs(o)),a="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var s=i.log10(Math.abs(t));a=t.toExponential(Math.floor(s)-Math.floor(r))}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),a=t.toFixed(l)}else a="0";return a},logarithmic:function(t,e,n){var o=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===o||2===o||5===o||0===e||e===n.length-1?t.toExponential():""}}}},{46:46}],36:[function(t,e,n){"use strict";function i(t,e){var n=c.color(t);return n.alpha(e*n.alpha()).rgbaString()}function o(t,e){return e&&(c.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function r(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function a(t){var e=l.global,n=c.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function s(t){return o([],r(t))}var l=t(26),u=t(27),c=t(46);l._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:c.noop,title:function(t,e){var n="",i=e.labels,o=i?i.length:0;if(0<t.length){var r=t[0];r.xLabel?n=r.xLabel:0<o&&r.index<o&&(n=i[r.index])}return n},afterTitle:c.noop,beforeBody:c.noop,beforeLabel:c.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:c.noop,afterBody:c.noop,beforeFooter:c.noop,footer:c.noop,afterFooter:c.noop}}});var d={average:function(t){if(!t.length)return!1;var e,n,i=0,o=0,r=0;for(e=0,n=t.length;e<n;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,o+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(o/r)}},nearest:function(t,e){var n,i,o,r=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=c.distanceBetweenPoints(e,u);d<s&&(s=d,o=l)}}if(o){var h=o.tooltipPosition();r=h.x,a=h.y}return{x:r,y:a}}};(e.exports=u.extend({initialize:function(){this._model=a(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),a=[];return a=o(a=o(a=o(a,r(e)),r(n)),r(i))},getBeforeBody:function(){return s(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,a=[];return c.each(t,function(t){var s={before:[],lines:[],after:[]};o(s.before,r(i.beforeLabel.call(n,t,e))),o(s.lines,i.label.call(n,t,e)),o(s.after,r(i.afterLabel.call(n,t,e))),a.push(s)}),a},getAfterBody:function(){return s(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),a=[];return a=o(a=o(a=o(a,r(e)),r(n)),r(i))},update:function(t){var e,n,i,o,r,s,l,u,h,f,p,m,g,v,y,b,w,x,_,D,k=this,S=k._options,C=k._model,M=k._model=a(S),T=k._active,E=k._data,P={xAlign:C.xAlign,yAlign:C.yAlign},I={x:C.x,y:C.y},O={width:C.width,height:C.height},L={x:C.caretX,y:C.caretY};if(T.length){M.opacity=1;var R=[],A=[];L=d[S.position].call(k,T,k._eventPosition);var H=[];for(e=0,n=T.length;e<n;++e)H.push((b=T[e],x=w=void 0,w=b._xScale,x=b._yScale||b._scale,_=b._index,D=b._datasetIndex,{xLabel:w?w.getLabelForIndex(_,D):"",yLabel:x?x.getLabelForIndex(_,D):"",index:_,datasetIndex:D,x:b._model.x,y:b._model.y}));S.filter&&(H=H.filter(function(t){return S.filter(t,E)})),S.itemSort&&(H=H.sort(function(t,e){return S.itemSort(t,e,E)})),c.each(H,function(t){R.push(S.callbacks.labelColor.call(k,t,k._chart)),A.push(S.callbacks.labelTextColor.call(k,t,k._chart))}),M.title=k.getTitle(H,E),M.beforeBody=k.getBeforeBody(H,E),M.body=k.getBody(H,E),M.afterBody=k.getAfterBody(H,E),M.footer=k.getFooter(H,E),M.x=Math.round(L.x),M.y=Math.round(L.y),M.caretPadding=S.caretPadding,M.labelColors=R,M.labelTextColors=A,M.dataPoints=H,P=function(t,e){var n,i,o,r,a,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",d="center";s.y<e.height?d="top":s.y>l.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;i="center"===d?(n=function(t){return t<=h},function(t){return h<t}):(n=function(t){return t<=e.width/2},function(t){return t>=l.width-e.width/2}),o=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},a=function(t){return t<=f?"top":"bottom"},n(s.x)?(c="left",o(s.x)&&(c="center",d=a(s.y))):i(s.x)&&(c="right",r(s.x)&&(c="center",d=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,O=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,o=0,r=e.body,a=r.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,u=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=a*d,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*h,i+=l?(l-1)*e.footerSpacing:0;var f=0,p=function(t){o=Math.max(o,n.measureText(t).width+f)};return n.font=c.fontString(u,e._titleFontStyle,e._titleFontFamily),c.each(e.title,p),n.font=c.fontString(d,e._bodyFontStyle,e._bodyFontFamily),c.each(e.beforeBody.concat(e.afterBody),p),f=e.displayColors?d+2:0,c.each(r,function(t){c.each(t.before,p),c.each(t.lines,p),c.each(t.after,p)}),f=0,n.font=c.fontString(h,e._footerFontStyle,e._footerFontFamily),c.each(e.footer,p),{width:o+=2*e.xPadding,height:i}}(this,M)),i=M,o=O,r=P,s=k._chart,l=i.x,u=i.y,h=i.caretSize,f=i.caretPadding,p=i.cornerRadius,m=r.xAlign,g=r.yAlign,v=h+f,y=p+f,"right"===m?l-=o.width:"center"===m&&((l-=o.width/2)+o.width>s.width&&(l=s.width-o.width),l<0&&(l=0)),"top"===g?u+=v:u-="bottom"===g?o.height+v:o.height/2,"center"===g?"left"===m?l+=v:"right"===m&&(l-=v):"left"===m?l-=y:"right"===m&&(l+=y),I={x:l,y:u}}else M.opacity=0;return M.xAlign=P.xAlign,M.yAlign=P.yAlign,M.x=I.x,M.y=I.y,M.width=O.width,M.height=O.height,M.caretX=L.x,M.caretY=L.y,k._model=M,t&&S.custom&&S.custom.call(k,M),k},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,o=this.getCaretPosition(t,e,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)},getCaretPosition:function(t,e,n){var i,o,r,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,m=e.width,g=e.height;if("center"===h)s=p+g/2,l="left"===d?(o=(i=f)-u,r=i,a=s+u,s-u):(o=(i=f+m)+u,r=i,a=s-u,s+u);else if(i="left"===d?(o=f+c+u)-u:"right"===d?(o=f+m-c-u)-u:(o=n.caretX)-u,r=o+u,"top"===h)s=(a=p)-u,l=a;else{s=(a=p+g)+u,l=a;var v=r;r=i,i=v}return{x1:i,x2:o,x3:r,y1:a,y2:s,y3:l}},drawTitle:function(t,e,n,o){var r=e.title;if(r.length){n.textAlign=e._titleAlign,n.textBaseline="top";var a,s,l=e.titleFontSize,u=e.titleSpacing;for(n.fillStyle=i(e.titleFontColor,o),n.font=c.fontString(l,e._titleFontStyle,e._titleFontFamily),a=0,s=r.length;a<s;++a)n.fillText(r[a],t.x,t.y),t.y+=l+u,a+1===r.length&&(t.y+=e.titleMarginBottom-u)}},drawBody:function(t,e,n,o){var r=e.bodyFontSize,a=e.bodySpacing,s=e.body;n.textAlign=e._bodyAlign,n.textBaseline="top",n.font=c.fontString(r,e._bodyFontStyle,e._bodyFontFamily);var l=0,u=function(e){n.fillText(e,t.x+l,t.y),t.y+=r+a};n.fillStyle=i(e.bodyFontColor,o),c.each(e.beforeBody,u);var d=e.displayColors;l=d?r+2:0,c.each(s,function(a,s){var l=i(e.labelTextColors[s],o);n.fillStyle=l,c.each(a.before,u),c.each(a.lines,function(a){d&&(n.fillStyle=i(e.legendColorBackground,o),n.fillRect(t.x,t.y,r,r),n.lineWidth=1,n.strokeStyle=i(e.labelColors[s].borderColor,o),n.strokeRect(t.x,t.y,r,r),n.fillStyle=i(e.labelColors[s].backgroundColor,o),n.fillRect(t.x+1,t.y+1,r-2,r-2),n.fillStyle=l),u(a)}),c.each(a.after,u)}),l=0,c.each(e.afterBody,u),t.y-=a},drawFooter:function(t,e,n,o){var r=e.footer;r.length&&(t.y+=e.footerMarginTop,n.textAlign=e._footerAlign,n.textBaseline="top",n.fillStyle=i(e.footerFontColor,o),n.font=c.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),c.each(r,function(i){n.fillText(i,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,n,o,r){n.fillStyle=i(e.backgroundColor,r),n.strokeStyle=i(e.borderColor,r),n.lineWidth=e.borderWidth;var a=e.xAlign,s=e.yAlign,l=t.x,u=t.y,c=o.width,d=o.height,h=e.cornerRadius;n.beginPath(),n.moveTo(l+h,u),"top"===s&&this.drawCaret(t,o),n.lineTo(l+c-h,u),n.quadraticCurveTo(l+c,u,l+c,u+h),"center"===s&&"right"===a&&this.drawCaret(t,o),n.lineTo(l+c,u+d-h),n.quadraticCurveTo(l+c,u+d,l+c-h,u+d),"bottom"===s&&this.drawCaret(t,o),n.lineTo(l+h,u+d),n.quadraticCurveTo(l,u+d,l,u+d-h),"center"===s&&"left"===a&&this.drawCaret(t,o),n.lineTo(l,u+h),n.quadraticCurveTo(l,u,l+h,u),n.closePath(),n.fill(),0<e.borderWidth&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},o=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(i,e,t,n,o),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,o),this.drawBody(i,e,t,o),this.drawFooter(i,e,t,o))}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!c.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}})).positioners=d},{26:26,27:27,46:46}],37:[function(t,e,n){"use strict";var i=t(26),o=t(27),r=t(46);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=o.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=r.getAngleFromPoint(n,{x:t,y:e}),o=i.angle,a=i.distance,s=n.startAngle,l=n.endAngle;l<s;)l+=2*Math.PI;for(;l<o;)o-=2*Math.PI;for(;o<s;)o+=2*Math.PI;var u=s<=o&&o<=l,c=a>=n.innerRadius&&a<=n.outerRadius;return u&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{26:26,27:27,46:46}],38:[function(t,e,n){"use strict";var i=t(26),o=t(27),r=t(46),a=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:a.defaultColor,borderWidth:3,borderColor:a.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=o.extend({draw:function(){var t,e,n,i,o=this._view,s=this._chart.ctx,l=o.spanGaps,u=this._children.slice(),c=a.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),s.save(),s.lineCap=o.borderCapStyle||c.borderCapStyle,s.setLineDash&&s.setLineDash(o.borderDash||c.borderDash),s.lineDashOffset=o.borderDashOffset||c.borderDashOffset,s.lineJoin=o.borderJoinStyle||c.borderJoinStyle,s.lineWidth=o.borderWidth||c.borderWidth,s.strokeStyle=o.borderColor||a.defaultColor,s.beginPath(),d=-1,t=0;t<u.length;++t)e=u[t],n=r.previousItem(u,t),i=e._view,0===t?i.skip||(s.moveTo(i.x,i.y),d=t):(n=-1===d?n:u[d],i.skip||(d!==t-1&&!l||-1===d?s.moveTo(i.x,i.y):r.canvas.lineTo(s,n._view,e._view),d=t));s.stroke(),s.restore()}})},{26:26,27:27,46:46}],39:[function(t,e,n){"use strict";function i(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}var o=t(26),r=t(27),a=t(46),s=o.global.defaultColor;o._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:s,borderColor:s,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=r.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:i,inXRange:i,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,r=e.pointStyle,l=e.rotation,u=e.radius,c=e.x,d=e.y;e.skip||(void 0===t||n.x>=t.left&&1.01*t.right>=n.x&&n.y>=t.top&&1.01*t.bottom>=n.y)&&(i.strokeStyle=e.borderColor||s,i.lineWidth=a.valueOrDefault(e.borderWidth,o.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||s,a.canvas.drawPoint(i,r,u,c,d,l))}})},{26:26,27:27,46:46}],40:[function(t,e,n){"use strict";function i(t){return void 0!==t._view.width}function o(t){var e,n,o,r,a=t._view;if(i(t)){var s=a.width/2;e=a.x-s,n=a.x+s,o=Math.min(a.y,a.base),r=Math.max(a.y,a.base)}else{var l=a.height/2;e=Math.min(a.x,a.base),n=Math.max(a.x,a.base),o=a.y-l,r=a.y+l}return{left:e,top:o,right:n,bottom:r}}var r=t(26),a=t(27);r._set("global",{elements:{rectangle:{backgroundColor:r.global.defaultColor,borderColor:r.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=a.extend({draw:function(){function t(t){return v[(y+t)%4]}var e,n,i,o,r,a,s,l=this._chart.ctx,u=this._view,c=u.borderWidth;if(s=u.horizontal?(e=u.base,n=u.x,i=u.y-u.height/2,o=u.y+u.height/2,r=e<n?1:-1,a=1,u.borderSkipped||"left"):(e=u.x-u.width/2,n=u.x+u.width/2,r=1,a=(i=u.y)<(o=u.base)?1:-1,u.borderSkipped||"bottom"),c){var d=Math.min(Math.abs(e-n),Math.abs(i-o)),h=(c=d<c?d:c)/2,f=e+("left"!==s?h*r:0),p=n+("right"!==s?-h*r:0),m=i+("top"!==s?h*a:0),g=o+("bottom"!==s?-h*a:0);f!==p&&(i=m,o=g),m!==g&&(e=f,n=p)}l.beginPath(),l.fillStyle=u.backgroundColor,l.strokeStyle=u.borderColor,l.lineWidth=c;var v=[[e,o],[e,i],[n,i],[n,o]],y=["bottom","left","top","right"].indexOf(s,0);-1===y&&(y=0);var b=t(0);l.moveTo(b[0],b[1]);for(var w=1;w<4;w++)b=t(w),l.lineTo(b[0],b[1]);l.fill(),c&&l.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=o(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var n=o(this);return i(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return e=i(this)?(t=n.x,(n.y+n.base)/2):(t=(n.x+n.base)/2,n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{26:26,27:27}],41:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(37),e.exports.Line=t(38),e.exports.Point=t(39),e.exports.Rectangle=t(40)},{37:37,38:38,39:39,40:40}],42:[function(t,e,n){"use strict";var i=t(43);n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,o,r){if(r){var a=Math.min(r,o/2-1e-7,i/2-1e-7);t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.arcTo(e+i,n,e+i,n+a,a),t.lineTo(e+i,n+o-a),t.arcTo(e+i,n+o,e+i-a,n+o,a),t.lineTo(e+a,n+o),t.arcTo(e,n+o,e,n+o-a,a),t.lineTo(e,n+a),t.arcTo(e,n,e+a,n,a),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,o)},drawPoint:function(t,e,n,i,o,r){var a,s,l,u,c,d;if(r=r||0,!e||"object"!=typeof e||"[object HTMLImageElement]"!==(a=e.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(t.save(),t.translate(i,o),t.rotate(r*Math.PI/180),t.beginPath(),e){default:t.arc(0,0,n,0,2*Math.PI),t.closePath();break;case"triangle":c=(s=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(-s/2,c/3),t.lineTo(s/2,c/3),t.lineTo(0,-2*c/3),t.closePath();break;case"rect":d=1/Math.SQRT2*n,t.rect(-d,-d,2*d,2*d);break;case"rectRounded":var h=n/Math.SQRT2,f=-h,p=-h,m=Math.SQRT2*n;this.roundedRect(t,f,p,m,m,.425*n);break;case"rectRot":d=1/Math.SQRT2*n,t.moveTo(-d,0),t.lineTo(0,d),t.lineTo(d,0),t.lineTo(0,-d),t.closePath();break;case"cross":t.moveTo(0,n),t.lineTo(0,-n),t.moveTo(-n,0),t.lineTo(n,0);break;case"crossRot":l=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,t.moveTo(-l,-u),t.lineTo(l,u),t.moveTo(-l,u),t.lineTo(l,-u);break;case"star":t.moveTo(0,n),t.lineTo(0,-n),t.moveTo(-n,0),t.lineTo(n,0),l=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,t.moveTo(-l,-u),t.lineTo(l,u),t.moveTo(-l,u),t.lineTo(l,-u);break;case"line":t.moveTo(-n,0),t.lineTo(n,0);break;case"dash":t.moveTo(0,0),t.lineTo(n,0)}t.fill(),t.stroke(),t.restore()}}else t.drawImage(e,i-e.width/2,o-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments)}},{43:43}],43:[function(t,e,n){"use strict";var i,o={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return o.valueOrDefault(o.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var r,a,s;if(o.isArray(t))if(a=t.length,i)for(r=a-1;0<=r;r--)e.call(n,t[r],r);else for(r=0;r<a;r++)e.call(n,t[r],r);else if(o.isObject(t))for(a=(s=Object.keys(t)).length,r=0;r<a;r++)e.call(n,t[s[r]],s[r])},arrayEquals:function(t,e){var n,i,r,a;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],a=e[n],r instanceof Array&&a instanceof Array){if(!o.arrayEquals(r,a))return!1}else if(r!==a)return!1;return!0},clone:function(t){if(o.isArray(t))return t.map(o.clone);if(o.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,r=0;r<i;++r)e[n[r]]=o.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,i){var r=e[t],a=n[t];o.isObject(r)&&o.isObject(a)?o.merge(r,a,i):e[t]=o.clone(a)},_mergerIf:function(t,e,n){var i=e[t],r=n[t];o.isObject(i)&&o.isObject(r)?o.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=o.clone(r))},merge:function(t,e,n){var i,r,a,s,l,u=o.isArray(e)?e:[e],c=u.length;if(!o.isObject(t))return t;for(i=(n=n||{}).merger||o._merger,r=0;r<c;++r)if(e=u[r],o.isObject(e))for(l=0,s=(a=Object.keys(e)).length;l<s;++l)i(a[l],t,e,n);return t},mergeIf:function(t,e){return o.merge(t,e,{merger:o._mergerIf})},extend:function(t){for(var e=function(e,n){t[n]=e},n=1,i=arguments.length;n<i;++n)o.each(arguments[n],e);return t},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=o.inherits,t&&o.extend(n.prototype,t),n.__super__=e.prototype,n}};(e.exports=o).callCallback=o.callback,o.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},o.getValueOrDefault=o.valueOrDefault,o.getValueAtIndexOrDefault=o.valueAtIndexOrDefault},{}],44:[function(t,e,n){"use strict";var i=t(43),o={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-o.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*o.easeInBounce(2*t):.5*o.easeOutBounce(2*t-1)+.5}};e.exports={effects:o},i.easingEffects=o},{43:43}],45:[function(t,e,n){"use strict";var i=t(43);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,o,r;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,o=+t.bottom||0,r=+t.left||0):e=n=o=r=+t||0,{top:e,right:n,bottom:o,left:r,height:e+o,width:r+n}},resolve:function(t,e,n){var o,r,a;for(o=0,r=t.length;o<r;++o)if(void 0!==(a=t[o])&&(void 0!==e&&"function"==typeof a&&(a=a(e)),void 0!==n&&i.isArray(a)&&(a=a[n]),void 0!==a))return a}}},{43:43}],46:[function(t,e,n){"use strict";e.exports=t(43),e.exports.easing=t(44),e.exports.canvas=t(42),e.exports.options=t(45)},{42:42,43:43,44:44,45:45}],47:[function(t,e,n){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],48:[function(t,e,n){"use strict";function i(t,e){var n=u.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function o(t,e,n){t.addEventListener(e,n,g)}function r(t,e,n){t.removeEventListener(e,n,g)}function a(t,e,n,i,o){return{type:t,chart:e,native:o||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function s(t,e,n){var i,r,s,l,m,g,v,y,b=t[c]||(t[c]={}),w=b.resizer=function(t){var e=document.createElement("div"),n=d+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var r=e.childNodes[0],a=e.childNodes[1];e._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var s=function(){e._reset(),t()};return o(r,"scroll",s.bind(r,"expand")),o(a,"scroll",s.bind(a,"shrink")),e}((s=!(i=function(){if(b.resizer)return e(a("resize",n))}),l=[],function(){l=Array.prototype.slice.call(arguments),r=r||this,s||(s=!0,u.requestAnimFrame.call(window,function(){s=!1,i.apply(r,l)}))}));g=function(){if(b.resizer){var e=t.parentNode;e&&e!==w.parentNode&&e.insertBefore(w,e.firstChild),w._reset()}},v=(m=t)[c]||(m[c]={}),y=v.renderProxy=function(t){t.animationName===f&&g()},u.each(p,function(t){o(m,t,y)}),v.reflow=!!m.offsetParent,m.classList.add(h)}function l(t){var e,n,i,o=t[c]||{},a=o.resizer;delete o.resizer,n=(e=t)[c]||{},(i=n.renderProxy)&&(u.each(p,function(t){r(e,t,i)}),delete n.renderProxy),e.classList.remove(h),a&&a.parentNode&&a.parentNode.removeChild(a)}var u=t(46),c="$chartjs",d="chartjs-",h=d+"render-monitor",f=d+"render-animation",p=["animationstart","webkitAnimationStart"],m={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},g=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,n,i="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+f+"{"+i+"}@keyframes "+f+"{"+i+"}."+h+"{-webkit-animation:"+f+" 0.001s;animation:"+f+" 0.001s;}",n=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){var n=t.style,o=t.getAttribute("height"),r=t.getAttribute("width");if(t[c]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var a=i(t,"width");void 0!==a&&(t.width=a)}if(null===o||""===o)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var s=i(t,"height");void 0!==a&&(t.height=s)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[c]){var n=e[c].initial;["height","width"].forEach(function(t){var i=n[t];u.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),u.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[c]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=n[c]||(n[c]={});o(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){var i,o,r,s;n((o=t,r=m[(i=e).type]||i.type,s=u.getRelativePosition(i,o),a(r,o,s.x,s.y,i)))})}else s(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var o=((n[c]||{}).proxies||{})[t.id+"_"+e];o&&r(i,e,o)}else l(i)}},u.addEvent=o,u.removeEvent=r},{46:46}],49:[function(t,e,n){"use strict";var i=t(46),o=t(47),r=t(48),a=r._enabled?r:o;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},{46:46,47:47,48:48}],50:[function(t,e,n){"use strict";e.exports={},e.exports.filler=t(51),e.exports.legend=t(52),e.exports.title=t(53)},{51:51,52:52,53:53}],51:[function(t,e,n){"use strict";function i(t,e,n){var i,o=t._model||{},r=o.fill;if(void 0===r&&(r=!!o.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||n<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function o(t){var e,n=t.el._model||{},i=t.el._scale||{},o=t.fill,r=null;if(isFinite(o))return null;if("start"===o?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===o?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}function r(t,e,n){var i,o=t[e].fill,r=[e];if(!n)return o;for(;!1!==o&&-1===r.indexOf(o);){if(!isFinite(o))return o;if(!(i=t[o]))return!1;if(i.visible)return o;r.push(o),o=i.fill}return!1}function a(t){return t&&!t.skip}function s(t,e,n,i,o){var r;if(i&&o){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)c.canvas.lineTo(t,e[r-1],e[r]);for(t.lineTo(n[o-1].x,n[o-1].y),r=o-1;0<r;--r)c.canvas.lineTo(t,n[r],n[r-1],!0)}}var l=t(26),u=t(41),c=t(46);l._set("global",{plugins:{filler:{propagate:!0}}});var d={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),o=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=o.length||0;return r?function(t,e){return e<r&&o[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};e.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,a,s,l,c,h,f,p=(t.data.datasets||[]).length,m=e.propagate,g=[];for(a=0;a<p;++a)l=null,(s=(n=t.getDatasetMeta(a)).dataset)&&s._model&&s instanceof u.Line&&(l={visible:t.isDatasetVisible(a),fill:i(s,a,p),chart:t,el:s}),n.$filler=l,g.push(l);for(a=0;a<p;++a)(l=g[a])&&(l.fill=r(g,a,m),l.boundary=o(l),l.mapper=(f=void 0,h=(c=l).fill,!(f="dataset")===h?null:(isFinite(h)||(f="boundary"),d[f](c))))},beforeDatasetDraw:function(t,e){var n=e.meta.$filler;if(n){var i=t.ctx,o=n.el,r=o._view,u=o._children||[],d=n.mapper,h=r.backgroundColor||l.global.defaultColor;d&&h&&u.length&&(c.canvas.clipArea(i,t.chartArea),function(t,e,n,i,o,r){var l,u,c,d,h,f,p,m=e.length,g=i.spanGaps,v=[],y=[],b=0,w=0;for(t.beginPath(),l=0,u=m+!!r;l<u;++l)h=n(d=e[c=l%m]._view,c,i),f=a(d),p=a(h),f&&p?(b=v.push(d),w=y.push(h)):b&&w&&(g?(f&&v.push(d),p&&y.push(h)):(s(t,v,y,b,w),b=w=0,v=[],y=[]));s(t,v,y,b,w),t.closePath(),t.fillStyle=o,t.fill()}(i,u,d,r,h,o._loop),c.canvas.unclipArea(i))}}}},{26:26,41:41,46:46}],52:[function(t,e,n){"use strict";function i(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function o(t,e){var n=new c({ctx:t.ctx,options:e,chart:t});l.configure(t,n,e),l.addBox(t,n),t.legend=n}var r=t(26),a=t(27),s=t(46),l=t(31),u=s.noop;r._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,o=i.getDatasetMeta(n);o.hidden=null===o.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return s.isArray(e.datasets)?e.datasets.map(function(e,n){return{text:e.label,fillStyle:s.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var c=a.extend({initialize:function(t){s.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:u,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:u,beforeSetDimensions:u,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:u,beforeBuildLabels:u,buildLabels:function(){var t=this,e=t.options.labels||{},n=s.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:u,beforeFit:u,fit:function(){var t=this,e=t.options,n=e.labels,o=e.display,a=t.ctx,l=r.global,u=s.valueOrDefault,c=u(n.fontSize,l.defaultFontSize),d=u(n.fontStyle,l.defaultFontStyle),h=u(n.fontFamily,l.defaultFontFamily),f=s.fontString(c,d,h),p=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();if(m.height=g?(m.width=t.maxWidth,o?10:0):(m.width=o?10:0,t.maxHeight),o)if(a.font=f,g){var v=t.lineWidths=[0],y=t.legendItems.length?c+n.padding:0;a.textAlign="left",a.textBaseline="top",s.each(t.legendItems,function(e,o){var r=i(n,c)+c/2+a.measureText(e.text).width;v[v.length-1]+r+n.padding>=t.width&&(y+=c+n.padding,v[v.length]=t.left),p[o]={left:0,top:0,width:r,height:c},v[v.length-1]+=r+n.padding}),m.height+=y}else{var b=n.padding,w=t.columnWidths=[],x=n.padding,_=0,D=0,k=c+b;s.each(t.legendItems,function(t,e){var o=i(n,c)+c/2+a.measureText(t.text).width;D+k>m.height&&(x+=_+n.padding,w.push(_),D=_=0),_=Math.max(_,o),D+=k,p[e]={left:0,top:0,width:o,height:c}}),x+=_,w.push(_),m.width+=x}t.width=m.width,t.height=m.height},afterFit:u,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,o=r.global,a=o.elements.line,l=t.width,u=t.lineWidths;if(e.display){var c,d=t.ctx,h=s.valueOrDefault,f=h(n.fontColor,o.defaultFontColor),p=h(n.fontSize,o.defaultFontSize),m=h(n.fontStyle,o.defaultFontStyle),g=h(n.fontFamily,o.defaultFontFamily),v=s.fontString(p,m,g);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=v;var y=i(n,p),b=t.legendHitBoxes,w=t.isHorizontal();c=w?{x:t.left+(l-u[0])/2,y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+n.padding,line:0};var x=p+n.padding;s.each(t.legendItems,function(i,r){var f,m,g,v,_,D=d.measureText(i.text).width,k=y+p/2+D,S=c.x,C=c.y;w?l<=S+k&&(C=c.y+=x,c.line++,S=c.x=t.left+(l-u[c.line])/2):C+x>t.bottom&&(S=c.x=S+t.columnWidths[c.line]+n.padding,C=c.y=t.top+n.padding,c.line++),function(t,n,i){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=h(i.fillStyle,o.defaultColor),d.lineCap=h(i.lineCap,a.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,a.borderDashOffset),d.lineJoin=h(i.lineJoin,a.borderJoinStyle),d.lineWidth=h(i.lineWidth,a.borderWidth),d.strokeStyle=h(i.strokeStyle,o.defaultColor);var r=0===h(i.lineWidth,a.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,a.borderDash)),e.labels&&e.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2,c=t+u,f=n+u;s.canvas.drawPoint(d,i.pointStyle,l,c,f)}else r||d.strokeRect(t,n,y,p),d.fillRect(t,n,y,p);d.restore()}}(S,C,i),b[r].left=S,b[r].top=C,f=i,m=D,v=y+(g=p/2)+S,_=C+g,d.fillText(f.text,v,_),f.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(v,_),d.lineTo(v+m,_),d.stroke()),w?c.x+=k+n.padding:c.y+=x})}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,o=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=t.x,a=t.y;if(r>=e.left&&r<=e.right&&a>=e.top&&a<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&a>=u.top&&a<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),o=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),o=!0;break}}}return o}});e.exports={id:"legend",_element:c,beforeInit:function(t){var e=t.options.legend;e&&o(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(s.mergeIf(e,r.global.legend),n?(l.configure(t,n,e),n.options=e):o(t,e)):n&&(l.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},{26:26,27:27,31:31,46:46}],53:[function(t,e,n){"use strict";function i(t,e){var n=new u({ctx:t.ctx,options:e,chart:t});s.configure(t,n,e),s.addBox(t,n),t.titleBlock=n}var o=t(26),r=t(27),a=t(46),s=t(31),l=a.noop;o._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var u=r.extend({initialize:function(t){a.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:l,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:l,beforeSetDimensions:l,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:l,beforeBuildLabels:l,buildLabels:l,afterBuildLabels:l,beforeFit:l,fit:function(){var t=this,e=a.valueOrDefault,n=t.options,i=n.display,r=e(n.fontSize,o.global.defaultFontSize),s=t.minSize,l=a.isArray(n.text)?n.text.length:1,u=a.options.toLineHeight(n.lineHeight,r),c=i?l*u+2*n.padding:0;t.isHorizontal()?(s.width=t.maxWidth,s.height=c):(s.width=c,s.height=t.maxHeight),t.width=s.width,t.height=s.height},afterFit:l,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=a.valueOrDefault,i=t.options,r=o.global;if(i.display){var s,l,u,c=n(i.fontSize,r.defaultFontSize),d=n(i.fontStyle,r.defaultFontStyle),h=n(i.fontFamily,r.defaultFontFamily),f=a.fontString(c,d,h),p=a.options.toLineHeight(i.lineHeight,c),m=p/2+i.padding,g=0,v=t.top,y=t.left,b=t.bottom,w=t.right;e.fillStyle=n(i.fontColor,r.defaultFontColor),e.font=f,t.isHorizontal()?(l=y+(w-y)/2,u=v+m,s=w-y):(l="left"===i.position?y+m:w-m,u=v+(b-v)/2,s=b-v,g=Math.PI*("left"===i.position?-.5:.5)),e.save(),e.translate(l,u),e.rotate(g),e.textAlign="center",e.textBaseline="middle";var x=i.text;if(a.isArray(x))for(var _=0,D=0;D<x.length;++D)e.fillText(x[D],0,_,s),_+=p;else e.fillText(x,0,0,s);e.restore()}}});e.exports={id:"title",_element:u,beforeInit:function(t){var e=t.options.title;e&&i(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(a.mergeIf(e,o.global.title),n?(s.configure(t,n,e),n.options=e):i(t,e)):n&&(s.removeBox(t,n),delete t.titleBlock)}}},{26:26,27:27,31:31,46:46}],54:[function(t,e,n){"use strict";var i=t(33),o=t(34);e.exports=function(){var t=i.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,o=n.isHorizontal();return i.yLabels&&!o?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,o=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(o?0:1),1);if(null!=t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){t=n||t;var a=i.getLabels().indexOf(t);e=-1!==a?a:e}if(i.isHorizontal()){var s=i.width/r,l=s*(e-i.minIndex);return o&&(l+=s/2),i.left+Math.round(l)}var u=i.height/r,c=u*(e-i.minIndex);return o&&(c+=u/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),o=e.isHorizontal(),r=(o?e.width:e.height)/i;return t-=o?e.left:e.top,n&&(t-=r/2),(t<=0?0:Math.round(t/r))+e.minIndex},getBasePixel:function(){return this.bottom}});o.registerScaleType("category",t,{position:"bottom"})}},{33:33,34:34}],55:[function(t,e,n){"use strict";var i=t(26),o=t(46),r=t(34),a=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){function t(t){return a?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,i=e.chart,r=i.data.datasets,a=e.isHorizontal();e.min=null,e.max=null;var s=n.stacked;if(void 0===s&&o.each(r,function(e,n){if(!s){var o=i.getDatasetMeta(n);i.isDatasetVisible(n)&&t(o)&&void 0!==o.stack&&(s=!0)}}),n.stacked||s){var l={};o.each(r,function(r,a){var s=i.getDatasetMeta(a),u=[s.type,void 0===n.stacked&&void 0===s.stack?a:"",s.stack].join(".");void 0===l[u]&&(l[u]={positiveValues:[],negativeValues:[]});var c=l[u].positiveValues,d=l[u].negativeValues;i.isDatasetVisible(a)&&t(s)&&o.each(r.data,function(t,i){var o=+e.getRightValue(t);isNaN(o)||s.data[i].hidden||(c[i]=c[i]||0,d[i]=d[i]||0,n.relativePoints?c[i]=100:o<0?d[i]+=o:c[i]+=o)})}),o.each(l,function(t){var n=t.positiveValues.concat(t.negativeValues),i=o.min(n),r=o.max(n);e.min=null===e.min?i:Math.min(e.min,i),e.max=null===e.max?r:Math.max(e.max,r)})}else o.each(r,function(n,r){var a=i.getDatasetMeta(r);i.isDatasetVisible(r)&&t(a)&&o.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||a.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i))})});e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=o.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,n=e.start,i=+e.getRightValue(t),o=e.end-n;return e.isHorizontal()?e.left+e.width/o*(i-n):e.bottom-e.height/o*(i-n)},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=n?e.width:e.height,o=(n?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*o},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});r.registerScaleType("linear",n,e)}},{26:26,34:34,35:35,46:46}],56:[function(t,e,n){"use strict";var i=t(46),o=t(33);e.exports=function(t){var e=i.noop;t.LinearScaleBase=o.extend({getRightValue:function(t){return"string"==typeof t?+t:o.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),o=i.sign(t.max);n<0&&o<0?t.max=0:0<n&&0<o&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==a&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),o={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,o,r,a=[];if(t.stepSize&&0<t.stepSize)r=t.stepSize;else{var s=i.niceNum(e.max-e.min,!1);r=i.niceNum(s/(t.maxTicks-1),!0),void 0!==(o=t.precision)&&(n=Math.pow(10,o),r=Math.ceil(r*n)/n)}var l=Math.floor(e.min/r)*r,u=Math.ceil(e.max/r)*r;i.isNullOrUndef(t.min)||i.isNullOrUndef(t.max)||!t.stepSize||i.almostWhole((t.max-t.min)/t.stepSize,r/1e3)&&(l=t.min,u=t.max);var c=(u-l)/r;c=i.almostEquals(c,Math.round(c),r/1e3)?Math.round(c):Math.ceil(c),r<(o=1)&&(o=Math.pow(10,1-Math.floor(i.log10(r))),l=Math.round(l*o)/o,u=Math.round(u*o)/o),a.push(void 0!==t.min?t.min:l);for(var d=1;d<c;++d)a.push(Math.round((l+d*r)*o)/o);return a.push(void 0!==t.max?t.max:u),a}(o,t);t.handleDirectionalChanges(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.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),o.prototype.convertTicksToLabels.call(t)}})}},{33:33,46:46}],57:[function(t,e,n){"use strict";var i=t(46),o=t(33),r=t(34),a=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.logarithmic}},n=o.extend({determineDataLimits:function(){function t(t){return a?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,o=e.chart,r=o.data.datasets,a=e.isHorizontal();e.min=null,e.max=null,e.minNotZero=null;var s=n.stacked;if(void 0===s&&i.each(r,function(e,n){if(!s){var i=o.getDatasetMeta(n);o.isDatasetVisible(n)&&t(i)&&void 0!==i.stack&&(s=!0)}}),n.stacked||s){var l={};i.each(r,function(r,a){var s=o.getDatasetMeta(a),u=[s.type,void 0===n.stacked&&void 0===s.stack?a:"",s.stack].join(".");o.isDatasetVisible(a)&&t(s)&&(void 0===l[u]&&(l[u]=[]),i.each(r.data,function(t,n){var i=l[u],o=+e.getRightValue(t);isNaN(o)||s.data[n].hidden||o<0||(i[n]=i[n]||0,i[n]+=o)}))}),i.each(l,function(t){if(0<t.length){var n=i.min(t),o=i.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?o:Math.max(e.max,o)}})}else i.each(r,function(n,r){var a=o.getDatasetMeta(r);o.isDatasetVisible(r)&&t(a)&&i.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||a.data[n].hidden||i<0||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i),0!==i&&(null===e.minNotZero||i<e.minNotZero)&&(e.minNotZero=i))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=i.valueOrDefault;t.min=n(e.min,t.min),t.max=n(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(i.log10(t.min))-1),t.max=Math.pow(10,Math.floor(i.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(i.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(i.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(i.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),o={min:e.min,max:e.max},r=t.ticks=function(t,e){var n,o,r=[],a=i.valueOrDefault,s=a(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,l));0===s?(n=Math.floor(i.log10(e.minNotZero)),o=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(s),s=o*Math.pow(10,n)):(n=Math.floor(i.log10(s)),o=Math.floor(s/Math.pow(10,n)));for(var c=n<0?Math.pow(10,Math.abs(n)):1;r.push(s),10==++o&&(o=1,c=0<=++n?1:c),s=Math.round(o*Math.pow(10,n)*c)/c,n<l||n===l&&o<u;);var d=a(t.max,s);return r.push(d),r}(o,t);t.max=i.max(r),t.min=i.min(r),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),o.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(i.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(e){var n,o,r,a,s,l=this,u=l.options.ticks.reverse,c=i.log10,d=l._getFirstTickValue(l.minNotZero),h=0;return e=+l.getRightValue(e),s=u?(r=l.end,a=l.start,-1):(r=l.start,a=l.end,1),o=l.isHorizontal()?(n=l.width,u?l.right:l.left):(n=l.height,s*=-1,u?l.top:l.bottom),e!==r&&(0===r&&(n-=h=i.getValueOrDefault(l.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=d),0!==e&&(h+=n/(c(a)-c(r))*(c(e)-c(r))),o+=s*h),o},getValueForPixel:function(e){var n,o,r,a,s=this,l=s.options.ticks.reverse,u=i.log10,c=s._getFirstTickValue(s.minNotZero);if(r=l?(o=s.end,s.start):(o=s.start,s.end),(a=s.isHorizontal()?(n=s.width,l?s.right-e:e-s.left):(n=s.height,l?e-s.top:s.bottom-e))!==o){if(0===o){var d=i.getValueOrDefault(s.options.ticks.fontSize,t.defaults.global.defaultFontSize);a-=d,n-=d,o=c}a*=u(r)-u(o),a/=n,a=Math.pow(10,u(o)+a)}return a}});r.registerScaleType("logarithmic",n,e)}},{33:33,34:34,35:35,46:46}],58:[function(t,e,n){"use strict";var i=t(26),o=t(46),r=t(34),a=t(35);e.exports=function(t){function e(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function n(t){var e=t.options.pointLabels,n=o.valueOrDefault(e.fontSize,c.defaultFontSize),i=o.valueOrDefault(e.fontStyle,c.defaultFontStyle),r=o.valueOrDefault(e.fontFamily,c.defaultFontFamily);return{size:n,style:i,family:r,font:o.fontString(n,i,r)}}function s(t,e,n,i,o){return t===i||t===o?{start:e-n/2,end:e+n/2}:t<i||o<t?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function l(t,e,n,i){if(o.isArray(e))for(var r=n.y,a=1.5*i,s=0;s<e.length;++s)t.fillText(e[s],n.x,r),r+=a;else t.fillText(e,n.x,n.y)}function u(t){return o.isNumber(t)?t:0}var c=i.global,d={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},h=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=o.min([t.height,t.width]),r=o.valueOrDefault(n.fontSize,c.defaultFontSize);t.drawingArea=e.display?i/2-(r/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;o.each(e.data.datasets,function(r,a){if(e.isDatasetVisible(a)){var s=e.getDatasetMeta(a);o.each(r.data,function(e,o){var r=+t.getRightValue(e);isNaN(r)||s.data[o].hidden||(n=Math.min(r,n),i=Math.max(r,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=o.valueOrDefault(t.fontSize,c.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,i;this.options.pointLabels.display?function(t){var i,r,a,l=n(t),u=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},d={};t.ctx.font=l.font,t._pointLabelSizes=[];var h,f,p,m=e(t);for(i=0;i<m;i++){a=t.getPointPosition(i,u),h=t.ctx,f=l.size,p=t.pointLabels[i]||"",r=o.isArray(p)?{w:o.longestText(h,h.font,p),h:p.length*f+1.5*(p.length-1)*f}:{w:h.measureText(p).width,h:f},t._pointLabelSizes[i]=r;var g=t.getIndexAngle(i),v=o.toDegrees(g)%360,y=s(v,a.x,r.w,0,180),b=s(v,a.y,r.h,90,270);y.start<c.l&&(c.l=y.start,d.l=g),y.end>c.r&&(c.r=y.end,d.r=g),b.start<c.t&&(c.t=b.start,d.t=g),b.end>c.b&&(c.b=b.end,d.b=g)}t.setReductions(u,c,d)}(this):(t=this,i=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(i),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),o=Math.max(e.r-this.width,0)/Math.sin(n.r),r=-e.t/Math.cos(n.t),a=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=u(i),o=u(o),r=u(r),a=u(a),this.drawingArea=Math.min(Math.round(t-(i+o)/2),Math.round(t-(r+a)/2)),this.setCenterPoint(i,o,r,a)},setCenterPoint:function(t,e,n,i){var o=this,r=o.width-e-o.drawingArea,a=t+o.drawingArea,s=n+o.drawingArea,l=o.height-i-o.drawingArea;o.xCenter=Math.round((a+r)/2+o.left),o.yCenter=Math.round((s+l)/2+o.top)},getIndexAngle:function(t){return t*(2*Math.PI/e(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var t=this,i=t.options,r=i.gridLines,a=i.ticks,s=o.valueOrDefault;if(i.display){var u=t.ctx,d=this.getIndexAngle(0),h=s(a.fontSize,c.defaultFontSize),f=s(a.fontStyle,c.defaultFontStyle),p=s(a.fontFamily,c.defaultFontFamily),m=o.fontString(h,f,p);o.each(t.ticks,function(n,i){if(0<i||a.reverse){var l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[i]);if(r.display&&0!==i&&function(t,n,i,r){var a=t.ctx;if(a.strokeStyle=o.valueAtIndexOrDefault(n.color,r-1),a.lineWidth=o.valueAtIndexOrDefault(n.lineWidth,r-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),a.closePath(),a.stroke();else{var s=e(t);if(0===s)return;a.beginPath();var l=t.getPointPosition(0,i);a.moveTo(l.x,l.y);for(var u=1;u<s;u++)l=t.getPointPosition(u,i),a.lineTo(l.x,l.y);a.closePath(),a.stroke()}}(t,r,l,i),a.display){var f=s(a.fontColor,c.defaultFontColor);if(u.font=m,u.save(),u.translate(t.xCenter,t.yCenter),u.rotate(d),a.showLabelBackdrop){var p=u.measureText(n).width;u.fillStyle=a.backdropColor,u.fillRect(-p/2-a.backdropPaddingX,-l-h/2-a.backdropPaddingY,p+2*a.backdropPaddingX,h+2*a.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=f,u.fillText(n,0,-l),u.restore()}}}),(i.angleLines.display||i.pointLabels.display)&&function(t){var i=t.ctx,r=t.options,a=r.angleLines,s=r.pointLabels;i.lineWidth=a.lineWidth,i.strokeStyle=a.color;var u,d,h,f,p=t.getDistanceFromCenterForValue(r.ticks.reverse?t.min:t.max),m=n(t);i.textBaseline="top";for(var g=e(t)-1;0<=g;g--){if(a.display){var v=t.getPointPosition(g,p);i.beginPath(),i.moveTo(t.xCenter,t.yCenter),i.lineTo(v.x,v.y),i.stroke(),i.closePath()}if(s.display){var y=t.getPointPosition(g,p+5),b=o.valueAtIndexOrDefault(s.fontColor,g,c.defaultFontColor);i.font=m.font,i.fillStyle=b;var w=t.getIndexAngle(g),x=o.toDegrees(w);i.textAlign=0===(f=x)||180===f?"center":f<180?"left":"right",u=x,d=t._pointLabelSizes[g],h=y,90===u||270===u?h.y-=d.h/2:(270<u||u<90)&&(h.y-=d.h),l(i,t.pointLabels[g]||"",y,m.size)}}}(t)}}});r.registerScaleType("radialLinear",h,d)}},{26:26,34:34,35:35,46:46}],59:[function(t,e,n){"use strict";function i(t,e){return t-e}function o(t){var e,n,i,o={},r=[];for(e=0,n=t.length;e<n;++e)o[i=t[e]]||(o[i]=!0,r.push(i));return r}function r(t,e,n,i){var o=function(t,e,n){for(var i,o,r,a=0,s=t.length-1;0<=a&&a<=s;){if(o=t[(i=a+s>>1)-1]||null,r=t[i],!o)return{lo:null,hi:r};if(r[e]<n)a=i+1;else{if(!(o[e]>n))return{lo:o,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=o.lo?o.hi?o.lo:t[t.length-2]:t[0],a=o.lo?o.hi?o.hi:t[t.length-1]:t[1],s=a[e]-r[e],l=s?(n-r[e])/s:0,u=(a[i]-r[i])*l;return r[i]+u}function a(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?c(t,i):(t instanceof c||(t=c(t)),t.isValid()?t:"function"==typeof i?i(t):t)}function s(t,e){if(h.isNullOrUndef(t))return null;var n=e.options.time,i=a(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function l(t){for(var e=y.indexOf(t)+1,n=y.length;e<n;++e)if(v[y[e]].common)return y[e]}function u(t,e,n,i){var o,r=i.time,a=r.unit||function(t,e,n,i){var o,r,a,s=y.length;for(o=y.indexOf(t);o<s-1;++o)if(a=(r=v[y[o]]).steps?r.steps[r.steps.length-1]:g,r.common&&Math.ceil((n-e)/(a*r.size))<=i)return y[o];return y[s-1]}(r.minUnit,t,e,n),s=l(a),u=h.valueOrDefault(r.stepSize,r.unitStepSize),d="week"===a&&r.isoWeekday,f=i.ticks.major.enabled,p=v[a],m=c(t),b=c(e),w=[];for(u||(u=function(t,e,n,i){var o,r,a,s=e-t,l=v[n],u=l.size,c=l.steps;if(!c)return Math.ceil(s/(i*u));for(o=0,r=c.length;o<r&&(a=c[o],!(Math.ceil(s/(u*a))<=i));++o);return a}(t,e,a,n)),d&&(m=m.isoWeekday(d),b=b.isoWeekday(d)),m=m.startOf(d?"day":a),(b=b.startOf(d?"day":a))<e&&b.add(1,a),o=c(m),f&&s&&!d&&!r.round&&(o.startOf(s),o.add(~~((m-o)/(p.size*u))*u,a));o<b;o.add(u,a))w.push(+o);return w.push(+o),w}var c=t(1);c="function"==typeof c?c:window.moment;var d=t(26),h=t(46),f=t(33),p=t(34),m=Number.MIN_SAFE_INTEGER||-9007199254740991,g=Number.MAX_SAFE_INTEGER||9007199254740991,v={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},y=Object.keys(v);e.exports=function(){var t=f.extend({initialize:function(){if(!c)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),f.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),f.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),f.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,r,a,l,u=this,d=u.chart,f=u.options.time,p=f.unit||"day",v=g,y=m,b=[],w=[],x=[];for(t=0,n=d.data.labels.length;t<n;++t)x.push(s(d.data.labels[t],u));for(t=0,n=(d.data.datasets||[]).length;t<n;++t)if(d.isDatasetVisible(t))if(a=d.data.datasets[t].data,h.isObject(a[0]))for(w[t]=[],e=0,r=a.length;e<r;++e)l=s(a[e],u),b.push(l),w[t][e]=l;else b.push.apply(b,x),w[t]=x.slice(0);else w[t]=[];x.length&&(x=o(x).sort(i),v=Math.min(v,x[0]),y=Math.max(y,x[x.length-1])),b.length&&(b=o(b).sort(i),v=Math.min(v,b[0]),y=Math.max(y,b[b.length-1])),v=s(f.min,u)||v,y=s(f.max,u)||y,v=v===g?+c().startOf(p):v,y=y===m?+c().endOf(p)+1:y,u.min=Math.min(v,y),u.max=Math.max(v+1,y),u._horizontal=u.isHorizontal(),u._table=[],u._timestamps={data:b,datasets:w,labels:x}},buildTicks:function(){var t,e,n,i,o,d,h,f,p,m,g,b,w=this,x=w.min,_=w.max,D=w.options,k=D.time,S=[],C=[];switch(D.ticks.source){case"data":S=w._timestamps.data;break;case"labels":S=w._timestamps.labels;break;case"auto":default:S=u(x,_,w.getLabelCapacity(x),D)}for("ticks"===D.bounds&&S.length&&(x=S[0],_=S[S.length-1]),x=s(k.min,w)||x,_=s(k.max,w)||_,t=0,e=S.length;t<e;++t)x<=(n=S[t])&&n<=_&&C.push(n);return w.min=x,w.max=_,w._unit=k.unit||function(t,e,n,i){var o,r,a=c.duration(c(i).diff(c(n)));for(o=y.length-1;o>=y.indexOf(e);o--)if(r=y[o],v[r].common&&a.as(r)>=t.length)return r;return y[e?y.indexOf(e):0]}(C,k.minUnit,w.min,w.max),w._majorUnit=l(w._unit),w._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var o,r,a,s,l,u=[],c=[e];for(o=0,r=t.length;o<r;++o)e<(s=t[o])&&s<n&&c.push(s);for(c.push(n),o=0,r=c.length;o<r;++o)l=c[o+1],a=c[o-1],s=c[o],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:o/(r-1)});return u}(w._timestamps.data,x,_,D.distribution),w._offsets=(i=w._table,o=C,d=x,h=_,b=g=0,(f=D).offset&&o.length&&(f.time.min||(p=1<o.length?o[1]:h,m=o[0],g=(r(i,"time",p,"pos")-r(i,"time",m,"pos"))/2),f.time.max||(p=o[o.length-1],m=1<o.length?o[o.length-2]:d,b=(r(i,"time",p,"pos")-r(i,"time",m,"pos"))/2)),{left:g,right:b}),w._labelFormat=function(t,e){var n,i,o,r=t.length;for(n=0;n<r;n++){if(0!==(i=a(t[n],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(o=!0)}return o?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(w._timestamps.data,k),function(t,e){var n,i,o,r,a=[];for(n=0,i=t.length;n<i;++n)o=t[n],r=!!e&&o===+c(o).startOf(e),a.push({value:o,major:r});return a}(C,w._majorUnit)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.options.time,o=n.labels&&t<n.labels.length?n.labels[t]:"",r=n.datasets[e].data[t];return h.isObject(r)&&(o=this.getRightValue(r)),i.tooltipFormat?a(o,i).format(i.tooltipFormat):"string"==typeof o?o:a(o,i).format(this._labelFormat)},tickFormatFunction:function(t,e,n,i){var o=this.options,r=t.valueOf(),a=o.time.displayFormats,s=a[this._unit],l=this._majorUnit,u=a[l],c=t.clone().startOf(l).valueOf(),d=o.ticks.major,f=d.enabled&&l&&u&&r===c,p=t.format(i||(f?u:s)),m=f?d:o.ticks.minor,g=h.valueOrDefault(m.callback,m.userCallback);return g?g(p,e,n):p},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(c(t[e].value),e,t));return i},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,o=r(e._table,"time",t,"pos");return i+n*(e._offsets.left+o)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=s(t,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,o=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,a=r(e._table,"pos",o,"time");return c(a)},getLabelWidth:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=h.toRadians(e.maxRotation),o=Math.cos(i),r=Math.sin(i);return n*o+h.valueOrDefault(e.fontSize,d.global.defaultFontSize)*r},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,n=this.tickFormatFunction(c(t),0,[],e),i=this.getLabelWidth(n),o=this.isHorizontal()?this.width:this.height,r=Math.floor(o/i);return 0<r?r:1}});p.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,26:26,33:33,34:34,46:46}]},{},[7])(7)})},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"3MVc":function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,n,r,a){var s=i(e),l=o[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},"4klR":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n("TqGs"),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=function(){function t(){i(this,t)}return r(t,[{key:"init",value:function(){}},{key:"getId",value:function(){return null}},{key:"setContainer",value:function(t){if(!(t instanceof o.a))throw new Error("Plugin was given an invalid KimaiContainer");this._core=t}},{key:"getContainer",value:function(){return this._core}}]),t}();e.a=a},"5pSg":function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=103)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},103:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(104);var i=n(1);i.datepickerLocale("de","de",{closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("de",{buttonText:{year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(t){return"+ weitere "+t},noEventsMessage:"Keine Ereignisse anzuzeigen",dayOfMonthFormat:"ddd DD.MM."})},104:function(t,e,n){!function(t,e){!function(t){function e(t,e,n,i){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[n][0]:o[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))}()}})})},"6/V7":function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=189)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},189:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(190);var i=n(1);i.datepickerLocale("ru","ru",{closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("ru",{buttonText:{month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},allDayText:"Весь день",eventLimitText:function(t){return"+ ещё "+t},noEventsMessage:"Нет событий для отображения"})},190:function(t,e,n){!function(t,e){!function(t){function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var o={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",MM:есяц_месяцаесяцев",yy:"год_годает"};return"m"===i?n?"минута":"минуту":t+" "+e(o[i],+t)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n(0))}()}})})},"7Rwe":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n("PJh5"),r=n.n(o),a=n("awG4"),s=n("+NP7"),l=n("TqGs"),u=n("ztJp"),c=n("sZyP"),d=n("Eg81"),h=n("YVa9"),f=n("/TWM"),p=n("WByX"),m=n("9psQ"),g=n("iNbH"),v=n("T4Pq"),y=n("hMlo"),b=n("IArr"),w=n("RvrG"),x=n("mF88"),_=n("O5V4"),D=n("ddt0"),k=n("Orr0"),S=n("Eq4i"),C=n("y84T"),M=n("ucxI"),T=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),E=function(){function t(e,n){i(this,t),r.a.locale(e.locale);var o=new l.a(new s.a(e),new a.a(n));o.registerPlugin(new D.a),o.registerPlugin(new g.a),o.registerPlugin(new S.a),o.registerPlugin(new u.a("[data-since]")),o.registerPlugin(new c.a("data-column-visibility")),o.registerPlugin(new d.a),o.registerPlugin(new h.a),o.registerPlugin(new f.a(".content-wrapper")),o.registerPlugin(new y.a(".content-wrapper")),o.registerPlugin(new p.a("table.dataTable")),o.registerPlugin(new m.a),o.registerPlugin(new v.a("select[data-related-select]")),o.registerPlugin(new b.a(".alternative-link")),o.registerPlugin(new w.a(".modal-ajax-form")),o.registerPlugin(new _.a("li.notifications-menu")),o.registerPlugin(new x.a("li.messages-menu","li.messages-menu-empty")),o.registerPlugin(new k.a("api-link")),o.registerPlugin(new C.a(".js-autocomplete")),o.registerPlugin(new M.a("toolbar-action")),o.getPlugin("event").trigger("kimai.pluginRegister",{kimai:o}),o.getPlugins().map(function(t){t.init()}),o.getPlugin("event").trigger("kimai.initialized",{kimai:o}),this.kimai=o}return T(t,[{key:"getKimai",value:function(){return this.kimai}}]),t}();e.a=E},"7t+N":function(t,e,n){var i,o;/*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";function a(t,e,n){n=n||ht;var i,o,r=n.createElement("script");if(r.text=t,e)for(i in Ct)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function s(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?yt[bt.call(t)]||"object":typeof t}function l(t){var e=!!t&&"length"in t&&t.length,n=s(t);return!kt(t)&&!St(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function c(t,e,n){return kt(e)?Mt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?Mt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?Mt.grep(t,function(t){return vt.call(e,t)>-1!==n}):Mt.filter(e,t,n)}function d(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function h(t){var e={};return Mt.each(t.match(Ft)||[],function(t,n){e[n]=!0}),e}function f(t){return t}function p(t){throw t}function m(t,e,n,i){var o;try{t&&kt(o=t.promise)?o.call(t).done(e).fail(n):t&&kt(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function g(){ht.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Mt.ready()}function v(t,e){return e.toUpperCase()}function y(t){return t.replace(Bt,"ms-").replace(Wt,v)}function b(){this.expando=Mt.expando+b.uid++}function w(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:qt.test(t)?JSON.parse(t):t)}function x(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Gt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=w(n)}catch(t){}Ut.set(t,e,n)}else n=void 0;return n}function _(t,e,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return Mt.css(t,e,"")},l=s(),u=n&&n[3]||(Mt.cssNumber[e]?"":"px"),c=t.nodeType&&(Mt.cssNumber[e]||"px"!==u&&+l)&&Zt.exec(Mt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)Mt.style(t,e,c+u),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),c/=r;c*=2,Mt.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}function D(t){var e,n=t.ownerDocument,i=t.nodeName,o=ie[i];return o||(e=n.body.appendChild(n.createElement(i)),o=Mt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),ie[i]=o,o)}function k(t,e){for(var n,i,o=[],r=0,a=t.length;r<a;r++)i=t[r],i.style&&(n=i.style.display,e?("none"===n&&(o[r]=$t.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ee(i)&&(o[r]=D(i))):"none"!==n&&(o[r]="none",$t.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}function S(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&u(t,e)?Mt.merge([t],n):n}function C(t,e){for(var n=0,i=t.length;n<i;n++)$t.set(t[n],"globalEval",!e||$t.get(e[n],"globalEval"))}function M(t,e,n,i,o){for(var r,a,l,u,c,d,h=e.createDocumentFragment(),f=[],p=0,m=t.length;p<m;p++)if((r=t[p])||0===r)if("object"===s(r))Mt.merge(f,r.nodeType?[r]:r);else if(le.test(r)){for(a=a||h.appendChild(e.createElement("div")),l=(re.exec(r)||["",""])[1].toLowerCase(),u=se[l]||se._default,a.innerHTML=u[1]+Mt.htmlPrefilter(r)+u[2],d=u[0];d--;)a=a.lastChild;Mt.merge(f,a.childNodes),a=h.firstChild,a.textContent=""}else f.push(e.createTextNode(r));for(h.textContent="",p=0;r=f[p++];)if(i&&Mt.inArray(r,i)>-1)o&&o.push(r);else if(c=Qt(r),a=S(h.appendChild(r),"script"),c&&C(a),n)for(d=0;r=a[d++];)ae.test(r.type||"")&&n.push(r);return h}function T(){return!0}function E(){return!1}function P(t,e){return t===I()==("focus"===e)}function I(){try{return ht.activeElement}catch(t){}}function O(t,e,n,i,o,r){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)O(t,s,n,i,e[s],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=E;else if(!o)return t;return 1===r&&(a=o,o=function(t){return Mt().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=Mt.guid++)),t.each(function(){Mt.event.add(this,e,o,i,n)})}function L(t,e,n){if(!n)return void(void 0===$t.get(t,e)&&Mt.event.add(t,e,T));$t.set(t,e,!1),Mt.event.add(t,e,{namespace:!1,handler:function(t){var i,o,r=$t.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(Mt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=pt.call(arguments),$t.set(this,e,r),i=n(this,e),this[e](),o=$t.get(this,e),r!==o||i?$t.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else r.length&&($t.set(this,e,{value:Mt.event.trigger(Mt.extend(r[0],Mt.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})}function R(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?Mt(t).children("tbody")[0]||t:t}function A(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function H(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function N(t,e){var n,i,o,r,a,s,l,u;if(1===e.nodeType){if($t.hasData(t)&&(r=$t.access(t),a=$t.set(e,r),u=r.events)){delete a.handle,a.events={};for(o in u)for(n=0,i=u[o].length;n<i;n++)Mt.event.add(e,o,u[o][n])}Ut.hasData(t)&&(s=Ut.access(t),l=Mt.extend({},s),Ut.set(e,l))}}function F(t,e){var n=e.nodeName.toLowerCase();"input"===n&&oe.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Y(t,e,n,i){e=mt.apply([],e);var o,r,s,l,u,c,d=0,h=t.length,f=h-1,p=e[0],m=kt(p);if(m||h>1&&"string"==typeof p&&!Dt.checkClone&&pe.test(p))return t.each(function(o){var r=t.eq(o);m&&(e[0]=p.call(this,o,r.html())),Y(r,e,n,i)});if(h&&(o=M(e,t[0].ownerDocument,!1,t,i),r=o.firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=Mt.map(S(o,"script"),A),l=s.length;d<h;d++)u=o,d!==f&&(u=Mt.clone(u,!0,!0),l&&Mt.merge(s,S(u,"script"))),n.call(t[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,Mt.map(s,H),d=0;d<l;d++)u=s[d],ae.test(u.type||"")&&!$t.access(u,"globalEval")&&Mt.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Mt._evalUrl&&!u.noModule&&Mt._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")}):a(u.textContent.replace(me,""),u,c))}return t}function j(t,e,n){for(var i,o=e?Mt.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||Mt.cleanData(S(i)),i.parentNode&&(n&&Qt(i)&&C(S(i,"script")),i.parentNode.removeChild(i));return t}function z(t,e,n){var i,o,r,a,s=t.style;return n=n||ve(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||Qt(t)||(a=Mt.style(t,e)),!Dt.pixelBoxStyles()&&ge.test(a)&&ye.test(e)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function B(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function W(t){for(var e=t[0].toUpperCase()+t.slice(1),n=be.length;n--;)if((t=be[n]+e)in we)return t}function V(t){var e=Mt.cssProps[t]||xe[t];return e||(t in we?t:xe[t]=W(t)||t)}function $(t,e,n){var i=Zt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function U(t,e,n,i,o,r){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=Mt.css(t,n+Xt[a],!0,o)),i?("content"===n&&(l-=Mt.css(t,"padding"+Xt[a],!0,o)),"margin"!==n&&(l-=Mt.css(t,"border"+Xt[a]+"Width",!0,o))):(l+=Mt.css(t,"padding"+Xt[a],!0,o),"padding"!==n?l+=Mt.css(t,"border"+Xt[a]+"Width",!0,o):s+=Mt.css(t,"border"+Xt[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-s-.5))||0),l}function q(t,e,n){var i=ve(t),o=!Dt.boxSizingReliable()||n,r=o&&"border-box"===Mt.css(t,"boxSizing",!1,i),a=r,s=z(t,e,i),l="offset"+e[0].toUpperCase()+e.slice(1);if(ge.test(s)){if(!n)return s;s="auto"}return(!Dt.boxSizingReliable()&&r||"auto"===s||!parseFloat(s)&&"inline"===Mt.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===Mt.css(t,"boxSizing",!1,i),(a=l in t)&&(s=t[l])),(s=parseFloat(s)||0)+U(t,e,n||(r?"border":"content"),a,i,s)+"px"}function G(t,e,n,i,o){return new G.prototype.init(t,e,n,i,o)}function J(){Me&&(!1===ht.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(J):n.setTimeout(J,Mt.fx.interval),Mt.fx.tick())}function Z(){return n.setTimeout(function(){Ce=void 0}),Ce=Date.now()}function X(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)n=Xt[i],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function K(t,e,n){for(var i,o=(et.tweeners[e]||[]).concat(et.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,e,t))return i}function Q(t,e,n){var i,o,r,a,s,l,u,c,d="width"in e||"height"in e,h=this,f={},p=t.style,m=t.nodeType&&ee(t),g=$t.get(t,"fxshow");n.queue||(a=Mt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,Mt.queue(t,"fx").length||a.empty.fire()})}));for(i in e)if(o=e[i],Te.test(o)){if(delete e[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||Mt.style(t,i)}if((l=!Mt.isEmptyObject(e))||!Mt.isEmptyObject(f)){d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=g&&g.display,null==u&&(u=$t.get(t,"display")),c=Mt.css(t,"display"),"none"===c&&(u?c=u:(k([t],!0),u=t.style.display||u,c=Mt.css(t,"display"),k([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===Mt.css(t,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1;for(i in f)l||(g?"hidden"in g&&(m=g.hidden):g=$t.access(t,"fxshow",{display:u}),r&&(g.hidden=!m),m&&k([t],!0),h.done(function(){m||k([t]),$t.remove(t,"fxshow");for(i in f)Mt.style(t,i,f[i])})),l=K(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}}function tt(t,e){var n,i,o,r,a;for(n in t)if(i=y(n),o=e[i],r=t[n],Array.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(a=Mt.cssHooks[i])&&"expand"in a){r=a.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function et(t,e,n){var i,o,r=0,a=et.prefilters.length,s=Mt.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Ce||Z(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,r=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(r);return s.notifyWith(t,[u,r,n]),r<1&&l?n:(l||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:Mt.extend({},e),opts:Mt.extend(!0,{specialEasing:{},easing:Mt.easing._default},n),originalProperties:e,originalOptions:n,startTime:Ce||Z(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Mt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(tt(c,u.opts.specialEasing);r<a;r++)if(i=et.prefilters[r].call(u,t,c,u.opts))return kt(i.stop)&&(Mt._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return Mt.map(c,K,u),kt(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),Mt.fx.timer(Mt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}function nt(t){return(t.match(Ft)||[]).join(" ")}function it(t){return t.getAttribute&&t.getAttribute("class")||""}function ot(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Ft)||[]:[]}function rt(t,e,n,i){var o;if(Array.isArray(e))Mt.each(e,function(e,o){n||je.test(t)?i(t,o):rt(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==s(e))i(t,e);else for(o in e)rt(t+"["+o+"]",e[o],n,i)}function at(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(Ft)||[];if(kt(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function st(t,e,n,i){function o(s){var l;return r[s]=!0,Mt.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||r[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),o(u),!1)}),l}var r={},a=t===Ke;return o(e.dataTypes[0])||!r["*"]&&o("*")}function lt(t,e){var n,i,o=Mt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&Mt.extend(!0,t,i),t}function ut(t,e,n){for(var i,o,r,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}function ct(t,e,n,i){var o,r,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=u[l+" "+r]||u["* "+r]))for(o in u)if(s=o.split(" "),s[1]===r&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(r=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}var dt=[],ht=n.document,ft=Object.getPrototypeOf,pt=dt.slice,mt=dt.concat,gt=dt.push,vt=dt.indexOf,yt={},bt=yt.toString,wt=yt.hasOwnProperty,xt=wt.toString,_t=xt.call(Object),Dt={},kt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},St=function(t){return null!=t&&t===t.window},Ct={type:!0,src:!0,nonce:!0,noModule:!0},Mt=function(t,e){return new Mt.fn.init(t,e)},Tt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Mt.fn=Mt.prototype={jquery:"3.4.1",constructor:Mt,length:0,toArray:function(){return pt.call(this)},get:function(t){return null==t?pt.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=Mt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Mt.each(this,t)},map:function(t){return this.pushStack(Mt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(pt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:gt,sort:dt.sort,splice:dt.splice},Mt.extend=Mt.fn.extend=function(){var t,e,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||kt(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(u&&i&&(Mt.isPlainObject(i)||(o=Array.isArray(i)))?(n=a[e],r=o&&!Array.isArray(n)?[]:o||Mt.isPlainObject(n)?n:{},o=!1,a[e]=Mt.extend(u,r,i)):void 0!==i&&(a[e]=i));return a},Mt.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==bt.call(t))&&(!(e=ft(t))||"function"==typeof(n=wt.call(e,"constructor")&&e.constructor)&&xt.call(n)===_t)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){a(t,{nonce:e&&e.nonce})},each:function(t,e){var n,i=0;if(l(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(Tt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(l(Object(t))?Mt.merge(n,"string"==typeof t?[t]:t):gt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:vt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,a=!n;o<r;o++)!e(t[o],o)!==a&&i.push(t[o]);return i},map:function(t,e,n){var i,o,r=0,a=[];if(l(t))for(i=t.length;r<i;r++)null!=(o=e(t[r],r,n))&&a.push(o);else for(r in t)null!=(o=e(t[r],r,n))&&a.push(o);return mt.apply([],a)},guid:1,support:Dt}),"function"==typeof Symbol&&(Mt.fn[Symbol.iterator]=dt[Symbol.iterator]),Mt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){yt["[object "+e+"]"]=e.toLowerCase()});var Et=/*!
* Sizzle CSS Selector Engine v2.3.4
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2019-04-08
*/
function(t){function e(t,e,n,i){var o,r,a,s,l,c,h,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&((e?e.ownerDocument||e:Y)!==I&&P(e),e=e||I,L)){if(11!==p&&(l=vt.exec(t)))if(o=l[1]){if(9===p){if(!(a=e.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(f&&(a=f.getElementById(o))&&N(e,a)&&a.id===o)return n.push(a),n}else{if(l[2])return X.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&w.getElementsByClassName&&e.getElementsByClassName)return X.apply(n,e.getElementsByClassName(o)),n}if(w.qsa&&!$[t+" "]&&(!R||!R.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(h=t,f=e,1===p&&ut.test(t)){for((s=e.getAttribute("id"))?s=s.replace(xt,_t):e.setAttribute("id",s=F),c=k(t),r=c.length;r--;)c[r]="#"+s+" "+d(c[r]);h=c.join(","),f=yt.test(t)&&u(e.parentNode)||e}try{return X.apply(n,f.querySelectorAll(h)),n}catch(e){$(t,!0)}finally{s===F&&e.removeAttribute("id")}}}return C(t.replace(at,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[F]=!0,t}function o(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&kt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function d(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,o=e.next,r=o||i,a=n&&"parentNode"===r,s=z++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,l){var u,c,d,h=[j,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(d=e[F]||(e[F]={}),c=d[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[r])&&u[0]===j&&u[1]===s)return h[2]=u[2];if(c[r]=h,h[2]=t(e,n,l))return!0}return!1}}function f(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function p(t,n,i){for(var o=0,r=n.length;o<r;o++)e(t,n[o],i);return i}function m(t,e,n,i,o){for(var r,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(r=t[s])&&(n&&!n(r,i,o)||(a.push(r),u&&e.push(s)));return a}function g(t,e,n,o,r,a){return o&&!o[F]&&(o=g(o)),r&&!r[F]&&(r=g(r,a)),i(function(i,a,s,l){var u,c,d,h=[],f=[],g=a.length,v=i||p(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?v:m(v,h,t,s,l),b=n?r||(i?t:g||o)?[]:a:y;if(n&&n(y,b,s,l),o)for(u=m(b,f),o(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[f[c]]=!(y[f[c]]=d));if(i){if(r||t){if(r){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);r(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=r?Q(i,d):h[c])>-1&&(i[u]=!(a[u]=d))}}else b=m(b===a?b.splice(g,b.length):b),r?r(null,a,b,l):X.apply(a,b)})}function v(t){for(var e,n,i,o=t.length,r=x.relative[t[0].type],a=r||x.relative[" "],s=r?1:0,l=h(function(t){return t===e},a,!0),u=h(function(t){return Q(e,t)>-1},a,!0),c=[function(t,n,i){var o=!r&&(i||n!==M)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,o}];s<o;s++)if(n=x.relative[t[s].type])c=[h(f(c),n)];else{if(n=x.filter[t[s].type].apply(null,t[s].matches),n[F]){for(i=++s;i<o&&!x.relative[t[i].type];i++);return g(s>1&&f(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(at,"$1"),n,s<i&&v(t.slice(s,i)),i<o&&v(t=t.slice(i)),i<o&&d(t))}c.push(n)}return f(c)}function y(t,n){var o=n.length>0,r=t.length>0,a=function(i,a,s,l,u){var c,d,h,f=0,p="0",g=i&&[],v=[],y=M,b=i||r&&x.find.TAG("*",u),w=j+=null==y?1:Math.random()||.1,_=b.length;for(u&&(M=a===I||a||u);p!==_&&null!=(c=b[p]);p++){if(r&&c){for(d=0,a||c.ownerDocument===I||(P(c),s=!L);h=t[d++];)if(h(c,a||I,s)){l.push(c);break}u&&(j=w)}o&&((c=!h&&c)&&f--,i&&g.push(c))}if(f+=p,o&&p!==f){for(d=0;h=n[d++];)h(g,v,a,s);if(i){if(f>0)for(;p--;)g[p]||v[p]||(v[p]=J.call(l));v=m(v)}X.apply(l,v),u&&!i&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(j=w,M=y),g};return o?i(a):a}var b,w,x,_,D,k,S,C,M,T,E,P,I,O,L,R,A,H,N,F="sizzle"+1*new Date,Y=t.document,j=0,z=0,B=n(),W=n(),V=n(),$=n(),U=function(t,e){return t===e&&(E=!0),0},q={}.hasOwnProperty,G=[],J=G.pop,Z=G.push,X=G.push,K=G.slice,Q=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",et="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",it="\\["+et+"*("+nt+")(?:"+et+"*([*^$|!~]?=)"+et+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+et+"*\\]",ot=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",rt=new RegExp(et+"+","g"),at=new RegExp("^"+et+"+|((?:^|[^\\\\])(?:\\\\.)*)"+et+"+$","g"),st=new RegExp("^"+et+"*,"+et+"*"),lt=new RegExp("^"+et+"*([>+~]|"+et+")"+et+"*"),ut=new RegExp(et+"|>"),ct=new RegExp(ot),dt=new RegExp("^"+nt+"$"),ht={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+et+"?|("+et+")|.)","ig"),wt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Dt=function(){P()},kt=h(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{X.apply(G=K.call(Y.childNodes),Y.childNodes),G[Y.childNodes.length].nodeType}catch(t){X={apply:G.length?function(t,e){Z.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}w=e.support={},D=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!ft.test(e||n&&n.nodeName||"HTML")},P=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:Y;return i!==I&&9===i.nodeType&&i.documentElement?(I=i,O=I.documentElement,L=!D(I),Y!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Dt,!1):n.attachEvent&&n.attachEvent("onunload",Dt)),w.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=o(function(t){return t.appendChild(I.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=gt.test(I.getElementsByClassName),w.getById=o(function(t){return O.appendChild(t).id=F,!I.getElementsByName||!I.getElementsByName(F).length}),w.getById?(x.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&L){var n=e.getElementById(t);return n?[n]:[]}}):(x.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&L){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),x.find.TAG=w.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},x.find.CLASS=w.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&L)return e.getElementsByClassName(t)},A=[],R=[],(w.qsa=gt.test(I.querySelectorAll))&&(o(function(t){O.appendChild(t).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+F+"-]").length||R.push("~="),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+F+"+*").length||R.push(".#.+[+~]")}),o(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=I.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),O.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=gt.test(H=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&o(function(t){w.disconnectedMatch=H.call(t,"*"),H.call(t,"[s!='']:x"),A.push("!=",ot)}),R=R.length&&new RegExp(R.join("|")),A=A.length&&new RegExp(A.join("|")),e=gt.test(O.compareDocumentPosition),N=e||gt.test(O.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return E=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===I||t.ownerDocument===Y&&N(Y,t)?-1:e===I||e.ownerDocument===Y&&N(Y,e)?1:T?Q(T,t)-Q(T,e):0:4&n?-1:1)}:function(t,e){if(t===e)return E=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],l=[e];if(!o||!r)return t===I?-1:e===I?1:o?-1:r?1:T?Q(T,t)-Q(T,e):0;if(o===r)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]===Y?-1:l[i]===Y?1:0},I):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&P(t),w.matchesSelector&&L&&!$[n+" "]&&(!A||!A.test(n))&&(!R||!R.test(n)))try{var i=H.call(t,n);if(i||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){$(n,!0)}return e(n,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&P(t),N(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&P(t);var n=x.attrHandle[e.toLowerCase()],i=n&&q.call(x.attrHandle,e.toLowerCase())?n(t,e,!L):void 0;return void 0!==i?i:w.attributes||!L?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(xt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(E=!w.detectDuplicates,T=!w.sortStable&&t.slice(0),t.sort(U),E){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return T=null,t},_=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=_(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=_(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(rt," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,h,f,p,m=r!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(r){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(h=g,d=h[F]||(h[F]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[t]||[],f=u[0]===j&&u[1],b=f&&u[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[j,f,b];break}}else if(y&&(h=e,d=h[F]||(h[F]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[t]||[],f=u[0]===j&&u[1],b=f),!1===b)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&(d=h[F]||(h[F]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[t]=[j,b]),h!==e)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var o,r=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[F]?r(n):r.length>1?(o=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),a=o.length;a--;)i=Q(t,o[a]),t[i]=!(e[i]=o[a])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=S(t.replace(at,"$1"));return o[F]?i(function(t,e,n,i){for(var r,a=o(t,null,i,[]),s=t.length;s--;)(r=a[s])&&(t[s]=!(e[s]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,wt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:i(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,wt).toLowerCase(),function(e){var n;do{if(n=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},x.pseudos.nth=x.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(b);return c.prototype=x.filters=x.pseudos,x.setFilters=new c,k=e.tokenize=function(t,n){var i,o,r,a,s,l,u,c=W[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=x.preFilter;s;){i&&!(o=st.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=lt.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(at," ")}),s=s.slice(i.length));for(a in x.filter)!(o=ht[a].exec(s))||u[a]&&!(o=u[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):W(t,l).slice(0)},S=e.compile=function(t,e){var n,i=[],o=[],r=V[t+" "];if(!r){for(e||(e=k(t)),n=e.length;n--;)r=v(e[n]),r[F]?i.push(r):o.push(r);r=V(t,y(o,i)),r.selector=t}return r},C=e.select=function(t,e,n,i){var o,r,a,s,l,c="function"==typeof t&&t,h=!i&&k(t=c.selector||t);if(n=n||[],1===h.length){if(r=h[0]=h[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&9===e.nodeType&&L&&x.relative[r[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(bt,wt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=ht.needsContext.test(t)?0:r.length;o--&&(a=r[o],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(bt,wt),yt.test(r[0].type)&&u(e.parentNode)||e))){if(r.splice(o,1),!(t=i.length&&d(r)))return X.apply(n,i),n;break}}return(c||S(t,h))(i,e,!L,n,!e||yt.test(t)&&u(e.parentNode)||e),n},w.sortStable=F.split("").sort(U).join("")===F,w.detectDuplicates=!!E,P(),w.sortDetached=o(function(t){return 1&t.compareDocumentPosition(I.createElement("fieldset"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(tt,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);Mt.find=Et,Mt.expr=Et.selectors,Mt.expr[":"]=Mt.expr.pseudos,Mt.uniqueSort=Mt.unique=Et.uniqueSort,Mt.text=Et.getText,Mt.isXMLDoc=Et.isXML,Mt.contains=Et.contains,Mt.escapeSelector=Et.escape;var Pt=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&Mt(t).is(n))break;i.push(t)}return i},It=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Ot=Mt.expr.match.needsContext,Lt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Mt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Mt.find.matchesSelector(i,t)?[i]:[]:Mt.find.matches(t,Mt.grep(e,function(t){return 1===t.nodeType}))},Mt.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(Mt(t).filter(function(){for(e=0;e<i;e++)if(Mt.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)Mt.find(t,o[e],n);return i>1?Mt.uniqueSort(n):n},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,"string"==typeof t&&Ot.test(t)?Mt(t):t||[],!1).length}});var Rt,At=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Mt.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||Rt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:At.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof Mt?e[0]:e,Mt.merge(this,Mt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),Lt.test(i[1])&&Mt.isPlainObject(e))for(i in e)kt(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return o=ht.getElementById(i[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):kt(t)?void 0!==n.ready?n.ready(t):t(Mt):Mt.makeArray(t,this)}).prototype=Mt.fn,Rt=Mt(ht);var Ht=/^(?:parents|prev(?:Until|All))/,Nt={children:!0,contents:!0,next:!0,prev:!0};Mt.fn.extend({has:function(t){var e=Mt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(Mt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],a="string"!=typeof t&&Mt(t);if(!Ot.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Mt.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?Mt.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?vt.call(Mt(t),this[0]):vt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Mt.uniqueSort(Mt.merge(this.get(),Mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Mt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Pt(t,"parentNode")},parentsUntil:function(t,e,n){return Pt(t,"parentNode",n)},next:function(t){return d(t,"nextSibling")},prev:function(t){return d(t,"previousSibling")},nextAll:function(t){return Pt(t,"nextSibling")},prevAll:function(t){return Pt(t,"previousSibling")},nextUntil:function(t,e,n){return Pt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Pt(t,"previousSibling",n)},siblings:function(t){return It((t.parentNode||{}).firstChild,t)},children:function(t){return It(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(u(t,"template")&&(t=t.content||t),Mt.merge([],t.childNodes))}},function(t,e){Mt.fn[t]=function(n,i){var o=Mt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=Mt.filter(i,o)),this.length>1&&(Nt[t]||Mt.uniqueSort(o),Ht.test(t)&&o.reverse()),this.pushStack(o)}});var Ft=/[^\x20\t\r\n\f]+/g;Mt.Callbacks=function(t){t="string"==typeof t?h(t):Mt.extend({},t);var e,n,i,o,r=[],a=[],l=-1,u=function(){for(o=o||t.once,i=e=!0;a.length;l=-1)for(n=a.shift();++l<r.length;)!1===r[l].apply(n[0],n[1])&&t.stopOnFalse&&(l=r.length,n=!1);t.memory||(n=!1),e=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!e&&(l=r.length-1,a.push(n)),function e(n){Mt.each(n,function(n,i){kt(i)?t.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==s(i)&&e(i)})}(arguments),n&&!e&&u()),this},remove:function(){return Mt.each(arguments,function(t,e){for(var n;(n=Mt.inArray(e,r,n))>-1;)r.splice(n,1),n<=l&&l--}),this},has:function(t){return t?Mt.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},Mt.extend({Deferred:function(t){var e=[["notify","progress",Mt.Callbacks("memory"),Mt.Callbacks("memory"),2],["resolve","done",Mt.Callbacks("once memory"),Mt.Callbacks("once memory"),0,"resolved"],["reject","fail",Mt.Callbacks("once memory"),Mt.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return Mt.Deferred(function(n){Mt.each(e,function(e,i){var o=kt(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&kt(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,i,o){function r(t,e,i,o){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(t<a)){if((n=i.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,kt(u)?o?u.call(n,r(a,e,f,o),r(a,e,p,o)):(a++,u.call(n,r(a,e,f,o),r(a,e,p,o),r(a,e,f,e.notifyWith))):(i!==f&&(s=void 0,l=[n]),(o||e.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(n){Mt.Deferred.exceptionHook&&Mt.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(i!==p&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(Mt.Deferred.getStackHook&&(c.stackTrace=Mt.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return Mt.Deferred(function(n){e[0][3].add(r(0,n,kt(o)?o:f,n.notifyWith)),e[1][3].add(r(0,n,kt(t)?t:f)),e[2][3].add(r(0,n,kt(i)?i:p))}).promise()},promise:function(t){return null!=t?Mt.extend(t,o):o}},r={};return Mt.each(e,function(t,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){i=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=a.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=pt.call(arguments),r=Mt.Deferred(),a=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?pt.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(m(t,r.done(a(n)).resolve,r.reject,!e),"pending"===r.state()||kt(o[n]&&o[n].then)))return r.then();for(;n--;)m(o[n],a(n),r.reject);return r.promise()}});var Yt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Mt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Yt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},Mt.readyException=function(t){n.setTimeout(function(){throw t})};var jt=Mt.Deferred();Mt.fn.ready=function(t){return jt.then(t).catch(function(t){Mt.readyException(t)}),this},Mt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--Mt.readyWait:Mt.isReady)||(Mt.isReady=!0,!0!==t&&--Mt.readyWait>0||jt.resolveWith(ht,[Mt]))}}),Mt.ready.then=jt.then,"complete"===ht.readyState||"loading"!==ht.readyState&&!ht.documentElement.doScroll?n.setTimeout(Mt.ready):(ht.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var zt=function(t,e,n,i,o,r,a){var l=0,u=t.length,c=null==n;if("object"===s(n)){o=!0;for(l in n)zt(t,e,l,n[l],!0,r,a)}else if(void 0!==i&&(o=!0,kt(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(Mt(t),n)})),e))for(;l<u;l++)e(t[l],n,a?i:i.call(t[l],l,e(t[l],n)));return o?t:c?e.call(t):u?e(t[0],n):r},Bt=/^-ms-/,Wt=/-([a-z])/g,Vt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};b.uid=1,b.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Vt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[y(e)]=n;else for(i in e)o[y(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][y(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){Array.isArray(e)?e=e.map(y):(e=y(e),e=e in i?[e]:e.match(Ft)||[]),n=e.length;for(;n--;)delete i[e[n]]}(void 0===e||Mt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!Mt.isEmptyObject(e)}};var $t=new b,Ut=new b,qt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Gt=/[A-Z]/g;Mt.extend({hasData:function(t){return Ut.hasData(t)||$t.hasData(t)},data:function(t,e,n){return Ut.access(t,e,n)},removeData:function(t,e){Ut.remove(t,e)},_data:function(t,e,n){return $t.access(t,e,n)},_removeData:function(t,e){$t.remove(t,e)}}),Mt.fn.extend({data:function(t,e){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===t){if(this.length&&(o=Ut.get(r),1===r.nodeType&&!$t.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=y(i.slice(5)),x(r,i,o[i])));$t.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){Ut.set(this,t)}):zt(this,function(e){var n;if(r&&void 0===e){if(void 0!==(n=Ut.get(r,t)))return n;if(void 0!==(n=x(r,t)))return n}else this.each(function(){Ut.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Ut.remove(this,t)})}}),Mt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=$t.get(t,e),n&&(!i||Array.isArray(n)?i=$t.access(t,e,Mt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=Mt.queue(t,e),i=n.length,o=n.shift(),r=Mt._queueHooks(t,e),a=function(){Mt.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return $t.get(t,n)||$t.access(t,n,{empty:Mt.Callbacks("once memory").add(function(){$t.remove(t,[e+"queue",n])})})}}),Mt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Mt.queue(this[0],t):void 0===e?this:this.each(function(){var n=Mt.queue(this,t,e);Mt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=Mt.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=$t.get(r[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(e)}});var Jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Zt=new RegExp("^(?:([+-])=|)("+Jt+")([a-z%]*)$","i"),Xt=["Top","Right","Bottom","Left"],Kt=ht.documentElement,Qt=function(t){return Mt.contains(t.ownerDocument,t)},te={composed:!0};Kt.getRootNode&&(Qt=function(t){return Mt.contains(t.ownerDocument,t)||t.getRootNode(te)===t.ownerDocument});var ee=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&Qt(t)&&"none"===Mt.css(t,"display")},ne=function(t,e,n,i){var o,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=a[r];return o},ie={};Mt.fn.extend({show:function(){return k(this,!0)},hide:function(){return k(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ee(this)?Mt(this).show():Mt(this).hide()})}});var oe=/^(?:checkbox|radio)$/i,re=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ae=/^$|^module$|\/(?:java|ecma)script/i,se={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};se.optgroup=se.option,se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td;var le=/<|&#?\w+;/;!function(){var t=ht.createDocumentFragment(),e=t.appendChild(ht.createElement("div")),n=ht.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),Dt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",Dt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var ue=/^key/,ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,de=/^([^.]*)(?:\.(.+)|)/;Mt.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,u,c,d,h,f,p,m,g=$t.get(t);if(g)for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&Mt.find.matchesSelector(Kt,o),n.guid||(n.guid=Mt.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==Mt&&Mt.event.triggered!==e.type?Mt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ft)||[""],u=e.length;u--;)s=de.exec(e[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(d=Mt.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=Mt.event.special[f]||{},c=Mt.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&Mt.expr.match.needsContext.test(o),namespace:p.join(".")},r),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(f,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,c):h.push(c),Mt.event.global[f]=!0)},remove:function(t,e,n,i,o){var r,a,s,l,u,c,d,h,f,p,m,g=$t.hasData(t)&&$t.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Ft)||[""],u=e.length;u--;)if(s=de.exec(e[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(d=Mt.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=h.length;r--;)c=h[r],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(r,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(t,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,g.handle)||Mt.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)Mt.event.remove(t,f+e[u],n,i,!0);Mt.isEmptyObject(l)&&$t.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,a,s=Mt.event.fix(t),l=new Array(arguments.length),u=($t.get(this,"events")||{})[s.type]||[],c=Mt.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=Mt.event.handlers.call(this,s,u),e=0;(o=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==r.namespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,void 0!==(i=((Mt.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,i,o,r,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(r=[],a={},n=0;n<l;n++)i=e[n],o=i.selector+" ",void 0===a[o]&&(a[o]=i.needsContext?Mt(o,this).index(u)>-1:Mt.find(o,this,null,[u]).length),a[o]&&r.push(i);r.length&&s.push({elem:u,handlers:r})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(Mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:kt(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[Mt.expando]?t:new Mt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return oe.test(e.type)&&e.click&&u(e,"input")&&L(e,"click",T),!1},trigger:function(t){var e=this||t;return oe.test(e.type)&&e.click&&u(e,"input")&&L(e,"click"),!0},_default:function(t){var e=t.target;return oe.test(e.type)&&e.click&&u(e,"input")&&$t.get(e,"click")||u(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Mt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},Mt.Event=function(t,e){if(!(this instanceof Mt.Event))return new Mt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?T:E,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Mt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[Mt.expando]=!0},Mt.Event.prototype={constructor:Mt.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=T,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=T,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=T,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&ue.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ce.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},Mt.event.addProp),Mt.each({focus:"focusin",blur:"focusout"},function(t,e){Mt.event.special[t]={setup:function(){return L(this,t,P),!1},trigger:function(){return L(this,t),!0},delegateType:e}}),Mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===i||Mt.contains(i,o))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),Mt.fn.extend({on:function(t,e,n,i){return O(this,t,e,n,i)},one:function(t,e,n,i){return O(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=E),this.each(function(){Mt.event.remove(this,t,n,e)})}});var he=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,fe=/<script|<style|<link/i,pe=/checked\s*(?:[^=]|=\s*.checked.)/i,me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Mt.extend({htmlPrefilter:function(t){return t.replace(he,"<$1></$2>")},clone:function(t,e,n){var i,o,r,a,s=t.cloneNode(!0),l=Qt(t);if(!(Dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Mt.isXMLDoc(t)))for(a=S(s),r=S(t),i=0,o=r.length;i<o;i++)F(r[i],a[i]);if(e)if(n)for(r=r||S(t),a=a||S(s),i=0,o=r.length;i<o;i++)N(r[i],a[i]);else N(t,s);return a=S(s,"script"),a.length>0&&C(a,!l&&S(t,"script")),s},cleanData:function(t){for(var e,n,i,o=Mt.event.special,r=0;void 0!==(n=t[r]);r++)if(Vt(n)){if(e=n[$t.expando]){if(e.events)for(i in e.events)o[i]?Mt.event.remove(n,i):Mt.removeEvent(n,i,e.handle);n[$t.expando]=void 0}n[Ut.expando]&&(n[Ut.expando]=void 0)}}}),Mt.fn.extend({detach:function(t){return j(this,t,!0)},remove:function(t){return j(this,t)},text:function(t){return zt(this,function(t){return void 0===t?Mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Y(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){R(this,t).appendChild(t)}})},prepend:function(){return Y(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=R(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Y(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Y(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Mt.cleanData(S(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Mt.clone(this,t,e)})},html:function(t){return zt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!fe.test(t)&&!se[(re.exec(t)||["",""])[1].toLowerCase()]){t=Mt.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(Mt.cleanData(S(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Y(this,arguments,function(e){var n=this.parentNode;Mt.inArray(this,t)<0&&(Mt.cleanData(S(this)),n&&n.replaceChild(e,this))},t)}}),Mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Mt.fn[t]=function(t){for(var n,i=[],o=Mt(t),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),Mt(o[a])[e](n),gt.apply(i,n.get());return this.pushStack(i)}});var ge=new RegExp("^("+Jt+")(?!px)[a-z%]+$","i"),ve=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ye=new RegExp(Xt.join("|"),"i");!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Kt.appendChild(l).appendChild(u);var t=n.getComputedStyle(u);i="1%"!==t.top,s=12===e(t.marginLeft),u.style.right="60%",a=36===e(t.right),o=36===e(t.width),u.style.position="absolute",r=12===e(u.offsetWidth/3),Kt.removeChild(l),u=null}}function e(t){return Math.round(parseFloat(t))}var i,o,r,a,s,l=ht.createElement("div"),u=ht.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",Dt.clearCloneStyle="content-box"===u.style.backgroundClip,Mt.extend(Dt,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),r}}))}();var be=["Webkit","Moz","ms"],we=ht.createElement("div").style,xe={},_e=/^(none|table(?!-c[ea]).+)/,De=/^--/,ke={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:"0",fontWeight:"400"};Mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=z(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,a,s=y(e),l=De.test(e),u=t.style;if(l||(e=V(s)),a=Mt.cssHooks[e]||Mt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,i))?o:u[e];r=typeof n,"string"===r&&(o=Zt.exec(n))&&o[1]&&(n=_(t,e,o),r="number"),null!=n&&n===n&&("number"!==r||l||(n+=o&&o[3]||(Mt.cssNumber[s]?"":"px")),Dt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var o,r,a,s=y(e);return De.test(e)||(e=V(s)),a=Mt.cssHooks[e]||Mt.cssHooks[s],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=z(t,e,i)),"normal"===o&&e in Se&&(o=Se[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),Mt.each(["height","width"],function(t,e){Mt.cssHooks[e]={get:function(t,n,i){if(n)return!_e.test(Mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?q(t,e,i):ne(t,ke,function(){return q(t,e,i)})},set:function(t,n,i){var o,r=ve(t),a=!Dt.scrollboxSize()&&"absolute"===r.position,s=a||i,l=s&&"border-box"===Mt.css(t,"boxSizing",!1,r),u=i?U(t,e,i,l,r):0;return l&&a&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-U(t,e,"border",!1,r)-.5)),u&&(o=Zt.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=Mt.css(t,e)),$(t,n,u)}}}),Mt.cssHooks.marginLeft=B(Dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(z(t,"marginLeft"))||t.getBoundingClientRect().left-ne(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Mt.each({margin:"",padding:"",border:"Width"},function(t,e){Mt.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+Xt[i]+e]=r[i]||r[i-2]||r[0];return o}},"margin"!==t&&(Mt.cssHooks[t+e].set=$)}),Mt.fn.extend({css:function(t,e){return zt(this,function(t,e,n){var i,o,r={},a=0;if(Array.isArray(e)){for(i=ve(t),o=e.length;a<o;a++)r[e[a]]=Mt.css(t,e[a],!1,i);return r}return void 0!==n?Mt.style(t,e,n):Mt.css(t,e)},t,e,arguments.length>1)}}),Mt.Tween=G,G.prototype={constructor:G,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||Mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(Mt.cssNumber[n]?"":"px")},cur:function(){var t=G.propHooks[this.prop];return t&&t.get?t.get(this):G.propHooks._default.get(this)},run:function(t){var e,n=G.propHooks[this.prop];return this.options.duration?this.pos=e=Mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):G.propHooks._default.set(this),this}},G.prototype.init.prototype=G.prototype,G.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Mt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){Mt.fx.step[t.prop]?Mt.fx.step[t.prop](t):1!==t.elem.nodeType||!Mt.cssHooks[t.prop]&&null==t.elem.style[V(t.prop)]?t.elem[t.prop]=t.now:Mt.style(t.elem,t.prop,t.now+t.unit)}}},G.propHooks.scrollTop=G.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Mt.fx=G.prototype.init,Mt.fx.step={};var Ce,Me,Te=/^(?:toggle|show|hide)$/,Ee=/queueHooks$/;Mt.Animation=Mt.extend(et,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _(n.elem,t,Zt.exec(e),n),n}]},tweener:function(t,e){kt(t)?(e=t,t=["*"]):t=t.match(Ft);for(var n,i=0,o=t.length;i<o;i++)n=t[i],et.tweeners[n]=et.tweeners[n]||[],et.tweeners[n].unshift(e)},prefilters:[Q],prefilter:function(t,e){e?et.prefilters.unshift(t):et.prefilters.push(t)}}),Mt.speed=function(t,e,n){var i=t&&"object"==typeof t?Mt.extend({},t):{complete:n||!n&&e||kt(t)&&t,duration:t,easing:n&&e||e&&!kt(e)&&e};return Mt.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Mt.fx.speeds?i.duration=Mt.fx.speeds[i.duration]:i.duration=Mt.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){kt(i.old)&&i.old.call(this),i.queue&&Mt.dequeue(this,i.queue)},i},Mt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ee).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=Mt.isEmptyObject(t),r=Mt.speed(e,n,i),a=function(){var e=et(this,Mt.extend({},t),r);(o||$t.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=Mt.timers,a=$t.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&Ee.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||Mt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=$t.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=Mt.timers,a=i?i.length:0;for(n.finish=!0,Mt.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Mt.each(["toggle","show","hide"],function(t,e){var n=Mt.fn[e];Mt.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(X(e,!0),t,i,o)}}),Mt.each({slideDown:X("show"),slideUp:X("hide"),slideToggle:X("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Mt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Mt.timers=[],Mt.fx.tick=function(){var t,e=0,n=Mt.timers;for(Ce=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||Mt.fx.stop(),Ce=void 0},Mt.fx.timer=function(t){Mt.timers.push(t),Mt.fx.start()},Mt.fx.interval=13,Mt.fx.start=function(){Me||(Me=!0,J())},Mt.fx.stop=function(){Me=null},Mt.fx.speeds={slow:600,fast:200,_default:400},Mt.fn.delay=function(t,e){return t=Mt.fx?Mt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var o=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(o)}})},function(){var t=ht.createElement("input"),e=ht.createElement("select"),n=e.appendChild(ht.createElement("option"));t.type="checkbox",Dt.checkOn=""!==t.value,Dt.optSelected=n.selected,t=ht.createElement("input"),t.value="t",t.type="radio",Dt.radioValue="t"===t.value}();var Pe,Ie=Mt.expr.attrHandle;Mt.fn.extend({attr:function(t,e){return zt(this,Mt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Mt.removeAttr(this,t)})}}),Mt.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?Mt.prop(t,e,n):(1===r&&Mt.isXMLDoc(t)||(o=Mt.attrHooks[e.toLowerCase()]||(Mt.expr.match.bool.test(e)?Pe:void 0)),void 0!==n?null===n?void Mt.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:(i=Mt.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!Dt.radioValue&&"radio"===e&&u(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(Ft);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),Pe={set:function(t,e,n){return!1===e?Mt.removeAttr(t,n):t.setAttribute(n,n),n}},Mt.each(Mt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ie[e]||Mt.find.attr;Ie[e]=function(t,e,i){var o,r,a=e.toLowerCase();return i||(r=Ie[a],Ie[a]=o,o=null!=n(t,e,i)?a:null,Ie[a]=r),o}});var Oe=/^(?:input|select|textarea|button)$/i,Le=/^(?:a|area)$/i;Mt.fn.extend({prop:function(t,e){return zt(this,Mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Mt.propFix[t]||t]})}}),Mt.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&Mt.isXMLDoc(t)||(e=Mt.propFix[e]||e,o=Mt.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=Mt.find.attr(t,"tabindex");return e?parseInt(e,10):Oe.test(t.nodeName)||Le.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Dt.optSelected||(Mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Mt.propFix[this.toLowerCase()]=this}),Mt.fn.extend({addClass:function(t){var e,n,i,o,r,a,s,l=0;if(kt(t))return this.each(function(e){Mt(this).addClass(t.call(this,e,it(this)))});if(e=ot(t),e.length)for(;n=this[l++];)if(o=it(n),i=1===n.nodeType&&" "+nt(o)+" "){for(a=0;r=e[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=nt(i),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,o,r,a,s,l=0;if(kt(t))return this.each(function(e){Mt(this).removeClass(t.call(this,e,it(this)))});if(!arguments.length)return this.attr("class","");if(e=ot(t),e.length)for(;n=this[l++];)if(o=it(n),i=1===n.nodeType&&" "+nt(o)+" "){for(a=0;r=e[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");s=nt(i),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):kt(t)?this.each(function(n){Mt(this).toggleClass(t.call(this,n,it(this),e),e)}):this.each(function(){var e,o,r,a;if(i)for(o=0,r=Mt(this),a=ot(t);e=a[o++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||(e=it(this),e&&$t.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":$t.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+nt(it(n))+" ").indexOf(e)>-1)return!0;return!1}});var Re=/\r/g;Mt.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=kt(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,Mt(this).val()):t,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Mt.map(o,function(t){return null==t?"":t+""})),(e=Mt.valHooks[this.type]||Mt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return(e=Mt.valHooks[o.type]||Mt.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Re,""):null==n?"":n)}}}),Mt.extend({valHooks:{option:{get:function(t){var e=Mt.find.attr(t,"value");return null!=e?e:nt(Mt.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(n=o[i],(n.selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(e=Mt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=Mt.makeArray(e),a=o.length;a--;)i=o[a],(i.selected=Mt.inArray(Mt.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),Mt.each(["radio","checkbox"],function(){Mt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=Mt.inArray(Mt(t).val(),e)>-1}},Dt.checkOn||(Mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Dt.focusin="onfocusin"in n;var Ae=/^(?:focusinfocus|focusoutblur)$/,He=function(t){t.stopPropagation()};Mt.extend(Mt.event,{trigger:function(t,e,i,o){var r,a,s,l,u,c,d,h,f=[i||ht],p=wt.call(t,"type")?t.type:t,m=wt.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!Ae.test(p+Mt.event.triggered)&&(p.indexOf(".")>-1&&(m=p.split("."),p=m.shift(),m.sort()),u=p.indexOf(":")<0&&"on"+p,t=t[Mt.expando]?t:new Mt.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:Mt.makeArray(e,[t]),d=Mt.event.special[p]||{},o||!d.trigger||!1!==d.trigger.apply(i,e))){if(!o&&!d.noBubble&&!St(i)){for(l=d.delegateType||p,Ae.test(l+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||ht)&&f.push(s.defaultView||s.parentWindow||n)}for(r=0;(a=f[r++])&&!t.isPropagationStopped();)h=a,t.type=r>1?l:d.bindType||p,c=($t.get(a,"events")||{})[t.type]&&$t.get(a,"handle"),c&&c.apply(a,e),(c=u&&a[u])&&c.apply&&Vt(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!Vt(i)||u&&kt(i[p])&&!St(i)&&(s=i[u],s&&(i[u]=null),Mt.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,He),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,He),Mt.event.triggered=void 0,s&&(i[u]=s)),t.result}},simulate:function(t,e,n){var i=Mt.extend(new Mt.Event,n,{type:t,isSimulated:!0});Mt.event.trigger(i,null,e)}}),Mt.fn.extend({trigger:function(t,e){return this.each(function(){Mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Mt.event.trigger(t,e,n,!0)}}),Dt.focusin||Mt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Mt.event.simulate(e,t.target,Mt.event.fix(t))};Mt.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=$t.access(i,e);o||i.addEventListener(t,n,!0),$t.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=$t.access(i,e)-1;o?$t.access(i,e,o):(i.removeEventListener(t,n,!0),$t.remove(i,e))}}});var Ne=n.location,Fe=Date.now(),Ye=/\?/;Mt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||Mt.error("Invalid XML: "+t),e};var je=/\[\]$/,ze=/\r?\n/g,Be=/^(?:submit|button|image|reset|file)$/i,We=/^(?:input|select|textarea|keygen)/i;Mt.param=function(t,e){var n,i=[],o=function(t,e){var n=kt(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Mt.isPlainObject(t))Mt.each(t,function(){o(this.name,this.value)});else for(n in t)rt(n,t[n],e,o);return i.join("&")},Mt.fn.extend({serialize:function(){return Mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Mt.prop(this,"elements");return t?Mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Mt(this).is(":disabled")&&We.test(this.nodeName)&&!Be.test(t)&&(this.checked||!oe.test(t))}).map(function(t,e){var n=Mt(this).val();return null==n?null:Array.isArray(n)?Mt.map(n,function(t){return{name:e.name,value:t.replace(ze,"\r\n")}}):{name:e.name,value:n.replace(ze,"\r\n")}}).get()}});var Ve=/%20/g,$e=/#.*$/,Ue=/([?&])_=[^&]*/,qe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ge=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Je=/^(?:GET|HEAD)$/,Ze=/^\/\//,Xe={},Ke={},Qe="*/".concat("*"),tn=ht.createElement("a");tn.href=Ne.href,Mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ne.href,type:"GET",isLocal:Ge.test(Ne.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?lt(lt(t,Mt.ajaxSettings),e):lt(Mt.ajaxSettings,t)},ajaxPrefilter:at(Xe),ajaxTransport:at(Ke),ajax:function(t,e){function i(t,e,i,s){var u,h,f,w,x,_=e;c||(c=!0,l&&n.clearTimeout(l),o=void 0,a=s||"",D.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(w=ut(p,D,i)),w=ct(p,w,D,u),u?(p.ifModified&&(x=D.getResponseHeader("Last-Modified"),x&&(Mt.lastModified[r]=x),(x=D.getResponseHeader("etag"))&&(Mt.etag[r]=x)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=w.state,h=w.data,f=w.error,u=!f)):(f=_,!t&&_||(_="error",t<0&&(t=0))),D.status=t,D.statusText=(e||_)+"",u?v.resolveWith(m,[h,_,D]):v.rejectWith(m,[D,_,f]),D.statusCode(b),b=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[D,p,u?h:f]),y.fireWith(m,[D,_]),d&&(g.trigger("ajaxComplete",[D,p]),--Mt.active||Mt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,r,a,s,l,u,c,d,h,f,p=Mt.ajaxSetup({},e),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?Mt(m):Mt.event,v=Mt.Deferred(),y=Mt.Callbacks("once memory"),b=p.statusCode||{},w={},x={},_="canceled",D={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=qe.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)D.always(t[D.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return o&&o.abort(e),i(0,e),this}};if(v.promise(D),p.url=((t||p.url||Ne.href)+"").replace(Ze,Ne.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ft)||[""],null==p.crossDomain){u=ht.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=tn.protocol+"//"+tn.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Mt.param(p.data,p.traditional)),st(Xe,p,e,D),c)return D;d=Mt.event&&p.global,d&&0==Mt.active++&&Mt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Je.test(p.type),r=p.url.replace($e,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ve,"+")):(f=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Ye.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Ue,"$1"),f=(Ye.test(r)?"&":"?")+"_="+Fe+++f),p.url=r+f),p.ifModified&&(Mt.lastModified[r]&&D.setRequestHeader("If-Modified-Since",Mt.lastModified[r]),Mt.etag[r]&&D.setRequestHeader("If-None-Match",Mt.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&D.setRequestHeader("Content-Type",p.contentType),D.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qe+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)D.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(m,D,p)||c))return D.abort();if(_="abort",y.add(p.complete),D.done(p.success),D.fail(p.error),o=st(Ke,p,e,D)){if(D.readyState=1,d&&g.trigger("ajaxSend",[D,p]),c)return D;p.async&&p.timeout>0&&(l=n.setTimeout(function(){D.abort("timeout")},p.timeout));try{c=!1,o.send(w,i)}catch(t){if(c)throw t;i(-1,t)}}else i(-1,"No Transport");return D},getJSON:function(t,e,n){return Mt.get(t,e,n,"json")},getScript:function(t,e){return Mt.get(t,void 0,e,"script")}}),Mt.each(["get","post"],function(t,e){Mt[e]=function(t,n,i,o){return kt(n)&&(o=o||i,i=n,n=void 0),Mt.ajax(Mt.extend({url:t,type:e,dataType:o,data:n,success:i},Mt.isPlainObject(t)&&t))}}),Mt._evalUrl=function(t,e){return Mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){Mt.globalEval(t,e)}})},Mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(kt(t)&&(t=t.call(this[0])),e=Mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return kt(t)?this.each(function(e){Mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Mt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=kt(t);return this.each(function(n){Mt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Mt(this).replaceWith(this.childNodes)}),this}}),Mt.expr.pseudos.hidden=function(t){return!Mt.expr.pseudos.visible(t)},Mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Mt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var en={0:200,1223:204},nn=Mt.ajaxSettings.xhr();Dt.cors=!!nn&&"withCredentials"in nn,Dt.ajax=nn=!!nn,Mt.ajaxTransport(function(t){var e,i;if(Dt.cors||nn&&!t.crossDomain)return{send:function(o,r){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(en[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),Mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Mt.globalEval(t),t}}}),Mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Mt.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,n;return{send:function(i,o){e=Mt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){n&&n()}}}});var on=[],rn=/(=)\?(?=&|$)|\?\?/;Mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=on.pop()||Mt.expando+"_"+Fe++;return this[t]=!0,t}}),Mt.ajaxPrefilter("json jsonp",function(t,e,i){var o,r,a,s=!1!==t.jsonp&&(rn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&rn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=kt(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(rn,"$1"+o):!1!==t.jsonp&&(t.url+=(Ye.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||Mt.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=n[o],n[o]=function(){a=arguments},i.always(function(){void 0===r?Mt(n).removeProp(o):n[o]=r,t[o]&&(t.jsonpCallback=e.jsonpCallback,on.push(o)),a&&kt(r)&&r(a[0]),a=r=void 0}),"script"}),Dt.createHTMLDocument=function(){var t=ht.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),Mt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var i,o,r;return e||(Dt.createHTMLDocument?(e=ht.implementation.createHTMLDocument(""),i=e.createElement("base"),i.href=ht.location.href,e.head.appendChild(i)):e=ht),o=Lt.exec(t),r=!n&&[],o?[e.createElement(o[1])]:(o=M([t],e,r),r&&r.length&&Mt(r).remove(),Mt.merge([],o.childNodes))},Mt.fn.load=function(t,e,n){var i,o,r,a=this,s=t.indexOf(" ");return s>-1&&(i=nt(t.slice(s)),t=t.slice(0,s)),kt(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&Mt.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?Mt("<div>").append(Mt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},Mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Mt.fn[e]=function(t){return this.on(e,t)}}),Mt.expr.pseudos.animated=function(t){return Mt.grep(Mt.timers,function(e){return t===e.elem}).length},Mt.offset={setOffset:function(t,e,n){var i,o,r,a,s,l,u,c=Mt.css(t,"position"),d=Mt(t),h={};"static"===c&&(t.style.position="relative"),s=d.offset(),r=Mt.css(t,"top"),l=Mt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),kt(e)&&(e=e.call(t,n,Mt.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+o),"using"in e?e.using.call(t,h):d.css(h)}},Mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Mt.offset.setOffset(this,t,e)});var e,n,i=this[0];if(i)return i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,n,i=this[0],o={top:0,left:0};if("fixed"===Mt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===Mt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&(o=Mt(t).offset(),o.top+=Mt.css(t,"borderTopWidth",!0),o.left+=Mt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-Mt.css(i,"marginTop",!0),left:e.left-o.left-Mt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Mt.css(t,"position");)t=t.offsetParent;return t||Kt})}}),Mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;Mt.fn[t]=function(i){return zt(this,function(t,i,o){var r;if(St(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):t[i]=o},t,i,arguments.length)}}),Mt.each(["top","left"],function(t,e){Mt.cssHooks[e]=B(Dt.pixelPosition,function(t,n){if(n)return n=z(t,e),ge.test(n)?Mt(t).position()[e]+"px":n})}),Mt.each({Height:"height",Width:"width"},function(t,e){Mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Mt.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return zt(this,function(e,n,o){var r;return St(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?Mt.css(e,n,s):Mt.style(e,n,o,s)},e,a?o:void 0,a)}})}),Mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){Mt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Mt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),Mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),Mt.proxy=function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),kt(t))return i=pt.call(arguments,2),o=function(){return t.apply(e||this,i.concat(pt.call(arguments)))},o.guid=t.guid=t.guid||Mt.guid++,o},Mt.holdReady=function(t){t?Mt.readyWait++:Mt.ready(!0)},Mt.isArray=Array.isArray,Mt.parseJSON=JSON.parse,Mt.nodeName=u,Mt.isFunction=kt,Mt.isWindow=St,Mt.camelCase=y,Mt.type=s,Mt.now=Date.now,Mt.isNumeric=function(t){var e=Mt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},i=[],void 0!==(o=function(){return Mt}.apply(e,i))&&(t.exports=o);var an=n.jQuery,sn=n.$;return Mt.noConflict=function(t){return n.$===Mt&&(n.$=sn),t&&n.jQuery===Mt&&(n.jQuery=an),Mt},r||(n.jQuery=n.$=Mt),Mt})},"95j/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var r=n("7Rwe"),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};/*!
* [KIMAI] Wrapper class for loading Kimai app in browser script scope
*/
!function(e,i){"function"==typeof define&&n("nErl")?define([],function(){return e.KimaiWebLoader=i()}):"object"===a(t)&&t.exports?t.exports=i():e.KimaiWebLoader=i()}("undefined"!=typeof self?self:this,function(){return function(t){function n(){return e(this,n),i(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return o(n,t),n}(r.a)})}.call(e,n("f1Eh")(t))},"9psQ":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"init",value:function(){var t=this.getContainer().getPlugin("datatable");s()("body").on("click","div.navigation ul.pagination li a",function(t){var e=s()(".toolbar form input[name='page']");if(0!==e.length){t.preventDefault(),t.stopPropagation();var n=s()(this).attr("href").split("/"),i=n[n.length-1];return e.val(i),e.trigger("change"),!1}}),s()(".toolbar form input").change(function(e){switch(e.target.id){case"page":break;default:s()(".toolbar form input#page").val(1)}t.reloadDatatable()}),s()(".toolbar form select").change(function(e){var n=!0;switch(e.target.id){case"customer":s()(".toolbar form select#project").length>0&&(n=!1);break;case"project":s()(".toolbar form select#activity").length>0&&(n=!1)}s()(".toolbar form input#page").val(1),n&&t.reloadDatatable()})}}]),e}(l.a);e.a=c},AixB:function(t,e){},AoDM:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})})},DBzq:function(e,n,i){(function(e){/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Version: 1.3.8
*
*/
!function(e){e.fn.extend({slimScroll:function(n){var i={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},o=e.extend(i,n);return this.each(function(){function i(t){if(u){var t=t||window.event,n=0;t.wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var i=t.target||t.srcTarget||t.srcElement;e(i).closest("."+o.wrapperClass).is(w.parent())&&r(n,!0),t.preventDefault&&!b&&t.preventDefault(),b||(t.returnValue=!1)}}function r(t,e,n){b=!1;var i=t,r=w.outerHeight()-C.outerHeight();if(e&&(i=parseInt(C.css("top"))+t*parseInt(o.wheelStep)/100*C.outerHeight(),i=Math.min(Math.max(i,0),r),i=t>0?Math.ceil(i):Math.floor(i),C.css({top:i+"px"})),m=parseInt(C.css("top"))/(w.outerHeight()-C.outerHeight()),i=m*(w[0].scrollHeight-w.outerHeight()),n){i=t;var a=i/w[0].scrollHeight*w.outerHeight();a=Math.min(Math.max(a,0),r),C.css({top:a+"px"})}w.scrollTop(i),w.trigger("slimscrolling",~~i),s(),l()}function a(){p=Math.max(w.outerHeight()/w[0].scrollHeight*w.outerHeight(),y),C.css({height:p+"px"});var t=p==w.outerHeight()?"none":"block";C.css({display:t})}function s(){if(a(),clearTimeout(h),m==~~m){if(b=o.allowPageScroll,g!=m){var t=0==~~m?"top":"bottom";w.trigger("slimscroll",t)}}else b=!1;if(g=m,p>=w.outerHeight())return void(b=!0);C.stop(!0,!0).fadeIn("fast"),o.railVisible&&S.stop(!0,!0).fadeIn("fast")}function l(){o.alwaysVisible||(h=setTimeout(function(){o.disableFadeOut&&u||c||d||(C.fadeOut("slow"),S.fadeOut("slow"))},1e3))}var u,c,d,h,f,p,m,g,v="<div></div>",y=30,b=!1,w=e(this);if(w.parent().hasClass(o.wrapperClass)){var x=w.scrollTop();if(C=w.siblings("."+o.barClass),S=w.siblings("."+o.railClass),a(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){w.parent().css("height","auto"),w.css("height","auto");var _=w.parent().parent().height();w.parent().css("height",_),w.css("height",_)}else if("height"in n){var D=n.height;w.parent().css("height",D),w.css("height",D)}if("scrollTo"in n)x=parseInt(o.scrollTo);else if("scrollBy"in n)x+=parseInt(o.scrollBy);else if("destroy"in n)return C.remove(),S.remove(),void w.unwrap();r(x,!1,!0)}}else if(!(e.isPlainObject(n)&&"destroy"in n)){o.height="auto"==o.height?w.parent().height():o.height;var k=e(v).addClass(o.wrapperClass).css({position:"relative",overflow:"hidden",width:o.width,height:o.height});w.css({overflow:"hidden",width:o.width,height:o.height});var S=e(v).addClass(o.railClass).css({width:o.size,height:"100%",position:"absolute",top:0,display:o.alwaysVisible&&o.railVisible?"block":"none","border-radius":o.railBorderRadius,background:o.railColor,opacity:o.railOpacity,zIndex:90}),C=e(v).addClass(o.barClass).css({background:o.color,width:o.size,position:"absolute",top:0,opacity:o.opacity,display:o.alwaysVisible?"block":"none","border-radius":o.borderRadius,BorderRadius:o.borderRadius,MozBorderRadius:o.borderRadius,WebkitBorderRadius:o.borderRadius,zIndex:99}),M="right"==o.position?{right:o.distance}:{left:o.distance};S.css(M),C.css(M),w.wrap(k),w.parent().append(C),w.parent().append(S),o.railDraggable&&C.bind("mousedown",function(n){var i=e(document);return d=!0,t=parseFloat(C.css("top")),pageY=n.pageY,i.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,C.css("top",currTop),r(0,C.position().top,!1)}),i.bind("mouseup.slimscroll",function(t){d=!1,l(),i.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(t){return t.stopPropagation(),t.preventDefault(),!1}),S.hover(function(){s()},function(){l()}),C.hover(function(){c=!0},function(){c=!1}),w.hover(function(){u=!0,s(),l()},function(){u=!1,l()}),w.bind("touchstart",function(t,e){t.originalEvent.touches.length&&(f=t.originalEvent.touches[0].pageY)}),w.bind("touchmove",function(t){if(b||t.originalEvent.preventDefault(),t.originalEvent.touches.length){r((f-t.originalEvent.touches[0].pageY)/o.touchScrollStep,!0),f=t.originalEvent.touches[0].pageY}}),a(),"bottom"===o.start?(C.css({top:w.outerHeight()-C.outerHeight()}),r(0,!0)):"top"!==o.start&&(r(e(o.start).position().top,null,!0),o.alwaysVisible||C.hide()),function(t){window.addEventListener?(t.addEventListener("DOMMouseScroll",i,!1),t.addEventListener("mousewheel",i,!1)):document.attachEvent("onmousewheel",i)}(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(e)}).call(n,i("7t+N"))},DOkx:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n,i){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[n][0]:o[n][1]}return t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},DYUE:function(t,e,n){var i,o,r;/*!
* jQuery UI Unique ID 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(a){o=[n("7t+N"),n("UZ9c")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}})})},Dehm:function(t,e,n){(function(t){/*! AdminLTE app.js
* ================
* Main JS application file for AdminLTE v2. This file
* should be included in all pages. It controls some layout
* options and implements exclusive AdminLTE plugins.
*
* @Author Almsaeed Studio
* @Support <https://www.almsaeedstudio.com>
* @Email <abdullah@almsaeedstudio.com>
* @version 2.4.8
* @repository git://github.com/almasaeed2010/AdminLTE.git
* @license MIT <http://opensource.org/licenses/MIT>
*/
if(void 0===t)throw new Error("AdminLTE requires jQuery");+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),a=o.data(n);if(!a){var s=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,a=new r(o,s))}if("string"==typeof a){if(void 0===a[e])throw new Error("No method named "+e);a[e]()}})}var n="lte.boxrefresh",i={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',onLoadStart:function(){},onLoadDone:function(t){return t}},o={data:'[data-widget="box-refresh"]'},r=function(e,n){if(this.element=e,this.options=n,this.$overlay=t(n.overlayTemplate),""===n.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()};r.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(t(this)),t.get(this.options.source,this.options.params,function(e){this.options.loadInContent&&t(this.element).find(this.options.content).html(e),this.options.onLoadDone.call(t(this),e),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},r.prototype._setUpListeners=function(){t(this.element).on("click",this.options.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},r.prototype._addOverlay=function(){t(this.element).append(this.$overlay)},r.prototype._removeOverlay=function(){t(this.$overlay).remove()};var a=t.fn.boxRefresh;t.fn.boxRefresh=e,t.fn.boxRefresh.Constructor=r,t.fn.boxRefresh.noConflict=function(){return t.fn.boxRefresh=a,this},t(window).on("load",function(){t(o.data).each(function(){e.call(t(this))})})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var a=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,r=new s(o,a))}if("string"==typeof e){if(void 0===r[e])throw new Error("No method named "+e);r[e]()}})}var n="lte.boxwidget",i={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},o={data:".box",collapsed:".collapsed-box",header:".box-header",body:".box-body",footer:".box-footer",tools:".box-tools"},r={collapsed:"collapsed-box"},a={collapsing:"collapsing.boxwidget",collapsed:"collapsed.boxwidget",expanding:"expanding.boxwidget",expanded:"expanded.boxwidget",removing:"removing.boxwidget",removed:"removed.boxwidget"},s=function(t,e){this.element=t,this.options=e,this._setUpListeners()};s.prototype.toggle=function(){t(this.element).is(o.collapsed)?this.expand():this.collapse()},s.prototype.expand=function(){var e=t.Event(a.expanded),n=t.Event(a.expanding),i=this.options.collapseIcon,s=this.options.expandIcon;t(this.element).removeClass(r.collapsed),t(this.element).children(o.header+", "+o.body+", "+o.footer).children(o.tools).find("."+s).removeClass(s).addClass(i),t(this.element).children(o.body+", "+o.footer).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this)).trigger(n)},s.prototype.collapse=function(){var e=t.Event(a.collapsed),n=(t.Event(a.collapsing),this.options.collapseIcon),i=this.options.expandIcon;t(this.element).children(o.header+", "+o.body+", "+o.footer).children(o.tools).find("."+n).removeClass(n).addClass(i),t(this.element).children(o.body+", "+o.footer).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(r.collapsed),t(this.element).trigger(e)}.bind(this)).trigger(expandingEvent)},s.prototype.remove=function(){var e=t.Event(a.removed),n=t.Event(a.removing);t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(n)},s.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(n){return n&&n.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(n){return n&&n.preventDefault(),e.remove(t(this)),!1})};var l=t.fn.boxWidget;t.fn.boxWidget=e,t.fn.boxWidget.Constructor=s,t.fn.boxWidget.noConflict=function(){return t.fn.boxWidget=l,this},t(window).on("load",function(){t(o.data).each(function(){e.call(t(this))})})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var a=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,r=new s(o,a))}"string"==typeof e&&r.toggle()})}var n="lte.controlsidebar",i={slide:!0},o={sidebar:".control-sidebar",data:'[data-toggle="control-sidebar"]',open:".control-sidebar-open",bg:".control-sidebar-bg",wrapper:".wrapper",content:".content-wrapper",boxed:".layout-boxed"},r={open:"control-sidebar-open",fixed:"fixed"},a={collapsed:"collapsed.controlsidebar",expanded:"expanded.controlsidebar"},s=function(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()};s.prototype.init=function(){t(this.element).is(o.data)||t(this).on("click",this.toggle),this.fix(),t(window).resize(function(){this.fix()}.bind(this))},s.prototype.toggle=function(e){e&&e.preventDefault(),this.fix(),t(o.sidebar).is(o.open)||t("body").is(o.open)?this.collapse():this.expand()},s.prototype.expand=function(){this.options.slide?t(o.sidebar).addClass(r.open):t("body").addClass(r.open),t(this.element).trigger(t.Event(a.expanded))},s.prototype.collapse=function(){t("body, "+o.sidebar).removeClass(r.open),t(this.element).trigger(t.Event(a.collapsed))},s.prototype.fix=function(){t("body").is(o.boxed)&&this._fixForBoxed(t(o.bg))},s.prototype._fixForBoxed=function(e){e.css({position:"absolute",height:t(o.wrapper).height()})};var l=t.fn.controlSidebar;t.fn.controlSidebar=e,t.fn.controlSidebar.Constructor=s,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=l,this},t(document).on("click",o.data,function(n){n&&n.preventDefault(),e.call(t(this),"toggle")})}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data(n);o||i.data(n,o=new r(i)),"string"==typeof e&&o.toggle(i)})}var n="lte.directchat",i={data:'[data-widget="chat-pane-toggle"]',box:".direct-chat"},o={open:"direct-chat-contacts-open"},r=function(t){this.element=t};r.prototype.toggle=function(t){t.parents(i.box).first().toggleClass(o.open)};var a=t.fn.directChat;t.fn.directChat=e,t.fn.directChat.Constructor=r,t.fn.directChat.noConflict=function(){return t.fn.directChat=a,this},t(document).on("click",i.data,function(n){n&&n.preventDefault(),e.call(t(this),"toggle")})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,r=new a(s))}if("string"==typeof e){if(void 0===r[e])throw new Error("No method named "+e);r[e]()}})}var n="lte.layout",i={slimscroll:!0,resetHeight:!0},o={wrapper:".wrapper",contentWrapper:".content-wrapper",layoutBoxed:".layout-boxed",mainFooter:".main-footer",mainHeader:".main-header",sidebar:".sidebar",controlSidebar:".control-sidebar",fixed:".fixed",sidebarMenu:".sidebar-menu",logo:".main-header .logo"},r={fixed:"fixed",holdTransition:"hold-transition"},a=function(t){this.options=t,this.bindedResize=!1,this.activate()};a.prototype.activate=function(){this.fix(),this.fixSidebar(),t("body").removeClass(r.holdTransition),this.options.resetHeight&&t("body, html, "+o.wrapper).css({height:"auto","min-height":"100%"}),this.bindedResize||(t(window).resize(function(){this.fix(),this.fixSidebar(),t(o.logo+", "+o.sidebar).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),t(o.sidebarMenu).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),t(o.sidebarMenu).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},a.prototype.fix=function(){t(o.layoutBoxed+" > "+o.wrapper).css("overflow","hidden");var e=t(o.mainFooter).outerHeight()||0,n=t(o.mainHeader).outerHeight()||0,i=n+e,a=t(window).height(),s=t(o.sidebar).height()||0;if(t("body").hasClass(r.fixed))t(o.contentWrapper).css("min-height",a-e);else{var l;a>=s+n?(t(o.contentWrapper).css("min-height",a-i),l=a-i):(t(o.contentWrapper).css("min-height",s),l=s);var u=t(o.controlSidebar);void 0!==u&&u.height()>l&&t(o.contentWrapper).css("min-height",u.height())}},a.prototype.fixSidebar=function(){if(!t("body").hasClass(r.fixed))return void(void 0!==t.fn.slimScroll&&t(o.sidebar).slimScroll({destroy:!0}).height("auto"));this.options.slimscroll&&void 0!==t.fn.slimScroll&&t(o.sidebar).slimScroll({height:t(window).height()-t(o.mainHeader).height()+"px"})};var s=t.fn.layout;t.fn.layout=e,t.fn.layout.Constuctor=a,t.fn.layout.noConflict=function(){return t.fn.layout=s,this},t(window).on("load",function(){e.call(t("body"))})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var a=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,r=new s(a))}"toggle"===e&&r.toggle()})}var n="lte.pushmenu",i={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},o={collapsed:".sidebar-collapse",open:".sidebar-open",mainSidebar:".main-sidebar",contentWrapper:".content-wrapper",searchInput:".sidebar-form .form-control",button:'[data-toggle="push-menu"]',mini:".sidebar-mini",expanded:".sidebar-expanded-on-hover",layoutFixed:".fixed"},r={collapsed:"sidebar-collapse",open:"sidebar-open",mini:"sidebar-mini",expanded:"sidebar-expanded-on-hover",expandFeature:"sidebar-mini-expand-feature",layoutFixed:"fixed"},a={expanded:"expanded.pushMenu",collapsed:"collapsed.pushMenu"},s=function(t){this.options=t,this.init()};s.prototype.init=function(){(this.options.expandOnHover||t("body").is(o.mini+o.layoutFixed))&&(this.expandOnHover(),t("body").addClass(r.expandFeature)),t(o.contentWrapper).click(function(){t(window).width()<=this.options.collapseScreenSize&&t("body").hasClass(r.open)&&this.close()}.bind(this)),t(o.searchInput).click(function(t){t.stopPropagation()})},s.prototype.toggle=function(){var e=t(window).width(),n=!t("body").hasClass(r.collapsed);e<=this.options.collapseScreenSize&&(n=t("body").hasClass(r.open)),n?this.close():this.open()},s.prototype.open=function(){t(window).width()>this.options.collapseScreenSize?t("body").removeClass(r.collapsed).trigger(t.Event(a.expanded)):t("body").addClass(r.open).trigger(t.Event(a.expanded))},s.prototype.close=function(){t(window).width()>this.options.collapseScreenSize?t("body").addClass(r.collapsed).trigger(t.Event(a.collapsed)):t("body").removeClass(r.open+" "+r.collapsed).trigger(t.Event(a.collapsed))},s.prototype.expandOnHover=function(){t(o.mainSidebar).hover(function(){t("body").is(o.mini+o.collapsed)&&t(window).width()>this.options.collapseScreenSize&&this.expand()}.bind(this),function(){t("body").is(o.expanded)&&this.collapse()}.bind(this))},s.prototype.expand=function(){setTimeout(function(){t("body").removeClass(r.collapsed).addClass(r.expanded)},this.options.expandTransitionDelay)},s.prototype.collapse=function(){setTimeout(function(){t("body").removeClass(r.expanded).addClass(r.collapsed)},this.options.expandTransitionDelay)};var l=t.fn.pushMenu;t.fn.pushMenu=e,t.fn.pushMenu.Constructor=s,t.fn.pushMenu.noConflict=function(){return t.fn.pushMenu=l,this},t(document).on("click",o.button,function(n){n.preventDefault(),e.call(t(this),"toggle")}),t(window).on("load",function(){e.call(t(o.button))})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,r=new a(o,s))}if("string"==typeof r){if(void 0===r[e])throw new Error("No method named "+e);r[e]()}})}var n="lte.todolist",i={onCheck:function(t){return t},onUnCheck:function(t){return t}},o={data:'[data-widget="todo-list"]'},r={done:"done"},a=function(t,e){this.element=t,this.options=e,this._setUpListeners()};a.prototype.toggle=function(t){if(t.parents(o.li).first().toggleClass(r.done),!t.prop("checked"))return void this.unCheck(t);this.check(t)},a.prototype.check=function(t){this.options.onCheck.call(t)},a.prototype.unCheck=function(t){this.options.onUnCheck.call(t)},a.prototype._setUpListeners=function(){var e=this;t(this.element).on("change ifChanged","input:checkbox",function(){e.toggle(t(this))})};var s=t.fn.todoList;t.fn.todoList=e,t.fn.todoList.Constructor=a,t.fn.todoList.noConflict=function(){return t.fn.todoList=s,this},t(window).on("load",function(){t(o.data).each(function(){e.call(t(this))})})}(t),function(t){"use strict";function e(e){return this.each(function(){var o=t(this);if(!o.data(n)){var r=t.extend({},i,o.data(),"object"==typeof e&&e);o.data(n,new s(o,r))}})}var n="lte.tree",i={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},o={tree:".tree",treeview:".treeview",treeviewMenu:".treeview-menu",open:".menu-open, .active",li:"li",data:'[data-widget="tree"]',active:".active"},r={open:"menu-open",tree:"tree"},a={collapsed:"collapsed.tree",expanded:"expanded.tree"},s=function(e,n){this.element=e,this.options=n,t(this.element).addClass(r.tree),t(o.treeview+o.active,this.element).addClass(r.open),this._setUpListeners()};s.prototype.toggle=function(t,e){var n=t.next(o.treeviewMenu),i=t.parent(),a=i.hasClass(r.open);i.is(o.treeview)&&(this.options.followLink&&"#"!==t.attr("href")||e.preventDefault(),a?this.collapse(n,i):this.expand(n,i))},s.prototype.expand=function(e,n){var i=t.Event(a.expanded);if(this.options.accordion){var s=n.siblings(o.open),l=s.children(o.treeviewMenu);this.collapse(l,s)}n.addClass(r.open),e.slideDown(this.options.animationSpeed,function(){t(this.element).trigger(i)}.bind(this))},s.prototype.collapse=function(e,n){var i=t.Event(a.collapsed);n.removeClass(r.open),e.slideUp(this.options.animationSpeed,function(){t(this.element).trigger(i)}.bind(this))},s.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.trigger,function(n){e.toggle(t(this),n)})};var l=t.fn.tree;t.fn.tree=e,t.fn.tree.Constructor=s,t.fn.tree.noConflict=function(){return t.fn.tree=l,this},t(window).on("load",function(){t(o.data).each(function(){e.call(t(this))})})}(t)}).call(e,n("7t+N"))},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},EerN:function(t,e,n){var i,o,r;/*!
* jQuery UI Menu 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(a){o=[n("7t+N"),n("WLoA"),n("Up1f"),n("Nnp9"),n("DYUE"),n("UZ9c"),n("z1kw")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var n=t(e.target),i=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var n=t(e.target).closest(".ui-menu-item"),i=t(e.currentTarget);n[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var n=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,n)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),n=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),n.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var n,i,o,r,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,i=this.previousFilter||"",r=!1,o=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),o===i?r=!0:o=i+o,n=this._filterMenuItems(o),n=r&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n,n.length||(o=String.fromCharCode(e.keyCode),n=this._filterMenuItems(o)),n.length?(this.focus(e,n),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,n,i,o,r,a=this,s=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=l.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),n=e.prev(),i=t("<span>").data("ui-menu-submenu-caret",!0);a._addClass(i,"ui-menu-icon","ui-icon "+s),n.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",n.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),e=l.add(this.element),n=e.find(this.options.items),n.not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),o=n.not(".ui-menu-item, .ui-menu-divider"),r=o.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(o,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),n.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var n,i,o;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=e.children(".ui-menu"),n.length&&t&&/^mouse/.test(t.type)&&this._startOpening(n),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var n,i,o,r,a,s;this._hasScroll()&&(n=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-n-i,r=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=e.outerHeight(),o<0?this.activeMenu.scrollTop(r+o):o+s>a&&this.activeMenu.scrollTop(r+o-a+s))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var n=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(e,n){clearTimeout(this.timer),this.timer=this._delay(function(){var i=n?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));i.length||(i=this.element),this._close(i),this.blur(e),this._removeClass(i.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=i},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,n){var i;this.active&&(i="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),i&&i.length&&this.active||(i=this.activeMenu.find(this.options.items)[e]()),this.focus(n,i)},nextPage:function(e){var n,i,o;if(!this.active)return void this.next(e);this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i-o<0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))},previousPage:function(e){var n,i,o;if(!this.active)return void this.next(e);this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i+o>0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,n)},_filterMenuItems:function(e){var n=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=new RegExp("^"+n,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))})}})})},Eg81:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"init",value:function(){this.registerAutomaticAlertRemove("div.alert-success",5e3)}},{key:"registerAutomaticAlertRemove",value:function(t,e){var n=this;this._alertRemoveHandler=setInterval(function(){n.hideAlert(t)},e)}},{key:"unregisterAutomaticAlertRemove",value:function(){clearInterval(this._alertRemoveHandler)}},{key:"hideAlert",value:function(t){s()(t).alert("close")}}]),e}(l.a);e.a=c},EmE7:function(t,e){t.exports="./images/default_avatar.png?fc197350"},Eq4i:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("e7x4"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"getId",value:function(){return"alert"}},{key:"error",value:function(t,e){var n=this.getContainer().getTranslation();n.has(t)&&(t=n.get(t)),n.has(e)&&(e=n.get(e)),s.a.fire({type:"error",title:t.replace("%reason%",""),text:e})}},{key:"success",value:function(t){var e=this.getContainer().getTranslation();e.has(t)&&(t=e.get(t)),s.a.fire({timer:1500,position:"top-end",showConfirmButton:!1,type:"success",title:t})}},{key:"question",value:function(t,e){var n=this.getContainer().getTranslation();n.has(t)&&(t=n.get(t)),s.a.fire({title:t,type:"question",showCancelButton:!0,confirmButtonText:n.get("confirm"),cancelButtonText:n.get("cancel")}).then(function(t){e(t.value)})}}]),e}(l.a);e.a=c},FDd9:function(t,e){},FKXc:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},Fpqq:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e")},week:{dow:1,doy:4}})})},GOEF:function(t,e,n){/*!
* FullCalendar v3.10.0
* Docs & License: https://fullcalendar.io/
* (c) 2018 Adam Shaw
*/
!function(e,i){t.exports=i(n("olwm"),n("7t+N"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=270)}({1:function(e,n){e.exports=t},2:function(t,e){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};e.__extends=function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}},270:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(271);i.EventSourceParser.registerClass(o.default),i.GcalEventSource=o.default},271:function(t,e,n){function i(t){var e;return/^[^\/]+@([^\/\.]+\.)*(google|googlemail|gmail)\.com$/.test(t)?t:(e=/^https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/([^\/]*)/.exec(t))||(e=/^https?:\/\/www.google.com\/calendar\/feeds\/([^\/]*)/.exec(t))?decodeURIComponent(e[1]):void 0}function o(t,e){return t.replace(/(\?.*?)?(#|$)/,function(t,n,i){return(n?n+"&":"?")+e+i})}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),a=n(3),s=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.parse=function(t,e){var n;return"object"==typeof t?n=t:"string"==typeof t&&(n={url:t}),!!n&&s.EventSource.parse.call(this,n,e)},e.prototype.fetch=function(t,e,n){var i=this,o=this.buildUrl(),r=this.buildRequestParams(t,e,n),l=this.ajaxSettings||{},u=l.success;return r?(this.calendar.pushLoading(),s.Promise.construct(function(t,e){a.ajax(a.extend({},s.JsonFeedEventSource.AJAX_DEFAULTS,l,{url:o,data:r,success:function(n,o,l){var c,d;i.calendar.popLoading(),n.error?(i.reportError("Google Calendar API: "+n.error.message,n.error.errors),e()):n.items&&(c=i.gcalItemsToRawEventDefs(n.items,r.timeZone),d=s.applyAll(u,i,[n,o,l]),a.isArray(d)&&(c=d),t(i.parseEventDefs(c)))},error:function(t,n,o){i.reportError("Google Calendar network failure: "+n,[t,o]),i.calendar.popLoading(),e()}}))})):s.Promise.reject()},e.prototype.gcalItemsToRawEventDefs=function(t,e){var n=this;return t.map(function(t){return n.gcalItemToRawEventDef(t,e)})},e.prototype.gcalItemToRawEventDef=function(t,e){var n=t.htmlLink||null;n&&e&&(n=o(n,"ctz="+e));var i={};return"object"==typeof t.extendedProperties&&"object"==typeof t.extendedProperties.shared&&(i=t.extendedProperties.shared),{id:t.id,title:t.summary,start:t.start.dateTime||t.start.date,end:t.end.dateTime||t.end.date,url:n,location:t.location,description:t.description,extendedProperties:i}},e.prototype.buildUrl=function(){return e.API_BASE+"/"+encodeURIComponent(this.googleCalendarId)+"/events?callback=?"},e.prototype.buildRequestParams=function(t,e,n){var i,o=this.googleCalendarApiKey||this.calendar.opt("googleCalendarApiKey");return o?(t.hasZone()||(t=t.clone().utc().add(-1,"day")),e.hasZone()||(e=e.clone().utc().add(1,"day")),i=a.extend(this.ajaxSettings.data||{},{key:o,timeMin:t.format(),timeMax:e.format(),singleEvents:!0,maxResults:9999}),n&&"local"!==n&&(i.timeZone=n.replace(" ","_")),i):(this.reportError("Specify a googleCalendarApiKey. See http://fullcalendar.io/docs/google_calendar/"),null)},e.prototype.reportError=function(t,e){var n=this.calendar,i=n.opt("googleCalendarError"),o=e||[{message:t}];this.googleCalendarError&&this.googleCalendarError.apply(n,o),i&&i.apply(n,o),s.warn.apply(null,[t].concat(e||[]))},e.prototype.getPrimitive=function(){return this.googleCalendarId},e.prototype.applyManualStandardProps=function(t){var e=s.EventSource.prototype.applyManualStandardProps.apply(this,arguments),n=t.googleCalendarId;return null==n&&t.url&&(n=i(t.url)),null!=n&&(this.googleCalendarId=n,e)},e.prototype.applyMiscProps=function(t){this.ajaxSettings||(this.ajaxSettings={}),a.extend(this.ajaxSettings,t)},e.API_BASE="https://www.googleapis.com/calendar/v3/calendars",e}(s.EventSource);e.default=l,l.defineStandardProps({url:!1,googleCalendarId:!1,googleCalendarApiKey:!0,googleCalendarError:!0})},3:function(t,n){t.exports=e}})})},IArr:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=(n.n(a),n("ITav")),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),u=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),l(e,[{key:"init",value:function(){this._addClickHandlerReducedInTableRow(this.selector,function(t){window.location=t})}}]),e}(s.a);e.a=u},ITav:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"_addClickHandlerReducedInTableRow",value:function(t,e){s()("body").on("click",t,function(t){if(!t.target.parentNode.isContentEditable&&!t.target.isContentEditable){var n=t.target;if(t.currentTarget.matches("tr"))for(;null!==n&&!n.matches("body");){if(n.matches("a")||n.matches("button"))return;n=n.parentNode}t.preventDefault(),t.stopPropagation();var i=s()(this).attr("data-href");i||(i=s()(this).attr("href")),e(i)}})}}]),e}(l.a);e.a=c},LT9G:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},Nnp9:function(t,e,n){var i,o,r;!function(a){o=[n("7t+N"),n("UZ9c")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(n){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e}})},O5V4:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("4klR"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),s(e,[{key:"getId",value:function(){return"recent-activities"}},{key:"init",value:function(){var t=document.querySelector(this.selector);if(null!==t){var e=t.querySelector("ul.dropdown-menu");this.attributes=e.dataset,this.itemList=e.querySelector("li > ul.menu");var n=this,i=function(){n.reloadRecentActivities()};setTimeout(i,500),document.addEventListener("kimai.timesheetStop",i),document.addEventListener("kimai.activityUpdate",i),document.addEventListener("kimai.projectUpdate",i),document.addEventListener("kimai.customerUpdate",i)}}},{key:"emptyList",value:function(){this.itemList.innerHTML=""}},{key:"setEntries",value:function(t){if(0===t.length)return void this.emptyList();var e="",n=!0,i=!1,o=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var s=r.value,l=this.attributes.template.replace("%customer%",s.project.customer.name).replace("%project%",s.project.name).replace("%activity%",s.activity.name);e+='<li><a href="'+this.attributes.href.replace("000",s.id)+'" data-event="kimai.timesheetStart kimai.timesheetUpdate" class="api-link" data-method="PATCH" data-msg-error="timesheet.start.error" data-msg-success="timesheet.start.success"><i class="'+this.attributes.icon+'"></i> '+l+"</a></li>"}}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}this.itemList.innerHTML=e}},{key:"reloadRecentActivities",value:function(){var t=this;this.getContainer().getPlugin("api").get(this.attributes.api,{},function(e){t.setEntries(e)})}}]),e}(a.a);e.a=l},ORgI:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})},Orr0:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("ITav"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),s(e,[{key:"init",value:function(){var t=this;document.addEventListener("click",function(e){for(var n=e.target;null!==n&&!n.matches("body");)n.classList.contains(t.selector)&&function(){var i=n.dataset,o=i.href;o||(o=n.getAttribute("href")),void 0!==i.question?t.getContainer().getPlugin("alert").question(i.question,function(e){e&&t._callApi(o,i)}):t._callApi(o,i),e.preventDefault(),e.stopPropagation()}(),n=n.parentNode})}},{key:"_callApi",value:function(t,e){var n=e.method,i=e.event,o=this.getContainer().getPlugin("api"),r=this.getContainer().getPlugin("event"),a=this.getContainer().getPlugin("alert"),s=function(t){r.trigger(i),e.msgSuccess&&a.success(e.msgSuccess)},l=function(t,n){var i="action.update.error";e.msgError&&(i=e.msgError),t.responseJSON&&t.responseJSON.message&&(n=t.responseJSON.message),a.error(i,n)};if("PATCH"===n){var u={};e.payload&&(u=e.payload),o.patch(t,u,s,l)}else"DELETE"===n&&o.delete(t,s,l)}}]),e}(a.a);e.a=l},PJh5:function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return Ii.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function r(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var n in e)u(e,n)&&(t[n]=e[n]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Se(t,e,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return null==t._pf&&(t._pf=h()),t._pf}function p(t){if(null==t._isValid){var e=f(t),n=Oi.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function m(t){var e=d(NaN);return null!=t?c(f(e),t):f(e).userInvalidated=!0,e}function g(t,e){var n,i,o;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=f(e)),r(e._locale)||(t._locale=e._locale),Li.length>0)for(n=0;n<Li.length;n++)i=Li[n],o=e[i],r(o)||(t[i]=o);return t}function v(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ri&&(Ri=!0,e.updateOffset(this),Ri=!1)}function y(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=b(e)),n}function x(t,e,n){var i,o=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),a=0;for(i=0;i<o;i++)(n&&t[i]!==e[i]||!n&&w(t[i])!==w(e[i]))&&a++;return a+r}function _(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function D(t,n){var i=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){for(var o,r=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){o+="\n["+a+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];r.push(o)}_(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Ai[t]||(_(n),Ai[t]=!0)}function S(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)e=t[n],S(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function M(t,e){var n,o=c({},t);for(n in e)u(e,n)&&(i(t[n])&&i(e[n])?(o[n]={},c(o[n],t[n]),c(o[n],e[n])):null!=e[n]?o[n]=e[n]:delete o[n]);for(n in t)u(t,n)&&!u(e,n)&&i(t[n])&&(o[n]=c({},o[n]));return o}function T(t){null!=t&&this.set(t)}function E(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return S(i)?i.call(e,n):i}function P(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function I(){return this._invalidDate}function O(t){return this._ordinal.replace("%d",t)}function L(t,e,n,i){var o=this._relativeTime[n];return S(o)?o(t,e,n,i):o.replace(/%d/i,t)}function R(t,e){var n=this._relativeTime[t>0?"future":"past"];return S(n)?n(e):n.replace(/%s/i,e)}function A(t,e){var n=t.toLowerCase();zi[n]=zi[n+"s"]=zi[e]=t}function H(t){return"string"==typeof t?zi[t]||zi[t.toLowerCase()]:void 0}function N(t){var e,n,i={};for(n in t)u(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}function F(t,e){Bi[t]=e}function Y(t){var e=[];for(var n in t)e.push({unit:n,priority:Bi[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function j(t,e,n){var i=""+Math.abs(t),o=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function z(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Ui[t]=o),e&&(Ui[e[0]]=function(){return j(o.apply(this,arguments),e[1],e[2])}),n&&(Ui[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function B(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function W(t){var e,n,i=t.match(Wi);for(e=0,n=i.length;e<n;e++)Ui[i[e]]?i[e]=Ui[i[e]]:i[e]=B(i[e]);return function(e){var o,r="";for(o=0;o<n;o++)r+=S(i[o])?i[o].call(e,t):i[o];return r}}function V(t,e){return t.isValid()?(e=$(e,t.localeData()),$i[e]=$i[e]||W(e),$i[e](t)):t.localeData().invalidDate()}function $(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Vi.lastIndex=0;i>=0&&Vi.test(t);)t=t.replace(Vi,n),Vi.lastIndex=0,i-=1;return t}function U(t,e,n){co[t]=S(e)?e:function(t,i){return t&&n?n:e}}function q(t,e){return u(co,t)?co[t](e._strict,e._locale):new RegExp(G(t))}function G(t){return J(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}))}function J(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),a(e)&&(i=function(t,n){n[e]=w(t)}),n=0;n<t.length;n++)ho[t[n]]=i}function X(t,e){Z(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function K(t,e,n){null!=e&&u(ho,t)&&ho[t](e,n._a,n,t)}function Q(t){return tt(t)?366:365}function tt(t){return t%4==0&&t%100!=0||t%400==0}function et(){return tt(this.year())}function nt(t,n){return function(i){return null!=i?(ot(this,t,i),e.updateOffset(this,n),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ot(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function rt(t){return t=H(t),S(this[t])?this[t]():this}function at(t,e){if("object"==typeof t){t=N(t);for(var n=Y(t),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit])}else if(t=H(t),S(this[t]))return this[t](e);return this}function st(t,e){return(t%e+e)%e}function lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=st(e,12);return t+=(e-n)/12,1===n?tt(t)?29:28:31-n%7%2}function ut(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ko).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function ct(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ko.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(t,e,n){var i,o,r,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?(o=_o.call(this._shortMonthsParse,a),-1!==o?o:null):(o=_o.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===e?-1!==(o=_o.call(this._shortMonthsParse,a))?o:(o=_o.call(this._longMonthsParse,a),-1!==o?o:null):-1!==(o=_o.call(this._longMonthsParse,a))?o:(o=_o.call(this._shortMonthsParse,a),-1!==o?o:null)}function ht(t,e,n){var i,o,r;if(this._monthsParseExact)return dt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function ft(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(e=t.localeData().monthsParse(e),!a(e))return t;return n=Math.min(t.date(),lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function pt(t){return null!=t?(ft(this,t),e.updateOffset(this,!0),this):it(this,"Month")}function mt(){return lt(this.year(),this.month())}function gt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||yt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Mo),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function vt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||yt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=To),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function yt(){function t(t,e){return e.length-t.length}var e,n,i=[],o=[],r=[];for(e=0;e<12;e++)n=d([2e3,e]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),o.sort(t),r.sort(t),e=0;e<12;e++)i[e]=J(i[e]),o[e]=J(o[e]);for(e=0;e<24;e++)r[e]=J(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function bt(t,e,n,i,o,r,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,o,r,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,o,r,a),s}function wt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function xt(t,e,n){var i=7+e-n;return-(7+wt(t,0,i).getUTCDay()-e)%7+i-1}function _t(t,e,n,i,o){var r,a,s=(7+n-i)%7,l=xt(t,i,o),u=1+7*(e-1)+s+l;return u<=0?(r=t-1,a=Q(r)+u):u>Q(t)?(r=t+1,a=u-Q(t)):(r=t,a=u),{year:r,dayOfYear:a}}function Dt(t,e,n){var i,o,r=xt(t.year(),e,n),a=Math.floor((t.dayOfYear()-r-1)/7)+1;return a<1?(o=t.year()-1,i=a+kt(o,e,n)):a>kt(t.year(),e,n)?(i=a-kt(t.year(),e,n),o=t.year()+1):(o=t.year(),i=a),{week:i,year:o}}function kt(t,e,n){var i=xt(t,e,n),o=xt(t+1,e,n);return(Q(t)-i+o)/7}function St(t){return Dt(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function Mt(){return this._week.doy}function Tt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Et(t){var e=Dt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Pt(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function It(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ot(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Lt(t,e){var i=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ot(i,this._week.dow):t?i[t.day()]:i}function Rt(t){return!0===t?Ot(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function At(t){return!0===t?Ot(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ht(t,e,n){var i,o,r,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?(o=_o.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===e?(o=_o.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=_o.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===e?-1!==(o=_o.call(this._weekdaysParse,a))?o:-1!==(o=_o.call(this._shortWeekdaysParse,a))?o:(o=_o.call(this._minWeekdaysParse,a),-1!==o?o:null):"ddd"===e?-1!==(o=_o.call(this._shortWeekdaysParse,a))?o:-1!==(o=_o.call(this._weekdaysParse,a))?o:(o=_o.call(this._minWeekdaysParse,a),-1!==o?o:null):-1!==(o=_o.call(this._minWeekdaysParse,a))?o:-1!==(o=_o.call(this._weekdaysParse,a))?o:(o=_o.call(this._shortWeekdaysParse,a),-1!==o?o:null)}function Nt(t,e,n){var i,o,r;if(this._weekdaysParseExact)return Ht.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Pt(t,this.localeData()),this.add(t-e,"d")):e}function Yt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function jt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=It(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function zt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Lo),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ro),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Wt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ao),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Vt(){function t(t,e){return e.length-t.length}var e,n,i,o,r,a=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(i),s.push(o),l.push(r),u.push(i),u.push(o),u.push(r);for(a.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=J(s[e]),l[e]=J(l[e]),u[e]=J(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $t(){return this.hours()%12||12}function Ut(){return this.hours()||24}function qt(t,e){z(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Gt(t,e){return e._meridiemParse}function Jt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Zt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t){return t?t.toLowerCase().replace("_","-"):t}function Kt(t){for(var e,n,i,o,r=0;r<t.length;){for(o=Xt(t[r]).split("-"),e=o.length,n=Xt(t[r+1]),n=n?n.split("-"):null;e>0;){if(i=Qt(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&x(o,n,!0)>=e-1)break;e--}r++}return Ho}function Qt(e){var n=null;if(!jo[e]&&void 0!==t&&t&&t.exports)try{n=Ho._abbr;!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),te(n)}catch(t){}return jo[e]}function te(t,e){var n;return t&&(n=r(e)?ie(t):ee(t,e),n?Ho=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Ho._abbr}function ee(t,e){if(null!==e){var n,i=Yo;if(e.abbr=t,null!=jo[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=jo[t]._config;else if(null!=e.parentLocale)if(null!=jo[e.parentLocale])i=jo[e.parentLocale]._config;else{if(null==(n=Qt(e.parentLocale)))return zo[e.parentLocale]||(zo[e.parentLocale]=[]),zo[e.parentLocale].push({name:t,config:e}),null;i=n._config}return jo[t]=new T(M(i,e)),zo[t]&&zo[t].forEach(function(t){ee(t.name,t.config)}),te(t),jo[t]}return delete jo[t],null}function ne(t,e){if(null!=e){var n,i,o=Yo;i=Qt(t),null!=i&&(o=i._config),e=M(o,e),n=new T(e),n.parentLocale=jo[t],jo[t]=n,te(t)}else null!=jo[t]&&(null!=jo[t].parentLocale?jo[t]=jo[t].parentLocale:null!=jo[t]&&delete jo[t]);return jo[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ho;if(!n(t)){if(e=Qt(t))return e;t=[t]}return Kt(t)}function oe(){return Hi(jo)}function re(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[po]<0||n[po]>11?po:n[mo]<1||n[mo]>lt(n[fo],n[po])?mo:n[go]<0||n[go]>24||24===n[go]&&(0!==n[vo]||0!==n[yo]||0!==n[bo])?go:n[vo]<0||n[vo]>59?vo:n[yo]<0||n[yo]>59?yo:n[bo]<0||n[bo]>999?bo:-1,f(t)._overflowDayOfYear&&(e<fo||e>mo)&&(e=mo),f(t)._overflowWeeks&&-1===e&&(e=wo),f(t)._overflowWeekday&&-1===e&&(e=xo),f(t).overflow=e),t}function ae(t,e,n){return null!=t?t:null!=e?e:n}function se(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,i,o,r,a=[];if(!t._d){for(i=se(t),t._w&&null==t._a[mo]&&null==t._a[po]&&ue(t),null!=t._dayOfYear&&(r=ae(t._a[fo],i[fo]),(t._dayOfYear>Q(r)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=wt(r,0,t._dayOfYear),t._a[po]=n.getUTCMonth(),t._a[mo]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[go]&&0===t._a[vo]&&0===t._a[yo]&&0===t._a[bo]&&(t._nextDay=!0,t._a[go]=0),t._d=(t._useUTC?wt:bt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[go]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}function ue(t){var e,n,i,o,r,a,s,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)r=1,a=4,n=ae(e.GG,t._a[fo],Dt(Ce(),1,4).year),i=ae(e.W,1),((o=ae(e.E,1))<1||o>7)&&(l=!0);else{r=t._locale._week.dow,a=t._locale._week.doy;var u=Dt(Ce(),r,a);n=ae(e.gg,t._a[fo],u.year),i=ae(e.w,u.week),null!=e.d?((o=e.d)<0||o>6)&&(l=!0):null!=e.e?(o=e.e+r,(e.e<0||e.e>6)&&(l=!0)):o=r}i<1||i>kt(n,r,a)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=_t(n,i,o,r,a),t._a[fo]=s.year,t._dayOfYear=s.dayOfYear)}function ce(t){var e,n,i,o,r,a,s=t._i,l=Bo.exec(s)||Wo.exec(s);if(l){for(f(t).iso=!0,e=0,n=$o.length;e<n;e++)if($o[e][1].exec(l[1])){o=$o[e][0],i=!1!==$o[e][2];break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,n=Uo.length;e<n;e++)if(Uo[e][1].exec(l[3])){r=(l[2]||" ")+Uo[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!Vo.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=o+(r||"")+(a||""),ye(t)}else t._isValid=!1}function de(t,e,n,i,o,r){var a=[he(t),Co.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&a.push(parseInt(r,10)),a}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function fe(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function pe(t,e,n){if(t){if(Io.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function me(t,e,n){if(t)return Jo[t];if(e)return 0;var i=parseInt(n,10),o=i%100;return(i-o)/100*60+o}function ge(t){var e=Go.exec(fe(t._i));if(e){var n=de(e[4],e[3],e[2],e[5],e[6],e[7]);if(!pe(e[1],n,t))return;t._a=n,t._tzm=me(e[8],e[9],e[10]),t._d=wt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function ve(t){var n=qo.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ce(t),!1===t._isValid&&(delete t._isValid,ge(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function ye(t){if(t._f===e.ISO_8601)return void ce(t);if(t._f===e.RFC_2822)return void ge(t);t._a=[],f(t).empty=!0;var n,i,o,r,a,s=""+t._i,l=s.length,u=0;for(o=$(t._f,t._locale).match(Wi)||[],n=0;n<o.length;n++)r=o[n],i=(s.match(q(r,t))||[])[0],i&&(a=s.substr(0,s.indexOf(i)),a.length>0&&f(t).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),u+=i.length),Ui[r]?(i?f(t).empty=!1:f(t).unusedTokens.push(r),K(r,i,t)):t._strict&&!i&&f(t).unusedTokens.push(r);f(t).charsLeftOver=l-u,s.length>0&&f(t).unusedInput.push(s),t._a[go]<=12&&!0===f(t).bigHour&&t._a[go]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[go]=be(t._locale,t._a[go],t._meridiem),le(t),re(t)}function be(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function we(t){var e,n,i,o,r;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)r=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],ye(e),p(e)&&(r+=f(e).charsLeftOver,r+=10*f(e).unusedTokens.length,f(e).score=r,(null==i||r<i)&&(i=r,n=e));c(t,n||e)}function xe(t){if(!t._d){var e=N(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function _e(t){var e=new v(re(De(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function De(t){var e=t._i,i=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new v(re(e)):(s(e)?t._d=e:n(i)?we(t):i?ye(t):ke(t),p(t)||(t._d=null),t))}function ke(t){var o=t._i;r(o)?t._d=new Date(e.now()):s(o)?t._d=new Date(o.valueOf()):"string"==typeof o?ve(t):n(o)?(t._a=l(o.slice(0),function(t){return parseInt(t,10)}),le(t)):i(o)?xe(t):a(o)?t._d=new Date(o):e.createFromInputFallback(t)}function Se(t,e,r,a,s){var l={};return!0!==r&&!1!==r||(a=r,r=void 0),(i(t)&&o(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=r,l._i=t,l._f=e,l._strict=a,_e(l)}function Ce(t,e,n,i){return Se(t,e,n,i,!1)}function Me(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Ce();for(i=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](i)||(i=e[o]);return i}function Te(){return Me("isBefore",[].slice.call(arguments,0))}function Ee(){return Me("isAfter",[].slice.call(arguments,0))}function Pe(t){for(var e in t)if(-1===_o.call(Qo,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<Qo.length;++i)if(t[Qo[i]]){if(n)return!1;parseFloat(t[Qo[i]])!==w(t[Qo[i]])&&(n=!0)}return!0}function Ie(){return this._isValid}function Oe(){return Xe(NaN)}function Le(t){var e=N(t),n=e.year||0,i=e.quarter||0,o=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._isValid=Pe(e),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ie(),this._bubble()}function Re(t){return t instanceof Le}function Ae(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function He(t,e){z(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+j(~~(t/60),2)+e+j(~~t%60,2)})}function Ne(t,e){var n=(e||"").match(t);if(null===n)return null;var i=n[n.length-1]||[],o=(i+"").match(tr)||["-",0,0],r=60*o[1]+w(o[2]);return 0===r?0:"+"===o[0]?r:-r}function Fe(t,n){var i,o;return n._isUTC?(i=n.clone(),o=(y(t)||s(t)?t.valueOf():Ce(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),e.updateOffset(i,!1),i):Ce(t).local()}function Ye(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function je(t,n,i){var o,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ne(so,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(o=Ye(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),r!==t&&(!n||this._changeInProgress?nn(this,Xe(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ye(this)}function ze(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Be(t){return this.utcOffset(0,t)}function We(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this}function Ve(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ne(ao,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function $e(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ue(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),t=De(t),t._a){var e=t._isUTC?d(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&x(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ge(){return!!this.isValid()&&!this._isUTC}function Je(){return!!this.isValid()&&this._isUTC}function Ze(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,i,o,r=t,s=null;return Re(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(r={},e?r[e]=t:r.milliseconds=t):(s=er.exec(t))?(n="-"===s[1]?-1:1,r={y:0,d:w(s[mo])*n,h:w(s[go])*n,m:w(s[vo])*n,s:w(s[yo])*n,ms:w(Ae(1e3*s[bo]))*n}):(s=nr.exec(t))?(n="-"===s[1]?-1:1,r={y:Ke(s[2],n),M:Ke(s[3],n),w:Ke(s[4],n),d:Ke(s[5],n),h:Ke(s[6],n),m:Ke(s[7],n),s:Ke(s[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=tn(Ce(r.from),Ce(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new Le(r),Re(t)&&u(t,"_locale")&&(i._locale=t._locale),i}function Ke(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Qe(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function tn(t,e){var n;return t.isValid()&&e.isValid()?(e=Fe(e,t),t.isBefore(e)?n=Qe(t,e):(n=Qe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function en(t,e){return function(n,i){var o,r;return null===i||isNaN(+i)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),n="string"==typeof n?+n:n,o=Xe(n,i),nn(this,o,t),this}}function nn(t,n,i,o){var r=n._milliseconds,a=Ae(n._days),s=Ae(n._months);t.isValid()&&(o=null==o||o,s&&ft(t,it(t,"Month")+s*i),a&&ot(t,"Date",it(t,"Date")+a*i),r&&t._d.setTime(t._d.valueOf()+r*i),o&&e.updateOffset(t,a||s))}function on(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function rn(t,n){var i=t||Ce(),o=Fe(i,this).startOf("day"),r=e.calendarFormat(this,o)||"sameElse",a=n&&(S(n[r])?n[r].call(this,i):n[r]);return this.format(a||this.localeData().calendar(r,this,Ce(i)))}function an(){return new v(this)}function sn(t,e){var n=y(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function ln(t,e){var n=y(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function un(t,e,n,i){var o=y(t)?t:Ce(t),r=y(e)?e:Ce(e);return!!(this.isValid()&&o.isValid()&&r.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n)))}function cn(t,e){var n,i=y(t)?t:Ce(t);return!(!this.isValid()||!i.isValid())&&(e=H(e)||"millisecond","millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function dn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function fn(t,e,n){var i,o,r;if(!this.isValid())return NaN;if(i=Fe(t,this),!i.isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":r=pn(this,i)/12;break;case"month":r=pn(this,i);break;case"quarter":r=pn(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:b(r)}function pn(t,e){var n,i,o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return e-r<0?(n=t.clone().add(o-1,"months"),i=(e-r)/(r-n)):(n=t.clone().add(o+1,"months"),i=(e-r)/(n-r)),-(o+i)||0}function mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+o)}function yn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=V(this,t);return this.localeData().postformat(n)}function bn(t,e){return this.isValid()&&(y(t)&&t.isValid()||Ce(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function wn(t){return this.from(Ce(),t)}function xn(t,e){return this.isValid()&&(y(t)&&t.isValid()||Ce(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function _n(t){return this.to(Ce(),t)}function Dn(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function kn(){return this._locale}function Sn(t,e){return(t%e+e)%e}function Cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-ur:new Date(t,e,n).valueOf()}function Mn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-ur:Date.UTC(t,e,n)}function Tn(t){var n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?Mn:Cn;switch(t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Sn(n+(this._isUTC?0:this.utcOffset()*sr),lr);break;case"minute":n=this._d.valueOf(),n-=Sn(n,sr);break;case"second":n=this._d.valueOf(),n-=Sn(n,ar)}return this._d.setTime(n),e.updateOffset(this,!0),this}function En(t){var n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?Mn:Cn;switch(t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=lr-Sn(n+(this._isUTC?0:this.utcOffset()*sr),lr)-1;break;case"minute":n=this._d.valueOf(),n+=sr-Sn(n,sr)-1;break;case"second":n=this._d.valueOf(),n+=ar-Sn(n,ar)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function Pn(){return this._d.valueOf()-6e4*(this._offset||0)}function In(){return Math.floor(this.valueOf()/1e3)}function On(){return new Date(this.valueOf())}function Ln(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Rn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function An(){return this.isValid()?this.toISOString():null}function Hn(){return p(this)}function Nn(){return c({},f(this))}function Fn(){return f(this).overflow}function Yn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(t,e){z(0,[t,t.length],0,e)}function zn(t){return $n.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Bn(t){return $n.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Wn(){return kt(this.year(),1,4)}function Vn(){var t=this.localeData()._week;return kt(this.year(),t.dow,t.doy)}function $n(t,e,n,i,o){var r;return null==t?Dt(this,i,o).year:(r=kt(t,i,o),e>r&&(e=r),Un.call(this,t,e,n,i,o))}function Un(t,e,n,i,o){var r=_t(t,e,n,i,o),a=wt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Gn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Jn(t,e){e[bo]=w(1e3*("0."+t))}function Zn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function Kn(t){return Ce(1e3*t)}function Qn(){return Ce.apply(null,arguments).parseZone()}function ti(t){return t}function ei(t,e,n,i){var o=ie(),r=d().set(i,e);return o[n](r,t)}function ni(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return ei(t,e,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=ei(t,i,n,"month");return o}function ii(t,e,n,i){"boolean"==typeof t?(a(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,a(e)&&(n=e,e=void 0),e=e||"");var o=ie(),r=t?o._week.dow:0;if(null!=n)return ei(e,(n+r)%7,i,"day");var s,l=[];for(s=0;s<7;s++)l[s]=ei(e,(s+r)%7,i,"day");return l}function oi(t,e){return ni(t,e,"months")}function ri(t,e){return ni(t,e,"monthsShort")}function ai(t,e,n){return ii(t,e,n,"weekdays")}function si(t,e,n){return ii(t,e,n,"weekdaysShort")}function li(t,e,n){return ii(t,e,n,"weekdaysMin")}function ui(){var t=this._data;return this._milliseconds=vr(this._milliseconds),this._days=vr(this._days),this._months=vr(this._months),t.milliseconds=vr(t.milliseconds),t.seconds=vr(t.seconds),t.minutes=vr(t.minutes),t.hours=vr(t.hours),t.months=vr(t.months),t.years=vr(t.years),this}function ci(t,e,n,i){var o=Xe(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function di(t,e){return ci(this,t,e,1)}function hi(t,e){return ci(this,t,e,-1)}function fi(t){return t<0?Math.floor(t):Math.ceil(t)}function pi(){var t,e,n,i,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*fi(gi(s)+a),a=0,s=0),l.milliseconds=r%1e3,t=b(r/1e3),l.seconds=t%60,e=b(t/60),l.minutes=e%60,n=b(e/60),l.hours=n%24,a+=b(n/24),o=b(mi(a)),s+=o,a-=fi(gi(o)),i=b(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function mi(t){return 4800*t/146097}function gi(t){return 146097*t/4800}function vi(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+mi(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(gi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function yi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN}function bi(t){return function(){return this.as(t)}}function wi(){return Xe(this)}function xi(t){return t=H(t),this.isValid()?this[t+"s"]():NaN}function _i(t){return function(){return this.isValid()?this._data[t]:NaN}}function Di(){return b(this.days()/7)}function ki(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function Si(t,e,n){var i=Xe(t).abs(),o=Rr(i.as("s")),r=Rr(i.as("m")),a=Rr(i.as("h")),s=Rr(i.as("d")),l=Rr(i.as("M")),u=Rr(i.as("y")),c=o<=Ar.ss&&["s",o]||o<Ar.s&&["ss",o]||r<=1&&["m"]||r<Ar.m&&["mm",r]||a<=1&&["h"]||a<Ar.h&&["hh",a]||s<=1&&["d"]||s<Ar.d&&["dd",s]||l<=1&&["M"]||l<Ar.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,ki.apply(null,c)}function Ci(t){return void 0===t?Rr:"function"==typeof t&&(Rr=t,!0)}function Mi(t,e){return void 0!==Ar[t]&&(void 0===e?Ar[t]:(Ar[t]=e,"s"===t&&(Ar.ss=e-1),!0))}function Ti(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Si(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ei(t){return(t>0)-(t<0)||+t}function Pi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i=Hr(this._milliseconds)/1e3,o=Hr(this._days),r=Hr(this._months);t=b(i/60),e=b(t/60),i%=60,t%=60,n=b(r/12),r%=12;var a=n,s=r,l=o,u=e,c=t,d=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var f=h<0?"-":"",p=Ei(this._months)!==Ei(h)?"-":"",m=Ei(this._days)!==Ei(h)?"-":"",g=Ei(this._milliseconds)!==Ei(h)?"-":"";return f+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(l?m+l+"D":"")+(u||c||d?"T":"")+(u?g+u+"H":"")+(c?g+c+"M":"")+(d?g+d+"S":"")}var Ii,Oi;Oi=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var Li=e.momentProperties=[],Ri=!1,Ai={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Hi;Hi=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)u(t,e)&&n.push(e);return n};var Ni={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Yi=/\d{1,2}/,ji={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},zi={},Bi={},Wi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Vi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$i={},Ui={},qi=/\d/,Gi=/\d\d/,Ji=/\d{3}/,Zi=/\d{4}/,Xi=/[+-]?\d{6}/,Ki=/\d\d?/,Qi=/\d\d\d\d?/,to=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,no=/\d{1,4}/,io=/[+-]?\d{1,6}/,oo=/\d+/,ro=/[+-]?\d+/,ao=/Z|[+-]\d\d:?\d\d/gi,so=/Z|[+-]\d\d(?::?\d\d)?/gi,lo=/[+-]?\d+(\.\d{1,3})?/,uo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,co={},ho={},fo=0,po=1,mo=2,go=3,vo=4,yo=5,bo=6,wo=7,xo=8;z("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),z(0,["YY",2],0,function(){return this.year()%100}),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),A("year","y"),F("year",1),U("Y",ro),U("YY",Ki,Gi),U("YYYY",no,Zi),U("YYYYY",io,Xi),U("YYYYYY",io,Xi),Z(["YYYYY","YYYYYY"],fo),Z("YYYY",function(t,n){n[fo]=2===t.length?e.parseTwoDigitYear(t):w(t)}),Z("YY",function(t,n){n[fo]=e.parseTwoDigitYear(t)}),Z("Y",function(t,e){e[fo]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return w(t)+(w(t)>68?1900:2e3)};var _o,Do=nt("FullYear",!0);_o=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},z("M",["MM",2],"Mo",function(){return this.month()+1}),z("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),z("MMMM",0,0,function(t){return this.localeData().months(this,t)}),A("month","M"),F("month",8),U("M",Ki),U("MM",Ki,Gi),U("MMM",function(t,e){return e.monthsShortRegex(t)}),U("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[po]=w(t)-1}),Z(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[po]=o:f(n).invalidMonth=t});var ko=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,So="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Co="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mo=uo,To=uo;z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),F("week",5),F("isoWeek",5),U("w",Ki),U("ww",Ki,Gi),U("W",Ki),U("WW",Ki,Gi),X(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=w(t)});var Eo={dow:0,doy:6};z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),U("d",Ki),U("e",Ki),U("E",Ki),U("dd",function(t,e){return e.weekdaysMinRegex(t)}),U("ddd",function(t,e){return e.weekdaysShortRegex(t)}),U("dddd",function(t,e){return e.weekdaysRegex(t)}),X(["dd","ddd","dddd"],function(t,e,n,i){var o=n._locale.weekdaysParse(t,i,n._strict);null!=o?e.d=o:f(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,i){e[i]=w(t)});var Po="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Io="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Oo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lo=uo,Ro=uo,Ao=uo;z("H",["HH",2],0,"hour"),z("h",["hh",2],0,$t),z("k",["kk",2],0,Ut),z("hmm",0,0,function(){return""+$t.apply(this)+j(this.minutes(),2)}),z("hmmss",0,0,function(){return""+$t.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),qt("a",!0),qt("A",!1),A("hour","h"),F("hour",13),U("a",Gt),U("A",Gt),U("H",Ki),U("h",Ki),U("k",Ki),U("HH",Ki,Gi),U("hh",Ki,Gi),U("kk",Ki,Gi),U("hmm",Qi),U("hmmss",to),U("Hmm",Qi),U("Hmmss",to),Z(["H","HH"],go),Z(["k","kk"],function(t,e,n){var i=w(t);e[go]=24===i?0:i}),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[go]=w(t),f(n).bigHour=!0}),Z("hmm",function(t,e,n){var i=t.length-2;e[go]=w(t.substr(0,i)),e[vo]=w(t.substr(i)),f(n).bigHour=!0}),Z("hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[go]=w(t.substr(0,i)),e[vo]=w(t.substr(i,2)),e[yo]=w(t.substr(o)),f(n).bigHour=!0}),Z("Hmm",function(t,e,n){var i=t.length-2;e[go]=w(t.substr(0,i)),e[vo]=w(t.substr(i))}),Z("Hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[go]=w(t.substr(0,i)),e[vo]=w(t.substr(i,2)),e[yo]=w(t.substr(o))});var Ho,No=/[ap]\.?m?\.?/i,Fo=nt("Hours",!0),Yo={calendar:Ni,longDateFormat:Fi,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Yi,relativeTime:ji,months:So,monthsShort:Co,week:Eo,weekdays:Po,weekdaysMin:Oo,weekdaysShort:Io,meridiemParse:No},jo={},zo={},Bo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Wo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/Z|[+-]\d\d(?::?\d\d)?/,$o=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Uo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qo=/^\/?Date\((\-?\d+)/i,Go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Jo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Zo=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Xo=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()}),Ko=function(){return Date.now?Date.now():+new Date},Qo=["year","quarter","month","week","day","hour","minute","second","millisecond"];He("Z",":"),He("ZZ",""),U("Z",so),U("ZZ",so),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ne(so,t)});var tr=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var er=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,nr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Le.prototype,Xe.invalid=Oe;var ir=en(1,"add"),or=en(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var rr=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ar=1e3,sr=60*ar,lr=60*sr,ur=3506328*lr;z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),jn("gggg","weekYear"),jn("ggggg","weekYear"),jn("GGGG","isoWeekYear"),jn("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),U("G",ro),U("g",ro),U("GG",Ki,Gi),U("gg",Ki,Gi),U("GGGG",no,Zi),U("gggg",no,Zi),U("GGGGG",io,Xi),U("ggggg",io,Xi),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=w(t)}),X(["gg","GG"],function(t,n,i,o){n[o]=e.parseTwoDigitYear(t)}),z("Q",0,"Qo","quarter"),A("quarter","Q"),F("quarter",7),U("Q",qi),Z("Q",function(t,e){e[po]=3*(w(t)-1)}),z("D",["DD",2],"Do","date"),A("date","D"),F("date",9),U("D",Ki),U("DD",Ki,Gi),U("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],mo),Z("Do",function(t,e){e[mo]=w(t.match(Ki)[0])});var cr=nt("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),F("dayOfYear",4),U("DDD",eo),U("DDDD",Ji),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=w(t)}),z("m",["mm",2],0,"minute"),A("minute","m"),F("minute",14),U("m",Ki),U("mm",Ki,Gi),Z(["m","mm"],vo);var dr=nt("Minutes",!1);z("s",["ss",2],0,"second"),A("second","s"),F("second",15),U("s",Ki),U("ss",Ki,Gi),Z(["s","ss"],yo);var hr=nt("Seconds",!1);z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),F("millisecond",16),U("S",eo,qi),U("SS",eo,Gi),U("SSS",eo,Ji);var fr;for(fr="SSSS";fr.length<=9;fr+="S")U(fr,oo);for(fr="S";fr.length<=9;fr+="S")Z(fr,Jn);var pr=nt("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var mr=v.prototype;mr.add=ir,mr.calendar=rn,mr.clone=an,mr.diff=fn,mr.endOf=En,mr.format=yn,mr.from=bn,mr.fromNow=wn,mr.to=xn,mr.toNow=_n,mr.get=rt,mr.invalidAt=Fn,mr.isAfter=sn,mr.isBefore=ln,mr.isBetween=un,mr.isSame=cn,mr.isSameOrAfter=dn,mr.isSameOrBefore=hn,mr.isValid=Hn,mr.lang=rr,mr.locale=Dn,mr.localeData=kn,mr.max=Xo,mr.min=Zo,mr.parsingFlags=Nn,mr.set=at,mr.startOf=Tn,mr.subtract=or,mr.toArray=Ln,mr.toObject=Rn,mr.toDate=On,mr.toISOString=gn,mr.inspect=vn,mr.toJSON=An,mr.toString=mn,mr.unix=In,mr.valueOf=Pn,mr.creationData=Yn,mr.year=Do,mr.isLeapYear=et,mr.weekYear=zn,mr.isoWeekYear=Bn,mr.quarter=mr.quarters=qn,mr.month=pt,mr.daysInMonth=mt,mr.week=mr.weeks=Tt,mr.isoWeek=mr.isoWeeks=Et,mr.weeksInYear=Vn,mr.isoWeeksInYear=Wn,mr.date=cr,mr.day=mr.days=Ft,mr.weekday=Yt,mr.isoWeekday=jt,mr.dayOfYear=Gn,mr.hour=mr.hours=Fo,mr.minute=mr.minutes=dr,mr.second=mr.seconds=hr,mr.millisecond=mr.milliseconds=pr,mr.utcOffset=je,mr.utc=Be,mr.local=We,mr.parseZone=Ve,mr.hasAlignedHourOffset=$e,mr.isDST=Ue,mr.isLocal=Ge,mr.isUtcOffset=Je,mr.isUtc=Ze,mr.isUTC=Ze,mr.zoneAbbr=Zn,mr.zoneName=Xn,mr.dates=D("dates accessor is deprecated. Use date instead.",cr),mr.months=D("months accessor is deprecated. Use month instead",pt),mr.years=D("years accessor is deprecated. Use year instead",Do),mr.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ze),mr.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var gr=T.prototype;gr.calendar=E,gr.longDateFormat=P,gr.invalidDate=I,gr.ordinal=O,gr.preparse=ti,gr.postformat=ti,gr.relativeTime=L,gr.pastFuture=R,gr.set=C,gr.months=ut,gr.monthsShort=ct,gr.monthsParse=ht,gr.monthsRegex=vt,gr.monthsShortRegex=gt,gr.week=St,gr.firstDayOfYear=Mt,gr.firstDayOfWeek=Ct,gr.weekdays=Lt,gr.weekdaysMin=At,gr.weekdaysShort=Rt,gr.weekdaysParse=Nt,gr.weekdaysRegex=zt,gr.weekdaysShortRegex=Bt,gr.weekdaysMinRegex=Wt,gr.isPM=Jt,gr.meridiem=Zt,te("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",te),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",ie);var vr=Math.abs,yr=bi("ms"),br=bi("s"),wr=bi("m"),xr=bi("h"),_r=bi("d"),Dr=bi("w"),kr=bi("M"),Sr=bi("Q"),Cr=bi("y"),Mr=_i("milliseconds"),Tr=_i("seconds"),Er=_i("minutes"),Pr=_i("hours"),Ir=_i("days"),Or=_i("months"),Lr=_i("years"),Rr=Math.round,Ar={ss:44,s:45,m:45,h:22,d:26,M:11},Hr=Math.abs,Nr=Le.prototype;return Nr.isValid=Ie,Nr.abs=ui,Nr.add=di,Nr.subtract=hi,Nr.as=vi,Nr.asMilliseconds=yr,Nr.asSeconds=br,Nr.asMinutes=wr,Nr.asHours=xr,Nr.asDays=_r,Nr.asWeeks=Dr,Nr.asMonths=kr,Nr.asQuarters=Sr,Nr.asYears=Cr,Nr.valueOf=yi,Nr._bubble=pi,Nr.clone=wi,Nr.get=xi,Nr.milliseconds=Mr,Nr.seconds=Tr,Nr.minutes=Er,Nr.hours=Pr,Nr.days=Ir,Nr.weeks=Di,Nr.months=Or,Nr.years=Lr,Nr.humanize=Ti,Nr.toISOString=Pi,Nr.toString=Pi,Nr.toJSON=Pi,Nr.locale=Dn,Nr.localeData=kn,Nr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pi),Nr.lang=rr,z("X",0,0,"unix"),z("x",0,0,"valueOf"),U("x",ro),U("X",lo),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(w(t))}),e.version="2.24.0",function(t){Ii=t}(Ce),e.fn=mr,e.min=Te,e.max=Ee,e.now=Ko,e.utc=d,e.unix=Kn,e.months=oi,e.isDate=s,e.locale=te,e.invalid=m,e.duration=Xe,e.isMoment=y,e.weekdays=ai,e.parseZone=Qn,e.localeData=ie,e.isDuration=Re,e.monthsShort=ri,e.weekdaysMin=li,e.defineLocale=ee,e.updateLocale=ne,e.locales=oe,e.weekdaysShort=si,e.normalizeUnits=H,e.relativeTimeRounding=Ci,e.relativeTimeThreshold=Mi,e.calendarFormat=on,e.prototype=mr,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})}).call(e,n("3IRH")(t))},"PL/P":function(t,e,n){var i,o;/**
* @version: 3.0.5
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: http://www.daterangepicker.com/
*/
!function(r,a){i=[n("PJh5"),n("7t+N")],void 0!==(o=function(t,e){return e.fn||(e.fn={}),"function"!=typeof t&&t.default&&(t=t.default),a(t,e)}.apply(e,i))&&(t.exports=o)}(0,function(t,e){var n=function(n,i,o){if(this.parentEl="body",this.element=e(n),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof i&&null!==i||(i={}),i=e.extend(this.element.data(),i),"string"==typeof i.template||i.template instanceof e||(i.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=e(i.parentEl&&e(i.parentEl).length?i.parentEl:this.parentEl),this.container=e(i.template).appendTo(this.parentEl),"object"==typeof i.locale&&("string"==typeof i.locale.direction&&(this.locale.direction=i.locale.direction),"string"==typeof i.locale.format&&(this.locale.format=i.locale.format),"string"==typeof i.locale.separator&&(this.locale.separator=i.locale.separator),"object"==typeof i.locale.daysOfWeek&&(this.locale.daysOfWeek=i.locale.daysOfWeek.slice()),"object"==typeof i.locale.monthNames&&(this.locale.monthNames=i.locale.monthNames.slice()),"number"==typeof i.locale.firstDay&&(this.locale.firstDay=i.locale.firstDay),"string"==typeof i.locale.applyLabel&&(this.locale.applyLabel=i.locale.applyLabel),"string"==typeof i.locale.cancelLabel&&(this.locale.cancelLabel=i.locale.cancelLabel),"string"==typeof i.locale.weekLabel&&(this.locale.weekLabel=i.locale.weekLabel),"string"==typeof i.locale.customRangeLabel)){var r=document.createElement("textarea");r.innerHTML=i.locale.customRangeLabel;var a=r.value;this.locale.customRangeLabel=a}if(this.container.addClass(this.locale.direction),"string"==typeof i.startDate&&(this.startDate=t(i.startDate,this.locale.format)),"string"==typeof i.endDate&&(this.endDate=t(i.endDate,this.locale.format)),"string"==typeof i.minDate&&(this.minDate=t(i.minDate,this.locale.format)),"string"==typeof i.maxDate&&(this.maxDate=t(i.maxDate,this.locale.format)),"object"==typeof i.startDate&&(this.startDate=t(i.startDate)),"object"==typeof i.endDate&&(this.endDate=t(i.endDate)),"object"==typeof i.minDate&&(this.minDate=t(i.minDate)),"object"==typeof i.maxDate&&(this.maxDate=t(i.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof i.applyButtonClasses&&(this.applyButtonClasses=i.applyButtonClasses),"string"==typeof i.applyClass&&(this.applyButtonClasses=i.applyClass),"string"==typeof i.cancelButtonClasses&&(this.cancelButtonClasses=i.cancelButtonClasses),"string"==typeof i.cancelClass&&(this.cancelButtonClasses=i.cancelClass),"object"==typeof i.maxSpan&&(this.maxSpan=i.maxSpan),"object"==typeof i.dateLimit&&(this.maxSpan=i.dateLimit),"string"==typeof i.opens&&(this.opens=i.opens),"string"==typeof i.drops&&(this.drops=i.drops),"boolean"==typeof i.showWeekNumbers&&(this.showWeekNumbers=i.showWeekNumbers),"boolean"==typeof i.showISOWeekNumbers&&(this.showISOWeekNumbers=i.showISOWeekNumbers),"string"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses),"object"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses.join(" ")),"boolean"==typeof i.showDropdowns&&(this.showDropdowns=i.showDropdowns),"number"==typeof i.minYear&&(this.minYear=i.minYear),"number"==typeof i.maxYear&&(this.maxYear=i.maxYear),"boolean"==typeof i.showCustomRangeLabel&&(this.showCustomRangeLabel=i.showCustomRangeLabel),"boolean"==typeof i.singleDatePicker&&(this.singleDatePicker=i.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof i.timePicker&&(this.timePicker=i.timePicker),"boolean"==typeof i.timePickerSeconds&&(this.timePickerSeconds=i.timePickerSeconds),"number"==typeof i.timePickerIncrement&&(this.timePickerIncrement=i.timePickerIncrement),"boolean"==typeof i.timePicker24Hour&&(this.timePicker24Hour=i.timePicker24Hour),"boolean"==typeof i.autoApply&&(this.autoApply=i.autoApply),"boolean"==typeof i.autoUpdateInput&&(this.autoUpdateInput=i.autoUpdateInput),"boolean"==typeof i.linkedCalendars&&(this.linkedCalendars=i.linkedCalendars),"function"==typeof i.isInvalidDate&&(this.isInvalidDate=i.isInvalidDate),"function"==typeof i.isCustomDate&&(this.isCustomDate=i.isCustomDate),"boolean"==typeof i.alwaysShowCalendars&&(this.alwaysShowCalendars=i.alwaysShowCalendars),0!=this.locale.firstDay)for(var s=this.locale.firstDay;s>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),s--;var l,u,c;if(void 0===i.startDate&&void 0===i.endDate&&e(this.element).is(":text")){var d=e(this.element).val(),h=d.split(this.locale.separator);l=u=null,2==h.length?(l=t(h[0],this.locale.format),u=t(h[1],this.locale.format)):this.singleDatePicker&&""!==d&&(l=t(d,this.locale.format),u=t(d,this.locale.format)),null!==l&&null!==u&&(this.setStartDate(l),this.setEndDate(u))}if("object"==typeof i.ranges){for(c in i.ranges){l="string"==typeof i.ranges[c][0]?t(i.ranges[c][0],this.locale.format):t(i.ranges[c][0]),u="string"==typeof i.ranges[c][1]?t(i.ranges[c][1],this.locale.format):t(i.ranges[c][1]),this.minDate&&l.isBefore(this.minDate)&&(l=this.minDate.clone());var f=this.maxDate;if(this.maxSpan&&f&&l.clone().add(this.maxSpan).isAfter(f)&&(f=l.clone().add(this.maxSpan)),f&&u.isAfter(f)&&(u=f.clone()),!(this.minDate&&u.isBefore(this.minDate,this.timepicker?"minute":"day")||f&&l.isAfter(f,this.timepicker?"minute":"day"))){var r=document.createElement("textarea");r.innerHTML=c;var a=r.value;this.ranges[a]=[l,u]}}var p="<ul>";for(c in this.ranges)p+='<li data-range-key="'+c+'">'+c+"</li>";this.showCustomRangeLabel&&(p+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),p+="</ul>",this.container.find(".ranges").prepend(p)}"function"==typeof o&&(this.callback=o),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof i.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),this.timePicker||this.container.addClass("auto-apply")),(void 0===i.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",e.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",e.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",e.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",e.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",e.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",e.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",e.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",e.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":e.proxy(this.show,this),"focus.daterangepicker":e.proxy(this.show,this),"keyup.daterangepicker":e.proxy(this.elementChanged,this),"keydown.daterangepicker":e.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",e.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",e.proxy(this.toggle,this))),this.updateElement()};return n.prototype={constructor:n,setStartDate:function(e){"string"==typeof e&&(this.startDate=t(e,this.locale.format)),"object"==typeof e&&(this.startDate=t(e)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(e){"string"==typeof e&&(this.endDate=t(e,this.locale.format)),"object"==typeof e&&(this.endDate=t(e)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var t,e,n;if(this.endDate){if(t=parseInt(this.container.find(".left .hourselect").val(),10),e=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(e)&&(e=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var i=this.container.find(".left .ampmselect").val();"PM"===i&&t<12&&(t+=12),"AM"===i&&12===t&&(t=0)}}else if(t=parseInt(this.container.find(".right .hourselect").val(),10),e=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(e)&&(e=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var i=this.container.find(".right .ampmselect").val();"PM"===i&&t<12&&(t+=12),"AM"===i&&12===t&&(t=0)}this.leftCalendar.month.hour(t).minute(e).second(n),this.rightCalendar.month.hour(t).minute(e).second(n)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(n){var i="left"==n?this.leftCalendar:this.rightCalendar,o=i.month.month(),r=i.month.year(),a=i.month.hour(),s=i.month.minute(),l=i.month.second(),u=t([r,o]).daysInMonth(),c=t([r,o,1]),d=t([r,o,u]),h=t(c).subtract(1,"month").month(),f=t(c).subtract(1,"month").year(),p=t([f,h]).daysInMonth(),m=c.day(),i=[];i.firstDay=c,i.lastDay=d;for(var g=0;g<6;g++)i[g]=[];var v=p-m+this.locale.firstDay+1;v>p&&(v-=7),m==this.locale.firstDay&&(v=p-6);for(var y,b,w=t([f,h,v,12,s,l]),g=0,y=0,b=0;g<42;g++,y++,w=t(w).add(24,"hour"))g>0&&y%7==0&&(y=0,b++),i[b][y]=w.clone().hour(a).minute(s).second(l),w.hour(12),this.minDate&&i[b][y].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&i[b][y].isBefore(this.minDate)&&"left"==n&&(i[b][y]=this.minDate.clone()),this.maxDate&&i[b][y].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&i[b][y].isAfter(this.maxDate)&&"right"==n&&(i[b][y]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=i:this.rightCalendar.calendar=i;var x="left"==n?this.minDate:this.startDate,_=this.maxDate,D=("left"==n?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">');D+="<thead>",D+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(D+="<th></th>"),x&&!x.isBefore(i.firstDay)||this.linkedCalendars&&"left"!=n?D+="<th></th>":D+='<th class="prev available"><span></span></th>';var k=this.locale.monthNames[i[1][1].month()]+i[1][1].format(" YYYY");if(this.showDropdowns){for(var S=i[1][1].month(),C=i[1][1].year(),M=_&&_.year()||this.maxYear,T=x&&x.year()||this.minYear,E=C==T,P=C==M,I='<select class="monthselect">',O=0;O<12;O++)(!E||x&&O>=x.month())&&(!P||_&&O<=_.month())?I+="<option value='"+O+"'"+(O===S?" selected='selected'":"")+">"+this.locale.monthNames[O]+"</option>":I+="<option value='"+O+"'"+(O===S?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[O]+"</option>";I+="</select>";for(var L='<select class="yearselect">',R=T;R<=M;R++)L+='<option value="'+R+'"'+(R===C?' selected="selected"':"")+">"+R+"</option>";L+="</select>",k=I+L}if(D+='<th colspan="5" class="month">'+k+"</th>",_&&!_.isAfter(i.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?D+="<th></th>":D+='<th class="next available"><span></span></th>',D+="</tr>",D+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(D+='<th class="week">'+this.locale.weekLabel+"</th>"),e.each(this.locale.daysOfWeek,function(t,e){D+="<th>"+e+"</th>"}),D+="</tr>",D+="</thead>",D+="<tbody>",null==this.endDate&&this.maxSpan){var A=this.startDate.clone().add(this.maxSpan).endOf("day");_&&!A.isBefore(_)||(_=A)}for(var b=0;b<6;b++){D+="<tr>",this.showWeekNumbers?D+='<td class="week">'+i[b][0].week()+"</td>":this.showISOWeekNumbers&&(D+='<td class="week">'+i[b][0].isoWeek()+"</td>");for(var y=0;y<7;y++){var H=[];i[b][y].isSame(new Date,"day")&&H.push("today"),i[b][y].isoWeekday()>5&&H.push("weekend"),i[b][y].month()!=i[1][1].month()&&H.push("off","ends"),this.minDate&&i[b][y].isBefore(this.minDate,"day")&&H.push("off","disabled"),_&&i[b][y].isAfter(_,"day")&&H.push("off","disabled"),this.isInvalidDate(i[b][y])&&H.push("off","disabled"),i[b][y].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&H.push("active","start-date"),null!=this.endDate&&i[b][y].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&H.push("active","end-date"),null!=this.endDate&&i[b][y]>this.startDate&&i[b][y]<this.endDate&&H.push("in-range");var N=this.isCustomDate(i[b][y]);!1!==N&&("string"==typeof N?H.push(N):Array.prototype.push.apply(H,N));for(var F="",Y=!1,g=0;g<H.length;g++)F+=H[g]+" ","disabled"==H[g]&&(Y=!0);Y||(F+="available"),D+='<td class="'+F.replace(/^\s+|\s+$/g,"")+'" data-title="r'+b+"c"+y+'">'+i[b][y].date()+"</td>"}D+="</tr>"}D+="</tbody>",D+="</table>",this.container.find(".drp-calendar."+n+" .calendar-table").html(D)},renderTimePicker:function(t){if("right"!=t||this.endDate){var e,n,i,o=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(o=this.startDate.clone().add(this.maxSpan)),"left"==t)n=this.startDate.clone(),i=this.minDate;else if("right"==t){n=this.endDate.clone(),i=this.startDate;var r=this.container.find(".drp-calendar.right .calendar-time");if(""!=r.html()&&(n.hour(isNaN(n.hour())?r.find(".hourselect option:selected").val():n.hour()),n.minute(isNaN(n.minute())?r.find(".minuteselect option:selected").val():n.minute()),n.second(isNaN(n.second())?r.find(".secondselect option:selected").val():n.second()),!this.timePicker24Hour)){var a=r.find(".ampmselect option:selected").val();"PM"===a&&n.hour()<12&&n.hour(n.hour()+12),"AM"===a&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),o&&n.isAfter(o)&&(n=o.clone())}e='<select class="hourselect">';for(var s=this.timePicker24Hour?0:1,l=this.timePicker24Hour?23:12,u=s;u<=l;u++){var c=u;this.timePicker24Hour||(c=n.hour()>=12?12==u?12:u+12:12==u?0:u);var d=n.clone().hour(c),h=!1;i&&d.minute(59).isBefore(i)&&(h=!0),o&&d.minute(0).isAfter(o)&&(h=!0),c!=n.hour()||h?e+=h?'<option value="'+u+'" disabled="disabled" class="disabled">'+u+"</option>":'<option value="'+u+'">'+u+"</option>":e+='<option value="'+u+'" selected="selected">'+u+"</option>"}e+="</select> ",e+=': <select class="minuteselect">';for(var u=0;u<60;u+=this.timePickerIncrement){var f=u<10?"0"+u:u,d=n.clone().minute(u),h=!1;i&&d.second(59).isBefore(i)&&(h=!0),o&&d.second(0).isAfter(o)&&(h=!0),n.minute()!=u||h?e+=h?'<option value="'+u+'" disabled="disabled" class="disabled">'+f+"</option>":'<option value="'+u+'">'+f+"</option>":e+='<option value="'+u+'" selected="selected">'+f+"</option>"}if(e+="</select> ",this.timePickerSeconds){e+=': <select class="secondselect">';for(var u=0;u<60;u++){var f=u<10?"0"+u:u,d=n.clone().second(u),h=!1;i&&d.isBefore(i)&&(h=!0),o&&d.isAfter(o)&&(h=!0),n.second()!=u||h?e+=h?'<option value="'+u+'" disabled="disabled" class="disabled">'+f+"</option>":'<option value="'+u+'">'+f+"</option>":e+='<option value="'+u+'" selected="selected">'+f+"</option>"}e+="</select> "}if(!this.timePicker24Hour){e+='<select class="ampmselect">';var p="",m="";i&&n.clone().hour(12).minute(0).second(0).isBefore(i)&&(p=' disabled="disabled" class="disabled"'),o&&n.clone().hour(0).minute(0).second(0).isAfter(o)&&(m=' disabled="disabled" class="disabled"'),n.hour()>=12?e+='<option value="AM"'+p+'>AM</option><option value="PM" selected="selected"'+m+">PM</option>":e+='<option value="AM" selected="selected"'+p+'>AM</option><option value="PM"'+m+">PM</option>",e+="</select>"}this.container.find(".drp-calendar."+t+" .calendar-time").html(e)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var t,n={top:0,left:0},i=e(window).width();this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},i=this.parentEl[0].clientWidth+this.parentEl.offset().left),t="up"==this.drops?this.element.offset().top-this.container.outerHeight()-n.top:this.element.offset().top+this.element.outerHeight()-n.top,this.container.css({top:0,left:0,right:"auto"});var o=this.container.outerWidth();if(this.container["up"==this.drops?"addClass":"removeClass"]("drop-up"),"left"==this.opens){var r=i-this.element.offset().left-this.element.outerWidth();o+r>e(window).width()?this.container.css({top:t,right:"auto",left:9}):this.container.css({top:t,right:r,left:"auto"})}else if("center"==this.opens){var a=this.element.offset().left-n.left+this.element.outerWidth()/2-o/2;a<0?this.container.css({top:t,right:"auto",left:9}):a+o>e(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:a,right:"auto"})}else{var a=this.element.offset().left-n.left;a+o>e(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:a,right:"auto"})}},show:function(t){this.isShowing||(this._outsideClickProxy=e.proxy(function(t){this.outsideClick(t)},this),e(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),e(window).on("resize.daterangepicker",e.proxy(function(t){this.move(t)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(t){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),e(document).off(".daterangepicker"),e(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(t){this.isShowing?this.hide():this.show()},outsideClick:function(t){var n=e(t.target);"focusin"==t.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(t){var e=t.target.getAttribute("data-range-key");if(this.chosenLabel=e,e==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[e];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(t){if(e(t.target).hasClass("available")){var n=e(t.target).attr("data-title"),i=n.substr(1,1),o=n.substr(3,1),r=e(t.target).parents(".drp-calendar"),a=r.hasClass("left")?this.leftCalendar.calendar[i][o]:this.rightCalendar.calendar[i][o],s=this.leftCalendar,l=this.rightCalendar,u=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(t,n){if(!e(n).hasClass("week")){var i=e(n).attr("data-title"),o=i.substr(1,1),r=i.substr(3,1),c=e(n).parents(".drp-calendar"),d=c.hasClass("left")?s.calendar[o][r]:l.calendar[o][r];d.isAfter(u)&&d.isBefore(a)||d.isSame(a,"day")?e(n).addClass("in-range"):e(n).removeClass("in-range")}})}},clickDate:function(t){if(e(t.target).hasClass("available")){var n=e(t.target).attr("data-title"),i=n.substr(1,1),o=n.substr(3,1),r=e(t.target).parents(".drp-calendar"),a=r.hasClass("left")?this.leftCalendar.calendar[i][o]:this.rightCalendar.calendar[i][o];if(this.endDate||a.isBefore(this.startDate,"day")){if(this.timePicker){var s=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var l=this.container.find(".left .ampmselect").val();"PM"===l&&s<12&&(s+=12),"AM"===l&&12===s&&(s=0)}var u=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(u)&&(u=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var c=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;a=a.clone().hour(s).minute(u).second(c)}this.endDate=null,this.setStartDate(a.clone())}else if(!this.endDate&&a.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var s=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var l=this.container.find(".right .ampmselect").val();"PM"===l&&s<12&&(s+=12),"AM"===l&&12===s&&(s=0)}var u=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(u)&&(u=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var c=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;a=a.clone().hour(s).minute(u).second(c)}this.setEndDate(a.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),t.stopPropagation()}},calculateChosenLabel:function(){var t=!0,e=0;for(var n in this.ranges){if(this.timePicker){var i=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(i)==this.ranges[n][0].format(i)&&this.endDate.format(i)==this.ranges[n][1].format(i)){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}e++}t&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(t){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(t){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(t){var n=e(t.target).closest(".drp-calendar").hasClass("left"),i=n?"left":"right",o=this.container.find(".drp-calendar."+i),r=parseInt(o.find(".monthselect").val(),10),a=o.find(".yearselect").val();n||(a<this.startDate.year()||a==this.startDate.year()&&r<this.startDate.month())&&(r=this.startDate.month(),a=this.startDate.year()),this.minDate&&(a<this.minDate.year()||a==this.minDate.year()&&r<this.minDate.month())&&(r=this.minDate.month(),a=this.minDate.year()),this.maxDate&&(a>this.maxDate.year()||a==this.maxDate.year()&&r>this.maxDate.month())&&(r=this.maxDate.month(),a=this.maxDate.year()),n?(this.leftCalendar.month.month(r).year(a),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(r).year(a),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(t){var n=e(t.target).closest(".drp-calendar"),i=n.hasClass("left"),o=parseInt(n.find(".hourselect").val(),10),r=parseInt(n.find(".minuteselect").val(),10);isNaN(r)&&(r=parseInt(n.find(".minuteselect option:last").val(),10));var a=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var s=n.find(".ampmselect").val();"PM"===s&&o<12&&(o+=12),"AM"===s&&12===o&&(o=0)}if(i){var l=this.startDate.clone();l.hour(o),l.minute(r),l.second(a),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var u=this.endDate.clone();u.hour(o),u.minute(r),u.second(a),this.setEndDate(u)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var e=this.element.val().split(this.locale.separator),n=null,i=null;2===e.length&&(n=t(e[0],this.locale.format),i=t(e[1],this.locale.format)),(this.singleDatePicker||null===n||null===i)&&(n=t(this.element.val(),this.locale.format),i=n),n.isValid()&&i.isValid()&&(this.setStartDate(n),this.setEndDate(i),this.updateView())}},keydown:function(t){9!==t.keyCode&&13!==t.keyCode||this.hide(),27===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var t=this.startDate.format(this.locale.format);this.singleDatePicker||(t+=this.locale.separator+this.endDate.format(this.locale.format)),t!==this.element.val()&&this.element.val(t).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},e.fn.daterangepicker=function(t,i){var o=e.extend(!0,{},e.fn.daterangepicker.defaultOptions,t);return this.each(function(){var t=e(this);t.data("daterangepicker")&&t.data("daterangepicker").remove(),t.data("daterangepicker",new n(t,o,i))}),this},n})},R6CI:function(t,e){},RvrG:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("ITav"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),u(e,[{key:"getId",value:function(){return"modal"}},{key:"init",value:function(){var t=this;this._addClickHandlerReducedInTableRow(this.selector,function(e){t.openUrlInModal(e)})}},{key:"openUrlInModal",value:function(t,e){var n=this;void 0===e&&(e=function(e,i){if(void 0!==e.status&&403===e.status){return void n.getContainer().getPlugin("alert").error(e.statusText)}window.location=t}),s.a.ajax({url:t,success:function(t){n._openFormInModal(t)},error:e})}},{key:"_openFormInModal",value:function(t){var e=this,n="#remote_form_modal .modal-content form",i=s()(n),o=s()("#remote_form_modal");i.off("submit"),s()(t).find("#form_modal .modal-content").length>0&&(o.on("hidden.bs.modal",function(){o.hasClass("modal-danger")&&o.removeClass("modal-danger")}),s()(t).find("#form_modal").hasClass("modal-danger")&&o.addClass("modal-danger"),s()("#remote_form_modal .modal-content").replaceWith(s()(t).find("#form_modal .modal-content")),e.getContainer().getPlugin("date-time-picker").activateDateTimePicker(n),e.getContainer().getPlugin("autocomplete").activateAutocomplete(n+" .js-autocomplete"),s()(".selectpicker").selectpicker("refresh"));var r=s()(t).find("div.alert");r.length>0&&s()("#remote_form_modal .modal-body").prepend(r);var a=s.a.fn.modal.Constructor.prototype.enforceFocus;s.a.fn.modal.Constructor.prototype.enforceFocus=function(){},o.on("hidden.bs.modal",function(){s.a.fn.modal.Constructor.prototype.enforceFocus=a}),o.on("shown.bs.modal",function(){s()(this).find("input[type=text],textarea,select").filter(':not("[data-datetimepicker=on]")').filter(":visible:first").focus().delay(1e3).focus()}),o.modal("show"),i=s()(n),i.on("submit",function(t){var r=s()(n+" button[type=submit]").button("loading"),a=i.attr("data-form-event"),l=e.getContainer().getPlugin("event"),u=e.getContainer().getPlugin("alert");t.preventDefault(),t.stopPropagation(),s.a.ajax({url:i.attr("action"),type:i.attr("method"),data:i.serialize(),success:function(t){r.button("reset");var n=s()(t).find("#form_modal .modal-content .has-error").length>0,c=s()(t).find("#form_modal .modal-content ul.list-unstyled li.text-danger").length>0,d=s()(t).find("div.alert-error").length>0;if(n||c||d)e._openFormInModal(t);else{l.trigger(a);var h=i.attr("data-msg-success");if(null===h||void 0===h){var f=s()(t).find("section.content div.row div.alert.alert-success");if(f.length>0){var p=f.contents();3===p.length&&(h=p[2].textContent)}}null!==h&&void 0!==h||(h="action.update.success"),o.modal("hide"),u.success(h)}return!1},error:function(t,e){var n=i.attr("data-msg-error");null!==n&&void 0!==n||(n="action.update.error"),t.responseJSON&&t.responseJSON.message?e=t.responseJSON.message:t.status&&t.statusText&&(e="["+t.status+"] "+t.statusText),u.error(n,e)}})})}}]),e}(l.a);e.a=c},T4Pq:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),u(e,[{key:"getId",value:function(){return"select-data-api"}},{key:"init",value:function(){this.activateApiSelects(this.selector)}},{key:"activateApiSelects",value:function(t){var e=this,n=this.getContainer().getPlugin("api");s()("body").on("change",t,function(t){var i=s()(this).attr("data-api-url").replace("-s-",s()(this).val()),o="#"+s()(this).attr("data-related-select");if(0!==s()(o).length){if(""===s()(this).val()){if(void 0===s()(this).attr("data-empty-url"))return e._updateSelect(o,{}),void s()(o).attr("disabled","disabled");i=s()(this).attr("data-empty-url").replace("-s-",s()(this).val())}s()(o).removeAttr("disabled"),n.get(i,{},function(t){e._updateSelect(o,t)})}})}},{key:"_updateSelect",value:function(t,e){var n=s()(t),i=s()(t+' option[value=""]');n.find("option").remove().end().find("optgroup").remove().end(),0!==i.length&&n.append('<option value="">'+i.text()+"</option>"),s.a.each(e,function(t,e){n.append('<option value="'+e.id+'">'+e.name+"</option>")}),n.trigger("change"),s()(".selectpicker").selectpicker("refresh")}}]),e}(l.a);e.a=c},TqGs:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n("+NP7"),r=n("awG4"),a=n("4klR"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(){function t(e,n){if(i(this,t),!(e instanceof o.a))throw new Error("Configuration needs to a KimaiConfiguration instance");if(this._configuration=e,!(n instanceof r.a))throw new Error("Configuration needs to a KimaiTranslation instance");this._translation=n,this._plugins=[]}return s(t,[{key:"registerPlugin",value:function(t){if(!(t instanceof a.a))throw new Error("Invalid plugin given, needs to be a KimaiPlugin instance");return t.setContainer(this),this._plugins.push(t),t}},{key:"getPlugin",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,r=this._plugins[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value;if(null!==a.getId()&&a.getId()===t)return a}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}throw new Error("Unknown plugin: "+t)}},{key:"getPlugins",value:function(){return this._plugins}},{key:"getTranslation",value:function(){return this._translation}},{key:"getConfiguration",value:function(){return this._configuration}}]),t}();e.a=l},UGgp:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=183)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},183:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(184);var i=n(1);i.datepickerLocale("pt-br","pt-BR",{closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("pt-br",{buttonText:{month:"Mês",week:"Semana",day:"Dia",list:"Compromissos"},allDayText:"dia inteiro",eventLimitText:function(t){return"mais +"+t},noEventsMessage:"Não há eventos para mostrar"})},184:function(t,e,n){!function(t,e){!function(t){t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(0))}()}})})},UZ9c:function(t,e,n){var i,o,r;!function(a){o=[n("7t+N")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"})},Up1f:function(t,e,n){var i,o,r;/*!
* jQuery UI Position 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/position/
*/
!function(a){o=[n("7t+N"),n("UZ9c")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return function(){function e(t,e,n){return[parseFloat(t[0])*(d.test(t[0])?e/100:1),parseFloat(t[1])*(d.test(t[1])?n/100:1)]}function n(e,n){return parseInt(t.css(e,n),10)||0}function i(e){var n=e[0];return 9===n.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(n)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var o,r=Math.max,a=Math.abs,s=/left|center|right/,l=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,d=/%$/,h=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==o)return o;var e,n,i=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=i.children()[0];return t("body").append(i),e=r.offsetWidth,i.css("overflow","scroll"),n=r.offsetWidth,e===n&&(n=i[0].clientWidth),i.remove(),o=e-n},getScrollInfo:function(e){var n=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===n||"auto"===n&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:o?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var n=t(e||window),i=t.isWindow(n[0]),o=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:i,isDocument:o,offset:i||o?{left:0,top:0}:t(e).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},t.fn.position=function(o){if(!o||!o.of)return h.apply(this,arguments);o=t.extend({},o);var d,f,p,m,g,v,y=t(o.of),b=t.position.getWithinInfo(o.within),w=t.position.getScrollInfo(b),x=(o.collision||"flip").split(" "),_={};return v=i(y),y[0].preventDefault&&(o.at="left top"),f=v.width,p=v.height,m=v.offset,g=t.extend({},m),t.each(["my","at"],function(){var t,e,n=(o[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):l.test(n[0])?["center"].concat(n):["center","center"]),n[0]=s.test(n[0])?n[0]:"center",n[1]=l.test(n[1])?n[1]:"center",t=u.exec(n[0]),e=u.exec(n[1]),_[this]=[t?t[0]:0,e?e[0]:0],o[this]=[c.exec(n[0])[0],c.exec(n[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===o.at[0]?g.left+=f:"center"===o.at[0]&&(g.left+=f/2),"bottom"===o.at[1]?g.top+=p:"center"===o.at[1]&&(g.top+=p/2),d=e(_.at,f,p),g.left+=d[0],g.top+=d[1],this.each(function(){var i,s,l=t(this),u=l.outerWidth(),c=l.outerHeight(),h=n(this,"marginLeft"),v=n(this,"marginTop"),D=u+h+n(this,"marginRight")+w.width,k=c+v+n(this,"marginBottom")+w.height,S=t.extend({},g),C=e(_.my,l.outerWidth(),l.outerHeight());"right"===o.my[0]?S.left-=u:"center"===o.my[0]&&(S.left-=u/2),"bottom"===o.my[1]?S.top-=c:"center"===o.my[1]&&(S.top-=c/2),S.left+=C[0],S.top+=C[1],i={marginLeft:h,marginTop:v},t.each(["left","top"],function(e,n){t.ui.position[x[e]]&&t.ui.position[x[e]][n](S,{targetWidth:f,targetHeight:p,elemWidth:u,elemHeight:c,collisionPosition:i,collisionWidth:D,collisionHeight:k,offset:[d[0]+C[0],d[1]+C[1]],my:o.my,at:o.at,within:b,elem:l})}),o.using&&(s=function(t){var e=m.left-S.left,n=e+f-u,i=m.top-S.top,s=i+p-c,d={target:{element:y,left:m.left,top:m.top,width:f,height:p},element:{element:l,left:S.left,top:S.top,width:u,height:c},horizontal:n<0?"left":e>0?"right":"center",vertical:s<0?"top":i>0?"bottom":"middle"};f<u&&a(e+n)<f&&(d.horizontal="center"),p<c&&a(i+s)<p&&(d.vertical="middle"),r(a(e),a(n))>r(a(i),a(s))?d.important="horizontal":d.important="vertical",o.using.call(this,t,d)}),l.offset(t.extend(S,{using:s}))})},t.ui.position={fit:{left:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollLeft:i.offset.left,a=i.width,s=t.left-e.collisionPosition.marginLeft,l=o-s,u=s+e.collisionWidth-a-o;e.collisionWidth>a?l>0&&u<=0?(n=t.left+l+e.collisionWidth-a-o,t.left+=l-n):t.left=u>0&&l<=0?o:l>u?o+a-e.collisionWidth:o:l>0?t.left+=l:u>0?t.left-=u:t.left=r(t.left-s,t.left)},top:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollTop:i.offset.top,a=e.within.height,s=t.top-e.collisionPosition.marginTop,l=o-s,u=s+e.collisionHeight-a-o;e.collisionHeight>a?l>0&&u<=0?(n=t.top+l+e.collisionHeight-a-o,t.top+=l-n):t.top=u>0&&l<=0?o:l>u?o+a-e.collisionHeight:o:l>0?t.top+=l:u>0?t.top-=u:t.top=r(t.top-s,t.top)}},flip:{left:function(t,e){var n,i,o=e.within,r=o.offset.left+o.scrollLeft,s=o.width,l=o.isWindow?o.scrollLeft:o.offset.left,u=t.left-e.collisionPosition.marginLeft,c=u-l,d=u+e.collisionWidth-s-l,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];c<0?((n=t.left+h+f+p+e.collisionWidth-s-r)<0||n<a(c))&&(t.left+=h+f+p):d>0&&((i=t.left-e.collisionPosition.marginLeft+h+f+p-l)>0||a(i)<d)&&(t.left+=h+f+p)},top:function(t,e){var n,i,o=e.within,r=o.offset.top+o.scrollTop,s=o.height,l=o.isWindow?o.scrollTop:o.offset.top,u=t.top-e.collisionPosition.marginTop,c=u-l,d=u+e.collisionHeight-s-l,h="top"===e.my[1],f=h?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,p="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];c<0?((i=t.top+f+p+m+e.collisionHeight-s-r)<0||i<a(c))&&(t.top+=f+p+m):d>0&&((n=t.top-e.collisionPosition.marginTop+f+p+m-l)>0||a(n)<d)&&(t.top+=f+p+m)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position})},WByX:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),u(e,[{key:"getId",value:function(){return"datatable"}},{key:"init",value:function(){var t=document.querySelector(this.selector);if(null!==t){var e=t.dataset,n=e.reloadEvent;if(void 0!==n){var i=this,o=function(){i.reloadDatatable()},r=!0,a=!1,s=void 0;try{for(var l,u=n.split(" ")[Symbol.iterator]();!(r=(l=u.next()).done);r=!0){var c=l.value;document.addEventListener(c,o)}}catch(t){a=!0,s=t}finally{try{!r&&u.return&&u.return()}finally{if(a)throw s}}}}}},{key:"reloadDatatable",value:function(){var t=this.getContainer().getPlugin("timesheet-duration"),e=s()(".toolbar form");s()("section.content").append('<div class="overlay"><i class="fas fa-sync fa-spin"></i></div>');var n=s()(".toolbar form :input").filter(function(t,e){return""!=s()(e).val()}).serialize();s.a.ajax({url:e.attr("action"),type:e.attr("method"),data:n,success:function(e){s()("section.content").replaceWith(s()(e).find("section.content")),t.updateRecords()},error:function(t,n){e.submit()}})}}]),e}(l.a);e.a=c},WFwX:function(t,e){},WLoA:function(t,e,n){var i,o,r;/*!
* jQuery UI Keycode 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(a){o=[n("7t+N"),n("UZ9c")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})},YVa9:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"init",value:function(){s()(".dropdown-toggle").dropdown(),s()('[data-toggle="tooltip"]').tooltip()}}]),e}(l.a);e.a=c},aGkv:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=145)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},145:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(146);var i=n(1);i.datepickerLocale("hu","hu",{closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""}),i.locale("hu",{buttonText:{month:"Hónap",week:"Hét",day:"Nap",list:"Napló"},allDayText:"Egész nap",eventLimitText:"további",noEventsMessage:"Nincs megjeleníthető esemény"})},146:function(t,e,n){!function(t,e){!function(t){function e(t,e,n,i){var o=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return o+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return o+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return o+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return o+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return o+(i||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+i[this.day()]+"] LT[-kor]"}var i="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))}()}})})},awG4:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function t(e){i(this,t),this._translations=e}return o(t,[{key:"get",value:function(t){return this._translations[t]}},{key:"has",value:function(t){return t in this._translations}}]),t}();e.a=r},bsvz:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=153)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},153:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(154);var i=n(1);i.datepickerLocale("ja","ja",{closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),i.locale("ja",{buttonText:{month:"月",week:"週",day:"日",list:"予定リスト"},allDayText:"終日",eventLimitText:function(t){return"他 "+t+" 件"},noEventsMessage:"表示する予定はありません"})},154:function(t,e,n){!function(t,e){!function(t){t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(0))}()}})})},c0dd:function(t,e,n){(function(t){var e=n("7t+N");t.$=t.jQuery=e,n("jf49"),n("DBzq"),n("tNVI");var i=n("PJh5");t.moment=i,n("DOkx"),n("FKXc"),n("tzHd"),n("LT9G"),n("ulq9"),n("3MVc"),n("xne+"),n("AoDM"),n("Fpqq"),n("ORgI"),n("PL/P"),n("WFwX"),n("R6CI"),n("iES9"),n("FDd9"),t.$.AdminLTE={},t.$.AdminLTE.options={},n("Dehm"),n("l77c"),n("nyna"),n("olwm"),n("GOEF"),n("5pSg"),n("mEMJ"),n("x/W5"),n("oWa1"),n("6/V7"),n("nDZU"),n("aGkv"),n("UGgp"),n("tqWD"),n("bsvz"),n("AixB"),n("1QPC"),n("95j/"),n("EmE7"),n("mN5h"),n("qqAM")}).call(e,n("DuR2"))},ddt0:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("4klR"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),s(e,[{key:"getId",value:function(){return"event"}},{key:"trigger",value:function(t,e){if(null!==t&&void 0!==t){var n=!0,i=!1,o=void 0;try{for(var r,a=t.split(" ")[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var s=r.value,l=new Event(s);void 0!==e&&(l=new CustomEvent(t,{detail:e})),document.dispatchEvent(l)}}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}}}}]),e}(a.a);e.a=l},e7x4:function(t,e,n){/*!
* sweetalert2 v8.10.7
* Released under the MIT License.
*/
!function(e,n){t.exports=n()}(0,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function u(t,e,n){return u=l()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var o=Function.bind.apply(t,i),r=new o;return n&&s(r,n.prototype),r},u.apply(null,arguments)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function h(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=h(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function p(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return gt(t,st[e]);case"checkbox":return t.querySelector(".".concat(st.checkbox," input"));case"radio":return t.querySelector(".".concat(st.radio," input:checked"))||t.querySelector(".".concat(st.radio," input:first-child"));case"range":return t.querySelector(".".concat(st.range," input"));default:return gt(t,st.input)}}function m(t,e,n){pt([t,e],st.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}function g(t,e,n){wt(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=st[e],dt(t,n.customClass,e+"Button"),pt(t,n[e+"ButtonClass"])}function v(t,e){"string"==typeof e?t.style.background=e:e||pt([document.documentElement,document.body],st["no-backdrop"])}function y(t,e){e in st?pt(t,st[e]):(X('The "position" parameter is not valid, defaulting to "center"'),pt(t,st.center))}function b(t,e){if(e&&"string"==typeof e){var n="grow-"+e;n in st&&pt(t,st[n])}}function w(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return u(t,n)}function x(t){return function(n){function s(){return e(this,s),d(this,a(s).apply(this,arguments))}return r(s,n),i(s,[{key:"_main",value:function(e){return f(a(s.prototype),"_main",this).call(this,o({},t,e))}}]),s}(this)}function _(){var t=ae.innerParams.get(this),e=ae.domCache.get(this);t.showConfirmButton||(bt(e.confirmButton),t.showCancelButton||bt(e.actions)),mt([e.popup,e.actions],st.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function D(t){var e=ae.innerParams.get(t||this);return p(ae.domCache.get(t||this).content,e.input)}function k(t,e,n){e?vn(n):(Ye().then(function(){return vn(n)}),Ne.keydownTarget.removeEventListener("keydown",Ne.keydownHandler,{capture:Ne.keydownListenerCapture}),Ne.keydownHandlerAdded=!1),delete Ne.keydownHandler,delete Ne.keydownTarget,t.parentNode&&t.parentNode.removeChild(t),S(),Bt()&&(an(),ln(),hn(),pn())}function S(){mt([document.documentElement,document.body],[st.shown,st["height-auto"],st["no-backdrop"],st["toast-shown"],st["toast-column"]])}function C(t,e,n,i){t.removeEventListener(ne,C),ct(t,st.hide)&&k(e,n,i),gn(ae),gn(mn)}function M(t){var e=kt(),n=Mt(),i=ae.innerParams.get(this),o=mn.swalPromiseResolve.get(this),r=i.onClose,a=i.onAfterClose;n&&!ct(n,st.hide)&&(mt(n,st.show),pt(n,st.hide),ne&&_t(n)?n.addEventListener(ne,C.bind(null,n,e,Wt(),a)):k(e,Wt(),a),null!==r&&"function"==typeof r&&r(n),o(t||{}),delete this.params)}function T(t,e,n){var i=ae.domCache.get(t);e.forEach(function(t){i[t].disabled=n})}function E(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode,i=n.querySelectorAll("input"),o=0;o<i.length;o++)i[o].disabled=e;else t.disabled=e}function P(){T(this,["confirmButton","cancelButton"],!1)}function I(){T(this,["confirmButton","cancelButton"],!0)}function O(){et("Swal.disableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')"),T(this,["confirmButton"],!1)}function L(){et("Swal.enableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')"),T(this,["confirmButton"],!0)}function R(){return E(this.getInput(),!1)}function A(){return E(this.getInput(),!0)}function H(t){var e=ae.domCache.get(this);e.validationMessage.innerHTML=t;var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),yt(e.validationMessage);var i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedBy",st["validation-message"]),ht(i),pt(i,st.inputerror))}function N(){var t=ae.domCache.get(this);t.validationMessage&&bt(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),mt(e,st.inputerror))}function F(){return et("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),ae.innerParams.get(this).progressSteps}function Y(t){et("Swal.setProgressSteps()","Swal.update()");var e=ae.innerParams.get(this),n=o({},e,{progressSteps:t});De(this,n),ae.innerParams.set(this,n)}function j(){var t=ae.domCache.get(this);yt(t.progressSteps)}function z(){var t=ae.domCache.get(this);bt(t.progressSteps)}function B(t){t.inputValidator||Object.keys(bn).forEach(function(e){t.input===e&&(t.inputValidator=bn[e])}),t.showLoaderOnConfirm&&!t.preConfirm&&X("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),t.animation=nt(t.animation),(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(X('Target parameter is not valid, defaulting to "body"'),t.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />"));var e=Mt(),n="string"==typeof t.target?document.querySelector(t.target):t.target;(!e||e&&n&&e.parentNode!==n.parentNode)&&Qt(t)}function W(t,e){t.removeEventListener(ne,W),e.style.overflowY="auto"}function V(t){var e=this;nn(t);var n=o({},Ue,t);B(n),Object.freeze(n),Ne.timeout&&(Ne.timeout.stop(),delete Ne.timeout),clearTimeout(Ne.restoreFocusTimeout);var i={popup:Mt(),container:kt(),content:It(),actions:Nt(),confirmButton:At(),cancelButton:Ht(),closeButton:jt(),validationMessage:Rt(),progressSteps:Lt()};ae.domCache.set(this,i),Me(this,n),ae.innerParams.set(this,n);var r=this.constructor;return new Promise(function(t){var o=function(t){e.closePopup({value:t})},a=function(t){e.closePopup({dismiss:t})};mn.swalPromiseResolve.set(e,t),n.timer&&(Ne.timeout=new yn(function(){a("timer"),delete Ne.timeout},n.timer));var s=function(){var t=e.getInput();if(!t)return null;switch(n.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return n.inputAutoTrim?t.value.trim():t.value}};n.input&&setTimeout(function(){var t=e.getInput();t&&ht(t)},0);for(var l=function(t){if(n.showLoaderOnConfirm&&r.showLoading(),n.preConfirm){e.resetValidationMessage();Promise.resolve().then(function(){return n.preConfirm(t,n.validationMessage)}).then(function(n){xt(i.validationMessage)||!1===n?e.hideLoading():o(void 0===n?t:n)})}else o(t)},u=function(t){var o=t.target,u=i.confirmButton,c=i.cancelButton,d=u&&(u===o||u.contains(o)),h=c&&(c===o||c.contains(o));switch(t.type){case"click":if(d)if(e.disableButtons(),n.input){var f=s();if(n.inputValidator){e.disableInput();var p=Promise.resolve().then(function(){return n.inputValidator(f,n.validationMessage)});p.then(function(t){e.enableButtons(),e.enableInput(),t?e.showValidationMessage(t):l(f)})}else e.getInput().checkValidity()?l(f):(e.enableButtons(),e.showValidationMessage(n.validationMessage))}else l(!0);else h&&(e.disableButtons(),a(r.DismissReason.cancel))}},c=i.popup.querySelectorAll("button"),d=0;d<c.length;d++)c[d].onclick=u,c[d].onmouseover=u,c[d].onmouseout=u,c[d].onmousedown=u;if(i.closeButton.onclick=function(){a(r.DismissReason.close)},n.toast)i.popup.onclick=function(){n.showConfirmButton||n.showCancelButton||n.showCloseButton||n.input||a(r.DismissReason.close)};else{var h=!1;i.popup.onmousedown=function(){i.container.onmouseup=function(t){i.container.onmouseup=void 0,t.target===i.container&&(h=!0)}},i.container.onmousedown=function(){i.popup.onmouseup=function(t){i.popup.onmouseup=void 0,(t.target===i.popup||i.popup.contains(t.target))&&(h=!0)}},i.container.onclick=function(t){if(h)return void(h=!1);t.target===i.container&&nt(n.allowOutsideClick)&&a(r.DismissReason.backdrop)}}n.reverseButtons?i.confirmButton.parentNode.insertBefore(i.cancelButton,i.confirmButton):i.confirmButton.parentNode.insertBefore(i.confirmButton,i.cancelButton);var f=function(t,e){for(var o=zt(n.focusCancel),r=0;r<o.length;r++)return t+=e,t===o.length?t=0:-1===t&&(t=o.length-1),o[t].focus();i.popup.focus()},p=function(t,n){n.stopKeydownPropagation&&t.stopPropagation();var o=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"];if("Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var s=t.target,l=zt(n.focusCancel),u=-1,c=0;c<l.length;c++)if(s===l[c]){u=c;break}t.shiftKey?f(u,-1):f(u,1),t.stopPropagation(),t.preventDefault()}else-1!==o.indexOf(t.key)?document.activeElement===i.confirmButton&&xt(i.cancelButton)?i.cancelButton.focus():document.activeElement===i.cancelButton&&xt(i.confirmButton)&&i.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==nt(n.allowEscapeKey)||(t.preventDefault(),a(r.DismissReason.esc));else if(t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;r.clickConfirm(),t.preventDefault()}};Ne.keydownTarget&&Ne.keydownHandlerAdded&&(Ne.keydownTarget.removeEventListener("keydown",Ne.keydownHandler,{capture:Ne.keydownListenerCapture}),Ne.keydownHandlerAdded=!1),n.toast||(Ne.keydownHandler=function(t){return p(t,n)},Ne.keydownTarget=n.keydownListenerCapture?window:i.popup,Ne.keydownListenerCapture=n.keydownListenerCapture,Ne.keydownTarget.addEventListener("keydown",Ne.keydownHandler,{capture:Ne.keydownListenerCapture}),Ne.keydownHandlerAdded=!0),e.enableButtons(),e.hideLoading(),e.resetValidationMessage(),n.toast&&(n.input||n.footer||n.showCloseButton)?pt(document.body,st["toast-column"]):mt(document.body,st["toast-column"]),"select"===n.input||"radio"===n.input?_n(e,n):-1!==["text","email","number","tel","textarea"].indexOf(n.input)&&it(n.inputValue)&&Dn(e,n),wn(n),n.toast||(nt(n.allowEnterKey)?n.focusCancel&&xt(i.cancelButton)?i.cancelButton.focus():n.focusConfirm&&xt(i.confirmButton)?i.confirmButton.focus():f(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()),i.container.scrollTop=0})}function $(t){var e={};Object.keys(t).forEach(function(n){Mn.isUpdatableParameter(n)?e[n]=t[n]:X('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var n=ae.innerParams.get(this),i=o({},n,e);Me(this,i),ae.innerParams.set(this,i),Object.defineProperties(this,{params:{value:o({},this.params,t),writable:!1,enumerable:!0}})}function U(){if("undefined"!=typeof window){"undefined"==typeof Promise&&K("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),fe=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});var o=this._main(this.params);ae.promise.set(this,o)}}var q,G=function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e},J=function(t){return Object.keys(t).map(function(e){return t[e]})},Z=function(t){return Array.prototype.slice.call(t)},X=function(t){console.warn("".concat("SweetAlert2:"," ").concat(t))},K=function(t){console.error("".concat("SweetAlert2:"," ").concat(t))},Q=[],tt=function(t){-1===Q.indexOf(t)&&(Q.push(t),X(t))},et=function(t,e){tt('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))},nt=function(t){return"function"==typeof t?t():t},it=function(t){return t&&Promise.resolve(t)===t},ot=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),rt=function(e){var n={};switch(t(e[0])){case"object":o(n,e[0]);break;default:["title","html","type"].forEach(function(i,o){switch(t(e[o])){case"string":n[i]=e[o];break;case"undefined":break;default:K("Unexpected type of ".concat(i,'! Expected "string", got ').concat(t(e[o])))}})}return n},at=function(t){var e={};for(var n in t)e[t[n]]="swal2-"+t[n];return e},st=at(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),lt=at(["success","warning","info","question","error"]),ut={previousBodyPadding:null},ct=function(t,e){return t.classList.contains(e)},dt=function(t,e,n){Z(t.classList).forEach(function(e){-1===J(st).indexOf(e)&&-1===J(lt).indexOf(e)&&t.classList.remove(e)}),e&&e[n]&&pt(t,e[n])},ht=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},ft=function(t,e,n){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(function(e){t.forEach?t.forEach(function(t){n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)}))},pt=function(t,e){ft(t,e,!0)},mt=function(t,e){ft(t,e,!1)},gt=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(ct(t.childNodes[n],e))return t.childNodes[n]},vt=function(t,e,n){n||0===parseInt(n)?t.style[e]="number"==typeof n?n+"px":n:t.style.removeProperty(e)},yt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},bt=function(t){t.style.opacity="",t.style.display="none"},wt=function(t,e,n){e?yt(t,n):bt(t)},xt=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},_t=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||i>0},Dt=function(t,e){if("function"==typeof t.contains)return t.contains(e)},kt=function(){return document.body.querySelector("."+st.container)},St=function(t){var e=kt();return e?e.querySelector(t):null},Ct=function(t){return St("."+t)},Mt=function(){return Ct(st.popup)},Tt=function(){var t=Mt();return Z(t.querySelectorAll("."+st.icon))},Et=function(){var t=Tt().filter(function(t){return xt(t)});return t.length?t[0]:null},Pt=function(){return Ct(st.title)},It=function(){return Ct(st.content)},Ot=function(){return Ct(st.image)},Lt=function(){return Ct(st["progress-steps"])},Rt=function(){return Ct(st["validation-message"])},At=function(){return St("."+st.actions+" ."+st.confirm)},Ht=function(){return St("."+st.actions+" ."+st.cancel)},Nt=function(){return Ct(st.actions)},Ft=function(){return Ct(st.header)},Yt=function(){return Ct(st.footer)},jt=function(){return Ct(st.close)},zt=function(){var t=Z(Mt().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),e=parseInt(e.getAttribute("tabindex")),t>e?1:t<e?-1:0}),e=Z(Mt().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return G(t.concat(e)).filter(function(t){return xt(t)})},Bt=function(){return!Wt()&&!document.body.classList.contains(st["no-backdrop"])},Wt=function(){return document.body.classList.contains(st["toast-shown"])},Vt=function(){return Mt().hasAttribute("data-loading")},$t=function(){return"undefined"==typeof window||"undefined"==typeof document},Ut='\n <div aria-labelledby="'.concat(st.title,'" aria-describedby="').concat(st.content,'" class="').concat(st.popup,'" tabindex="-1">\n <div class="').concat(st.header,'">\n <ul class="').concat(st["progress-steps"],'"></ul>\n <div class="').concat(st.icon," ").concat(lt.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="').concat(st.icon," ").concat(lt.question,'"></div>\n <div class="').concat(st.icon," ").concat(lt.warning,'"></div>\n <div class="').concat(st.icon," ").concat(lt.info,'"></div>\n <div class="').concat(st.icon," ").concat(lt.success,'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="').concat(st.image,'" />\n <h2 class="').concat(st.title,'" id="').concat(st.title,'"></h2>\n <button type="button" class="').concat(st.close,'">&times;</button>\n </div>\n <div class="').concat(st.content,'">\n <div id="').concat(st.content,'"></div>\n <input class="').concat(st.input,'" />\n <input type="file" class="').concat(st.file,'" />\n <div class="').concat(st.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(st.select,'"></select>\n <div class="').concat(st.radio,'"></div>\n <label for="').concat(st.checkbox,'" class="').concat(st.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(st.label,'"></span>\n </label>\n <textarea class="').concat(st.textarea,'"></textarea>\n <div class="').concat(st["validation-message"],'" id="').concat(st["validation-message"],'"></div>\n </div>\n <div class="').concat(st.actions,'">\n <button type="button" class="').concat(st.confirm,'">OK</button>\n <button type="button" class="').concat(st.cancel,'">Cancel</button>\n </div>\n <div class="').concat(st.footer,'">\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),qt=function(){var t=kt();t&&(t.parentNode.removeChild(t),mt([document.documentElement,document.body],[st["no-backdrop"],st["toast-shown"],st["has-column"]]))},Gt=function(t){Mn.isVisible()&&q!==t.target.value&&Mn.resetValidationMessage(),q=t.target.value},Jt=function(){var t=It(),e=gt(t,st.input),n=gt(t,st.file),i=t.querySelector(".".concat(st.range," input")),o=t.querySelector(".".concat(st.range," output")),r=gt(t,st.select),a=t.querySelector(".".concat(st.checkbox," input")),s=gt(t,st.textarea);e.oninput=Gt,n.onchange=Gt,r.onchange=Gt,a.onchange=Gt,s.oninput=Gt,i.oninput=function(t){Gt(t),o.value=i.value},i.onchange=function(t){Gt(t),i.nextSibling.value=i.value}},Zt=function(t){return"string"==typeof t?document.querySelector(t):t},Xt=function(t){var e=Mt();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},Kt=function(t){"rtl"===window.getComputedStyle(t).direction&&pt(kt(),st.rtl)},Qt=function(t){if(qt(),$t())return void K("SweetAlert2 requires document to initialize");var e=document.createElement("div");e.className=st.container,e.innerHTML=Ut;var n=Zt(t.target);n.appendChild(e),Xt(t),Kt(n),Jt()},te=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?ee(n,e):e&&(n.innerHTML=e)},ee=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ne=function(){if($t())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n])return e[n];return!1}(),ie=function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},oe=function(t,e){var n=Nt(),i=At(),o=Ht();e.showConfirmButton||e.showCancelButton?yt(n):bt(n),dt(n,e.customClass,"actions"),g(i,"confirm",e),g(o,"cancel",e),e.buttonsStyling?m(i,o,e):(mt([i,o],st.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",o.style.backgroundColor=o.style.borderLeftColor=o.style.borderRightColor="")},re=function(t,e){var n=kt();n&&(v(n,e.backdrop),!e.backdrop&&e.allowOutsideClick&&X('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),y(n,e.position),b(n,e.grow),dt(n,e.customClass,"container"),e.customContainerClass&&pt(n,e.customContainerClass))},ae={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},se=function(t,e){for(var n=ae.innerParams.get(t),i=!n||e.input!==n.input,o=It(),r=["input","file","range","select","radio","checkbox","textarea"],a=0;a<r.length;a++){var s=st[r[a]],l=gt(o,s);ue(r[a],e.inputAttributes),ce(l,s,e),i&&bt(l)}if(e.input){if(!he[e.input])return K('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));if(i){var u=he[e.input](e);yt(u)}}},le=function(t){for(var e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;-1===["type","value","style"].indexOf(n)&&t.removeAttribute(n)}},ue=function(t,e){var n=p(It(),t);if(n){le(n);for(var i in e)"range"===t&&"placeholder"===i||n.setAttribute(i,e[i])}},ce=function(t,e,n){t.className=e,n.inputClass&&pt(t,n.inputClass),n.customClass&&pt(t,n.customClass.input)},de=function(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},he={};he.text=he.email=he.password=he.number=he.tel=he.url=function(e){var n=gt(It(),st.input);return"string"==typeof e.inputValue||"number"==typeof e.inputValue?n.value=e.inputValue:it(e.inputValue)||X('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(e.inputValue),'"')),de(n,e),n.type=e.input,n},he.file=function(t){var e=gt(It(),st.file);return de(e,t),e.type=t.input,e},he.range=function(t){var e=gt(It(),st.range),n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},he.select=function(t){var e=gt(It(),st.select);if(e.innerHTML="",t.inputPlaceholder){var n=document.createElement("option");n.innerHTML=t.inputPlaceholder,n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},he.radio=function(){var t=gt(It(),st.radio);return t.innerHTML="",t},he.checkbox=function(t){var e=gt(It(),st.checkbox),n=p(It(),"checkbox");return n.type="checkbox",n.value=1,n.id=st.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},he.textarea=function(t){var e=gt(It(),st.textarea);return e.value=t.inputValue,de(e,t),e};var fe,pe=function(t,e){var n=It().querySelector("#"+st.content);e.html?(te(e.html,n),yt(n,"block")):e.text?(n.textContent=e.text,yt(n,"block")):bt(n),se(t,e),dt(It(),e.customClass,"content")},me=function(t,e){var n=Yt();wt(n,e.footer),e.footer&&te(e.footer,n),dt(n,e.customClass,"footer")},ge=function(t,e){var n=jt();dt(n,e.customClass,"closeButton"),wt(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)},ve=function(t,e){var n=ae.innerParams.get(t);if(n&&e.type===n.type&&Et())return void dt(Et(),e.customClass,"icon");if(ye(),e.type)if(be(),-1!==Object.keys(lt).indexOf(e.type)){var i=St(".".concat(st.icon,".").concat(lt[e.type]));yt(i),dt(i,e.customClass,"icon"),ft(i,"swal2-animate-".concat(e.type,"-icon"),e.animation)}else K('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.type,'"'))},ye=function(){for(var t=Tt(),e=0;e<t.length;e++)bt(t[e])},be=function(){for(var t=Mt(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),i=0;i<n.length;i++)n[i].style.backgroundColor=e},we=function(t,e){var n=Ot();if(!e.imageUrl)return bt(n);yt(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),vt(n,"width",e.imageWidth),vt(n,"height",e.imageHeight),n.className=st.image,dt(n,e.customClass,"image"),e.imageClass&&pt(n,e.imageClass)},xe=function(t){var e=document.createElement("li");return pt(e,st["progress-step"]),e.innerHTML=t,e},_e=function(t){var e=document.createElement("li");return pt(e,st["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e},De=function(t,e){var n=Lt();if(!e.progressSteps||0===e.progressSteps.length)return bt(n);yt(n),n.innerHTML="";var i=parseInt(null===e.currentProgressStep?Mn.getQueueStep():e.currentProgressStep);i>=e.progressSteps.length&&X("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(function(t,o){var r=xe(t);if(n.appendChild(r),o===i&&pt(r,st["active-progress-step"]),o!==e.progressSteps.length-1){var a=_e(t);n.appendChild(a)}})},ke=function(t,e){var n=Pt();wt(n,e.title||e.titleText),e.title&&te(e.title,n),e.titleText&&(n.innerText=e.titleText),dt(n,e.customClass,"title")},Se=function(t,e){var n=Ft();dt(n,e.customClass,"header"),De(t,e),ve(t,e),we(0,e),ke(0,e),ge(0,e)},Ce=function(t,e){var n=Mt();vt(n,"width",e.width),vt(n,"padding",e.padding),e.background&&(n.style.background=e.background),n.className=st.popup,e.toast?(pt([document.documentElement,document.body],st["toast-shown"]),pt(n,st.toast)):pt(n,st.modal),dt(n,e.customClass,"popup"),"string"==typeof e.customClass&&pt(n,e.customClass),ft(n,st.noanimation,!e.animation)},Me=function(t,e){Ce(0,e),re(0,e),Se(t,e),pe(t,e),oe(0,e),me(0,e)},Te=function(){return xt(Mt())},Ee=function(){return At()&&At().click()},Pe=function(){return Ht()&&Ht().click()},Ie=[],Oe=function(t){var e=this;Ie=t;var n=function(t,e){Ie=[],document.body.removeAttribute("data-swal2-queue-step"),t(e)},i=[];return new Promise(function(t){!function o(r,a){r<Ie.length?(document.body.setAttribute("data-swal2-queue-step",r),e.fire(Ie[r]).then(function(e){void 0!==e.value?(i.push(e.value),o(r+1,a)):n(t,{dismiss:e.dismiss})})):n(t,{value:i})}(0)})},Le=function(){return document.body.getAttribute("data-swal2-queue-step")},Re=function(t,e){return e&&e<Ie.length?Ie.splice(e,0,t):Ie.push(t)},Ae=function(t){void 0!==Ie[t]&&Ie.splice(t,1)},He=function(){var t=Mt();t||Mn.fire(""),t=Mt();var e=Nt(),n=At(),i=Ht();yt(e),yt(n),pt([t,e],st.loading),n.disabled=!0,i.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Ne={},Fe=function(){Ne.previousActiveElement&&Ne.previousActiveElement.focus?(Ne.previousActiveElement.focus(),Ne.previousActiveElement=null):document.body&&document.body.focus()},Ye=function(){return new Promise(function(t){var e=window.scrollX,n=window.scrollY;Ne.restoreFocusTimeout=setTimeout(function(){Fe(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)})},je=function(){return Ne.timeout&&Ne.timeout.getTimerLeft()},ze=function(){return Ne.timeout&&Ne.timeout.stop()},Be=function(){return Ne.timeout&&Ne.timeout.start()},We=function(){var t=Ne.timeout;return t&&(t.running?t.stop():t.start())},Ve=function(t){return Ne.timeout&&Ne.timeout.increase(t)},$e=function(){return Ne.timeout&&Ne.timeout.isRunning()},Ue={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,scrollbarPadding:!0},qe=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],Ge={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},Je=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Ze=function(t){return Ue.hasOwnProperty(t)},Xe=function(t){return-1!==qe.indexOf(t)},Ke=function(t){return Ge[t]},Qe=function(t){Ze(t)||X('Unknown parameter "'.concat(t,'"'))},tn=function(t){-1!==Je.indexOf(t)&&X('The parameter "'.concat(t,'" is incompatible with toasts'))},en=function(t){Ke(t)&&et(t,Ke(t))},nn=function(t){for(var e in t)Qe(e),t.toast&&tn(e),en()},on=Object.freeze({isValidParameter:Ze,isUpdatableParameter:Xe,isDeprecatedParameter:Ke,argsToParams:rt,isVisible:Te,clickConfirm:Ee,clickCancel:Pe,getContainer:kt,getPopup:Mt,getTitle:Pt,getContent:It,getImage:Ot,getIcon:Et,getIcons:Tt,getCloseButton:jt,getActions:Nt,getConfirmButton:At,getCancelButton:Ht,getHeader:Ft,getFooter:Yt,getFocusableElements:zt,getValidationMessage:Rt,isLoading:Vt,fire:w,mixin:x,queue:Oe,getQueueStep:Le,insertQueueStep:Re,deleteQueueStep:Ae,showLoading:He,enableLoading:He,getTimerLeft:je,stopTimer:ze,resumeTimer:Be,toggleTimer:We,increaseTimer:Ve,isTimerRunning:$e}),rn=function(){null===ut.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(ut.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=ut.previousBodyPadding+ie()+"px")},an=function(){null!==ut.previousBodyPadding&&(document.body.style.paddingRight=ut.previousBodyPadding+"px",ut.previousBodyPadding=null)},sn=function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!ct(document.body,st.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",pt(document.body,st.iosfix)}},ln=function(){if(ct(document.body,st.iosfix)){var t=parseInt(document.body.style.top,10);mt(document.body,st.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},un=function(){return!!window.MSInputMethodContext&&!!document.documentMode},cn=function(){var t=kt(),e=Mt();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},dn=function(){"undefined"!=typeof window&&un()&&(cn(),window.addEventListener("resize",cn))},hn=function(){"undefined"!=typeof window&&un()&&window.removeEventListener("resize",cn)},fn=function(){Z(document.body.children).forEach(function(t){t===kt()||Dt(t,kt())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})},pn=function(){Z(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},mn={swalPromiseResolve:new WeakMap},gn=function(t){for(var e in t)t[e]=new WeakMap},vn=function(t){null!==t&&"function"==typeof t&&setTimeout(function(){t()})},yn=function(){function t(n,i){e(this,t),this.callback=n,this.remaining=i,this.running=!1,this.start()}return i(t,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),t}(),bn={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&\/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}},wn=function(t){var e=kt(),n=Mt();null!==t.onBeforeOpen&&"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),t.animation&&(pt(n,st.show),pt(e,st.fade)),yt(n),ne&&_t(n)?(e.style.overflowY="hidden",n.addEventListener(ne,W.bind(null,n,e))):e.style.overflowY="auto",pt([document.documentElement,document.body,e],st.shown),t.heightAuto&&t.backdrop&&!t.toast&&pt([document.documentElement,document.body],st["height-auto"]),Bt()&&(t.scrollbarPadding&&rn(),sn(),dn(),fn(),setTimeout(function(){e.scrollTop=0})),Wt()||Ne.previousActiveElement||(Ne.previousActiveElement=document.activeElement),null!==t.onOpen&&"function"==typeof t.onOpen&&setTimeout(function(){t.onOpen(n)})},xn=void 0,_n=function(e,n){var i=It(),o=function(t){return kn[n.input](i,Sn(t),n)};it(n.inputOptions)?(He(),n.inputOptions.then(function(t){e.hideLoading(),o(t)})):"object"===t(n.inputOptions)?o(n.inputOptions):K("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))},Dn=function(t,e){var n=t.getInput();bt(n),e.inputValue.then(function(i){n.value="number"===e.input?parseFloat(i)||0:i+"",yt(n),n.focus(),t.hideLoading()}).catch(function(t){K("Error in inputValue promise: "+t),n.value="",yt(n),n.focus(),xn.hideLoading()})},kn={select:function(t,e,n){var i=gt(t,st.select);e.forEach(function(t){var e=t[0],o=t[1],r=document.createElement("option");r.value=e,r.innerHTML=o,n.inputValue.toString()===e.toString()&&(r.selected=!0),i.appendChild(r)}),i.focus()},radio:function(t,e,n){var i=gt(t,st.radio);e.forEach(function(t){var e=t[0],o=t[1],r=document.createElement("input"),a=document.createElement("label");r.type="radio",r.name=st.radio,r.value=e,n.inputValue.toString()===e.toString()&&(r.checked=!0);var s=document.createElement("span");s.innerHTML=o,s.className=st.label,a.appendChild(r),a.appendChild(s),i.appendChild(a)});var o=i.querySelectorAll("input");o.length&&o[0].focus()}},Sn=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(function(t,n){e.push([n,t])}):Object.keys(t).forEach(function(n){e.push([n,t[n]])}),e},Cn=Object.freeze({hideLoading:_,disableLoading:_,getInput:D,close:M,closePopup:M,closeModal:M,closeToast:M,enableButtons:P,disableButtons:I,enableConfirmButton:O,disableConfirmButton:L,enableInput:R,disableInput:A,showValidationMessage:H,resetValidationMessage:N,getProgressSteps:F,setProgressSteps:Y,showProgressSteps:j,hideProgressSteps:z,_main:V,update:$});U.prototype.then=function(t){return ae.promise.get(this).then(t)},U.prototype.finally=function(t){return ae.promise.get(this).finally(t)},o(U.prototype,Cn),o(U,on),Object.keys(Cn).forEach(function(t){U[t]=function(){if(fe){var e;return(e=fe)[t].apply(e,arguments)}}}),U.DismissReason=ot,U.version="8.10.7";var Mn=U;return Mn.default=Mn,Mn}),"undefined"!=typeof window&&window.Sweetalert2&&(window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),"undefined"!=typeof document&&function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(t){n.innerText=e}}(document,'@charset "UTF-8";@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon::before{display:flex;align-items:center;font-size:2em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon::before{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 1.5em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}@-webkit-keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg)}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg)}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg)}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg)}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg)}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg)}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;background-color:transparent;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{-webkit-transform:none;transform:none;background:0 0;color:#f27474}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;word-wrap:break-word}#swal2-content{text-align:center}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:inherit}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:inherit;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;zoom:normal;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;zoom:normal;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon::before{display:flex;align-items:center;height:92%;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning::before{content:"!"}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info::before{content:"i"}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question::before{content:"?"}.swal2-icon.swal2-question.swal2-arabic-question-mark::before{content:"؟"}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}')},f1Eh:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},hMlo:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=n("PJh5"),c=n.n(u),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),h=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),d(e,[{key:"getId",value:function(){return"date-time-picker"}},{key:"init",value:function(){this.activateDateTimePicker(this.selector)}},{key:"activateDateTimePicker",value:function(t){var e=this.getContainer().getTranslation(),n=this.getContainer().getConfiguration();s()(t+' input[data-datetimepicker="on"]').each(function(t){var i=s()(this).data("format");s()(this).daterangepicker({singleDatePicker:!0,timePicker:!0,timePicker24Hour:n.get("twentyFourHours"),showDropdowns:!0,autoUpdateInput:!1,locale:{format:i,firstDay:1,applyLabel:e.get("confirm"),cancelLabel:e.get("cancel"),customRangeLabel:e.get("customRange"),daysOfWeek:c.a.weekdaysShort(),monthNames:c.a.months()}}),s()(this).on("apply.daterangepicker",function(t,e){s()(this).val(e.startDate.format(i)),s()(this).trigger("change")})})}}]),e}(l.a);e.a=h},iES9:function(t,e){},iNbH:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(){return i(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return r(e,t),u(e,[{key:"getId",value:function(){return"api"}},{key:"get",value:function(t,e,n,i){s.a.ajax({url:t,headers:{"X-AUTH-SESSION":!0,"Content-Type":"application/json"},method:"GET",data:e,dataType:"json",success:n,error:i})}},{key:"patch",value:function(t,e,n,i){s.a.ajax({url:t,headers:{"X-AUTH-SESSION":!0,"Content-Type":"application/json"},method:"PATCH",data:e,dataType:"json",success:n,error:i})}},{key:"delete",value:function(t,e,n){s.a.ajax({url:t,headers:{"X-AUTH-SESSION":!0,"Content-Type":"application/json"},method:"DELETE",dataType:"json",success:e,error:n})}}]),e}(l.a);e.a=c},jf49:function(t,e,n){(function(t){/*!
* Bootstrap v3.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 Twitter, Inc.
* Licensed under the MIT license
*/
if(void 0===t)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(t),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var o=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(t),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.4.1",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var o=t(this),r=o.attr("data-target");r||(r=o.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),r="#"===r?[]:r;var a=t(document).find(r);e&&e.preventDefault(),a.length||(a=o.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,r)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.4.1",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy(function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target).closest(".btn");e.call(i,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:r.slide;o||i.data("bs.carousel",o=new n(this,r)),"number"==typeof e?o.to(e):a?o[a]():r.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.4.1",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i="prev"==t?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var o=this.$element.find(".item.active"),r=i||this.getItemForDirection(e,o),a=this.interval,s="next"==e?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var u=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(r)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(s),r.addClass(s),o.one("bsTransitionEnd",function(){r.removeClass([e,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(n){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var r=i.attr("data-target")||o,a=t(document).find(r);if(a.hasClass("carousel")){var s=t.extend({},a.data(),i.data()),l=i.attr("data-slide-to");l&&(s.interval=!1),e.call(a,s),l&&a.data("bs.carousel").to(l),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(t),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||n.data("bs.collapse",o=new i(this,r)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.4.1",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"))&&e.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventDefault();var r=e(o),a=r.data("bs.collapse"),s=a?"toggle":o.data();n.call(r,s)})}(t),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(r).each(function(){var i=t(this),o=e(i),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",r='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.4.1",a.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=e(o),a=r.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=e(i),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(r).trigger("focus"),i.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,a.prototype.toggle).on("keydown.bs.dropdown.data-api",r,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(t),function(t){"use strict";function e(e,i){return this.each(function(){var o=t(this),r=o.data("bs.modal"),a=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);r||o.data("bs.modal",r=new n(this,a)),"string"==typeof e?r[e](i):a.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.4.1",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){if(this.ignoreBackdropClick)return void(this.ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,i){var o=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(r)+n+"px")}))},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""})},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),o=i.attr("href"),r=i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,""),a=t(document).find(r),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,s,this)})}(t),function(t){"use strict";function e(e,n){var i=e.nodeName.toLowerCase();if(-1!==t.inArray(i,n))return-1===t.inArray(i,r)||Boolean(e.nodeValue.match(l)||e.nodeValue.match(u));for(var o=t(n).filter(function(t,e){return e instanceof RegExp}),a=0,s=o.length;a<s;a++)if(i.match(o[a]))return!0;return!1}function n(n,i,o){if(0===n.length)return n;if(o&&"function"==typeof o)return o(n);if(!document.implementation||!document.implementation.createHTMLDocument)return n;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=n;for(var a=t.map(i,function(t,e){return e}),s=t(r.body).find("*"),l=0,u=s.length;l<u;l++){var c=s[l],d=c.nodeName.toLowerCase();if(-1!==t.inArray(d,a))for(var h=t.map(c.attributes,function(t){return t}),f=[].concat(i["*"]||[],i[d]||[]),p=0,m=h.length;p<m;p++)e(h[p],f)||c.removeAttribute(h[p].nodeName);else c.parentNode.removeChild(c)}return r.body.innerHTML}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new c(this,o)),"string"==typeof e&&i[e]())})}var o=["sanitize","whiteList","sanitizeFn"],r=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],a=/^aria-[\w-]*$/i,s={"*":["class","dir","id","lang","role",a],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},l=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,u=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,c=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};c.VERSION="3.4.1",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:s},c.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(e){var i=this.$element.data();for(var r in i)i.hasOwnProperty(r)&&-1!==t.inArray(r,o)&&delete i[r];return e=t.extend({},this.getDefaults(),i,e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=n(e.template,e.whiteList,e.sanitizeFn)),e},c.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},c.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},c.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},c.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},c.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,l=s.test(a);l&&(a=a.replace(s,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(l){var f=a,p=this.getPosition(this.$viewport);a="bottom"==a&&u.bottom+h>p.bottom?"top":"top"==a&&u.top-h<p.top?"bottom":"right"==a&&u.right+d>p.width?"left":"left"==a&&u.left-d<p.left?"right":a,o.removeClass(f).addClass(a)}var m=this.getCalculatedOffset(a,u,d,h);this.applyPlacement(m,a);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(c.TRANSITION_DURATION):g()}},c.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=r&&(e.top=e.top+r-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(n),h=d?2*c.left-o+l:2*c.top-r+u,f=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],d)},c.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},c.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=n(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},c.prototype.hide=function(e){function n(){"in"!=i.hoverState&&o.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}var i=this,o=t(this.$tip),r=t.Event("hide.bs."+this.type);if(this.$element.trigger(r),!r.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(c.TRANSITION_DURATION):n(),this.hoverState=null,this},c.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&n instanceof window.SVGElement,a=i?{top:0,left:0}:r?null:e.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,s,l,a)},c.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},c.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+i;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var u=e.left-r,c=e.left+r+n;u<a.left?o.left=a.left-u:c>a.right&&(o.left=a.left+a.width-c)}return o},c.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},c.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},c.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},c.prototype.sanitizeHtml=function(t){return n(t,this.options.whiteList,this.options.sanitizeFn)};var d=t.fn.tooltip;t.fn.tooltip=i,t.fn.tooltip.Constructor=c,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=d,this}}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.popover",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.4.1",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(t),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=r[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){var s=t(document).find(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(e,i,o){function r(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var a=i.find("> .active"),s=o&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(t),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i);var o=this.options.target===n.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.4.1",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=t-i)&&"bottom";var s=null==this.affixed,l=s?o:r.top,u=s?a:e;return null!=n&&o<=n?"top":null!=i&&l+u>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=this.getState(a,e,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(t)}).call(e,n("7t+N"))},l77c:function(t,e){t.exports="./images/default_avatar.png?fc197350"},lbHh:function(t,e,n){var i,o;!function(r){var a=!1;if(i=r,void 0!==(o="function"==typeof i?i.call(e,n,e,t):i)&&(t.exports=o),a=!0,t.exports=r(),a=!0,!a){var s=window.Cookies,l=window.Cookies=r();l.noConflict=function(){return window.Cookies=s,l}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}function e(n){function i(e,o,r){var a;if("undefined"!=typeof document){if(arguments.length>1){if(r=t({path:"/"},i.defaults,r),"number"==typeof r.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}r.expires=r.expires?r.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(t){}o=n.write?n.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var l="";for(var u in r)r[u]&&(l+="; "+u,!0!==r[u]&&(l+="="+r[u]));return document.cookie=e+"="+o+l}e||(a={});for(var c=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,h=0;h<c.length;h++){var f=c[h].split("="),p=f.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var m=f[0].replace(d,decodeURIComponent);if(p=n.read?n.read(p,m):n(p,m)||p.replace(d,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(t){}if(e===m){a=p;break}e||(a[m]=p)}catch(t){}}return a}}return i.set=i,i.get=function(t){return i.call(i,t)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(e,n){i(e,"",t(n,{expires:-1}))},i.withConverter=e,i}return e(function(){})})},mEMJ:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=151)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},151:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(152);var i=n(1);i.datepickerLocale("it","it",{closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("it",{buttonText:{month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},allDayHtml:"Tutto il<br/>giorno",eventLimitText:function(t){return"+altri "+t},noEventsMessage:"Non ci sono eventi da visualizzare"})},152:function(t,e,n){!function(t,e){!function(t){t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))}()}})})},mF88:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("4klR"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(t){function e(t,n){i(this,e);var r=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.selector=t,r.selectorEmpty=n,r}return r(e,t),s(e,[{key:"getId",value:function(){return"active-records"}},{key:"init",value:function(){var t=document.querySelector(this.selector);if(null!==t){var e=t.querySelector("ul.dropdown-menu");this.attributes=e.dataset,this.itemList=e.querySelector("li > ul.menu"),this.label=t.querySelector("a > span.label");var n=this,i=function(){n.reloadActiveRecords()};document.addEventListener("kimai.timesheetUpdate",i),document.addEventListener("kimai.activityUpdate",i),document.addEventListener("kimai.projectUpdate",i),document.addEventListener("kimai.customerUpdate",i)}}},{key:"emptyList",value:function(){this.itemList.innerHTML=""}},{key:"_toggleMenu",value:function(t){var e=document.querySelector(this.selector),n=document.querySelector(this.selectorEmpty);e.style.display=t?"inline-block":"none",null!==n&&(n.style.display=t?"none":"inline-block")}},{key:"setEntries",value:function(t){if(this._toggleMenu(t.length>0),0===t.length)return this.label.innerText="",void this.emptyList();var e="",n=this.getContainer().getPlugin("timesheet-duration"),i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){var l=a.value;e+='<li><a href="'+this.attributes.href.replace("000",l.id)+'" data-event="kimai.timesheetStop kimai.timesheetUpdate" class="api-link" data-method="PATCH" data-msg-error="timesheet.stop.error" data-msg-success="timesheet.stop.success"><div class="pull-left"><i class="'+this.attributes.icon+' fa-2x"></i></div><h4><span>'+l.activity.name+'</span><small><span data-title="true" data-since="'+l.begin+'" data-format="'+this.attributes.format+'">'+n.formatDuration(l.duration,this.attributes.format)+"</span></small></h4><p>"+l.project.name+" ("+l.project.customer.name+")</p></a></li>"}}catch(t){o=!0,r=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}this.label.dataset.warning<t.length?this.label.classList="label label-danger":this.label.classList="label label-warning",this.label.innerText=t.length,this.itemList.innerHTML=e,n.updateRecords()}},{key:"reloadActiveRecords",value:function(){var t=this;this.getContainer().getPlugin("api").get(this.attributes.api,{},function(e){t.setEntries(e)})}}]),e}(a.a);e.a=l},mN5h:function(t,e){t.exports="./images/signature.png?5f58501e"},nDZU:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=85)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},85:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(86);var i=n(1);i.datepickerLocale("ar","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),i.locale("ar",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},86:function(t,e,n){!function(t,e){!function(t){var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,n,r,a){var s=i(e),l=o[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(0))}()}})})},nErl:function(t,e){(function(e){t.exports=e}).call(e,{})},nyna:function(t,e){},oWa1:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=121)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},121:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(122);var i=n(1);i.datepickerLocale("es","es",{closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("es",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})},122:function(t,e,n){!function(t,e){!function(t){var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(0))}()}})})},olwm:function(t,e,n){/*!
* FullCalendar v3.10.0
* Docs & License: https://fullcalendar.io/
* (c) 2018 Adam Shaw
*/
!function(e,i){t.exports=i(n("PJh5"),n("7t+N"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=256)}([function(e,n){e.exports=t},,function(t,e){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};e.__extends=function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}},function(t,n){t.exports=e},function(t,e,n){function i(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})}function o(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function r(){ft("body").addClass("fc-not-allowed")}function a(){ft("body").removeClass("fc-not-allowed")}function s(t,e,n){var i=Math.floor(e/t.length),o=Math.floor(e-i*(t.length-1)),r=[],a=[],s=[],u=0;l(t),t.each(function(e,n){var l=e===t.length-1?o:i,c=ft(n).outerHeight(!0);c<l?(r.push(n),a.push(c),s.push(ft(n).height())):u+=c}),n&&(e-=u,i=Math.floor(e/r.length),o=Math.floor(e-i*(r.length-1))),ft(r).each(function(t,e){var n=t===r.length-1?o:i,l=a[t],u=s[t],c=n-(l-u);l<n&&ft(e).height(c)})}function l(t){t.height("")}function u(t){var e=0;return t.find("> *").each(function(t,n){var i=ft(n).outerWidth();i>e&&(e=i)}),e++,t.width(e),e}function c(t,e){var n,i=t.add(e);return i.css({position:"relative",left:-1}),n=t.outerHeight()-e.outerHeight(),i.css({position:"",left:""}),n}function d(t){var e=t.css("position"),n=t.parents().filter(function(){var t=ft(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&n.length?n:ft(t[0].ownerDocument||document)}function h(t,e){var n=t.offset(),i=n.left-(e?e.left:0),o=n.top-(e?e.top:0);return{left:i,right:i+t.outerWidth(),top:o,bottom:o+t.outerHeight()}}function f(t,e){var n=t.offset(),i=m(t),o=n.left+b(t,"border-left-width")+i.left-(e?e.left:0),r=n.top+b(t,"border-top-width")+i.top-(e?e.top:0);return{left:o,right:o+t[0].clientWidth,top:r,bottom:r+t[0].clientHeight}}function p(t,e){var n=t.offset(),i=n.left+b(t,"border-left-width")+b(t,"padding-left")-(e?e.left:0),o=n.top+b(t,"border-top-width")+b(t,"padding-top")-(e?e.top:0);return{left:i,right:i+t.width(),top:o,bottom:o+t.height()}}function m(t){var e,n=t[0].offsetWidth-t[0].clientWidth,i=t[0].offsetHeight-t[0].clientHeight;return n=g(n),i=g(i),e={left:0,right:0,top:0,bottom:i},v()&&"rtl"===t.css("direction")?e.left=n:e.right=n,e}function g(t){return t=Math.max(0,t),t=Math.round(t)}function v(){return null===pt&&(pt=y()),pt}function y(){var t=ft("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),e=t.children(),n=e.offset().left>t.offset().left;return t.remove(),n}function b(t,e){return parseFloat(t.css(e))||0}function w(t){return 1===t.which&&!t.ctrlKey}function x(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageX:t.pageX}function _(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageY:t.pageY}function D(t){return/^touch/.test(t.type)}function k(t){t.addClass("fc-unselectable").on("selectstart",C)}function S(t){t.removeClass("fc-unselectable").off("selectstart",C)}function C(t){t.preventDefault()}function M(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function T(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function E(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function P(t,e){return{left:t.left-e.left,top:t.top-e.top}}function I(t){var e,n,i=[],o=[];for("string"==typeof t?o=t.split(/\s*,\s*/):"function"==typeof t?o=[t]:ft.isArray(t)&&(o=t),e=0;e<o.length;e++)n=o[e],"string"==typeof n?i.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&i.push({func:n});return i}function O(t,e,n,i,o){var r,a;for(r=0;r<n.length;r++)if(a=L(t,e,n[r],i,o))return a;return 0}function L(t,e,n,i,o){if(n.func)return n.func(t,e);var r=t[n.field],a=e[n.field];return null==r&&i&&(r=i[n.field]),null==a&&o&&(a=o[n.field]),R(r,a)*(n.order||1)}function R(t,e){return t||e?null==e?-1:null==t?1:"string"===ft.type(t)||"string"===ft.type(e)?String(t).localeCompare(String(e)):t-e:0}function A(t,e){return ht.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days"),ms:t.time()-e.time()})}function H(t,e){return ht.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days")})}function N(t,e,n){return ht.duration(Math.round(t.diff(e,n,!0)),n)}function F(t,n){var i,o,r;for(i=0;i<e.unitsDesc.length&&(o=e.unitsDesc[i],!((r=j(o,t,n))>=1&&ut(r)));i++);return o}function Y(t,e){var n=F(t);return"week"===n&&"object"==typeof e&&e.days&&(n="day"),n}function j(t,e,n){return null!=n?n.diff(e,t,!0):ht.isDuration(e)?e.as(t):e.end.diff(e.start,t,!0)}function z(t,e,n){var i;return V(n)?(e-t)/n:(i=n.asMonths(),Math.abs(i)>=1&&ut(i)?e.diff(t,"months",!0)/i:e.diff(t,"days",!0)/n.asDays())}function B(t,e){var n,i;return V(t)||V(e)?t/e:(n=t.asMonths(),i=e.asMonths(),Math.abs(n)>=1&&ut(n)&&Math.abs(i)>=1&&ut(i)?n/i:t.asDays()/e.asDays())}function W(t,e){var n;return V(t)?ht.duration(t*e):(n=t.asMonths(),Math.abs(n)>=1&&ut(n)?ht.duration({months:n*e}):ht.duration({days:t.asDays()*e}))}function V(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function $(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function U(t){return"string"==typeof t&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)}function q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=window.console;if(n&&n.log)return n.log.apply(n,t)}function G(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=window.console;return n&&n.warn?n.warn.apply(n,t):q.apply(null,t)}function J(t,e){var n,i,o,r,a,s,l={};if(e)for(n=0;n<e.length;n++){for(i=e[n],o=[],r=t.length-1;r>=0;r--)if("object"==typeof(a=t[r][i]))o.unshift(a);else if(void 0!==a){l[i]=a;break}o.length&&(l[i]=J(o))}for(n=t.length-1;n>=0;n--){s=t[n];for(i in s)i in l||(l[i]=s[i])}return l}function Z(t,e){for(var n in t)X(t,n)&&(e[n]=t[n])}function X(t,e){return mt.call(t,e)}function K(t,e,n){if(ft.isFunction(t)&&(t=[t]),t){var i=void 0,o=void 0;for(i=0;i<t.length;i++)o=t[i].apply(e,n)||o;return o}}function Q(t,e){for(var n=0,i=0;i<t.length;)e(t[i])?(t.splice(i,1),n++):i++;return n}function tt(t,e){for(var n=0,i=0;i<t.length;)t[i]===e?(t.splice(i,1),n++):i++;return n}function et(t,e){var n,i=t.length;if(null==i||i!==e.length)return!1;for(n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0;n<t.length;n++)if(void 0!==t[n])return t[n]}function it(t){return(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function ot(t){return t.replace(/&.*?;/g,"")}function rt(t){var e=[];return ft.each(t,function(t,n){null!=n&&e.push(t+":"+n)}),e.join(";")}function at(t){var e=[];return ft.each(t,function(t,n){null!=n&&e.push(t+'="'+it(n)+'"')}),e.join(" ")}function st(t){return t.charAt(0).toUpperCase()+t.slice(1)}function lt(t,e){return t-e}function ut(t){return t%1==0}function ct(t,e){var n=t[e];return function(){return n.apply(t,arguments)}}function dt(t,e,n){void 0===n&&(n=!1);var i,o,r,a,s,l=function(){var u=+new Date-a;u<e?i=setTimeout(l,e-u):(i=null,n||(s=t.apply(r,o),r=o=null))};return function(){r=this,o=arguments,a=+new Date;var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(s=t.apply(r,o),r=o=null),s}}Object.defineProperty(e,"__esModule",{value:!0});var ht=n(0),ft=n(3);e.compensateScroll=i,e.uncompensateScroll=o,e.disableCursor=r,e.enableCursor=a,e.distributeHeight=s,e.undistributeHeight=l,e.matchCellWidths=u,e.subtractInnerElHeight=c,e.getScrollParent=d,e.getOuterRect=h,e.getClientRect=f,e.getContentRect=p,e.getScrollbarWidths=m;var pt=null;e.isPrimaryMouseButton=w,e.getEvX=x,e.getEvY=_,e.getEvIsTouch=D,e.preventSelection=k,e.allowSelection=S,e.preventDefault=C,e.intersectRects=M,e.constrainPoint=T,e.getRectCenter=E,e.diffPoints=P,e.parseFieldSpecs=I,e.compareByFieldSpecs=O,e.compareByFieldSpec=L,e.flexibleCompare=R,e.dayIDs=["sun","mon","tue","wed","thu","fri","sat"],e.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"],e.diffDayTime=A,e.diffDay=H,e.diffByUnit=N,e.computeGreatestUnit=F,e.computeDurationGreatestUnit=Y,e.divideRangeByDuration=z,e.divideDurationByDuration=B,e.multiplyDuration=W,e.durationHasTime=V,e.isNativeDate=$,e.isTimeString=U,e.log=q,e.warn=G;var mt={}.hasOwnProperty;e.mergeProps=J,e.copyOwnProps=Z,e.hasOwnProp=X,e.applyAll=K,e.removeMatching=Q,e.removeExact=tt,e.isArraysEqual=et,e.firstDefined=nt,e.htmlEscape=it,e.stripHtmlEntities=ot,e.cssToStr=rt,e.attrsToStr=at,e.capitaliseFirstLetter=st,e.compareNumbers=lt,e.isInt=ut,e.proxy=ct,e.debounce=dt},function(t,e,n){function i(t,e){return t.startMs-e.startMs}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=n(11),a=function(){function t(t,e){this.isStart=!0,this.isEnd=!0,o.isMoment(t)&&(t=t.clone().stripZone()),o.isMoment(e)&&(e=e.clone().stripZone()),t&&(this.startMs=t.valueOf()),e&&(this.endMs=e.valueOf())}return t.invertRanges=function(e,n){var o,r,a=[],s=n.startMs;for(e.sort(i),o=0;o<e.length;o++)r=e[o],r.startMs>s&&a.push(new t(s,r.startMs)),r.endMs>s&&(s=r.endMs);return s<n.endMs&&a.push(new t(s,n.endMs)),a},t.prototype.intersect=function(e){var n=this.startMs,i=this.endMs,o=null;return null!=e.startMs&&(n=null==n?e.startMs:Math.max(n,e.startMs)),null!=e.endMs&&(i=null==i?e.endMs:Math.min(i,e.endMs)),(null==n||null==i||n<i)&&(o=new t(n,i),o.isStart=this.isStart&&n===this.startMs,o.isEnd=this.isEnd&&i===this.endMs),o},t.prototype.intersectsWith=function(t){return(null==this.endMs||null==t.startMs||this.endMs>t.startMs)&&(null==this.startMs||null==t.endMs||this.startMs<t.endMs)},t.prototype.containsRange=function(t){return(null==this.startMs||null!=t.startMs&&t.startMs>=this.startMs)&&(null==this.endMs||null!=t.endMs&&t.endMs<=this.endMs)},t.prototype.containsDate=function(t){var e=t.valueOf();return(null==this.startMs||e>=this.startMs)&&(null==this.endMs||e<this.endMs)},t.prototype.constrainDate=function(t){var e=t.valueOf();return null!=this.startMs&&e<this.startMs&&(e=this.startMs),null!=this.endMs&&e>=this.endMs&&(e=this.endMs-1),e},t.prototype.equals=function(t){return this.startMs===t.startMs&&this.endMs===t.endMs},t.prototype.clone=function(){var e=new t(this.startMs,this.endMs);return e.isStart=this.isStart,e.isEnd=this.isEnd,e},t.prototype.getStart=function(){return null!=this.startMs?r.default.utc(this.startMs).stripZone():null},t.prototype.getEnd=function(){return null!=this.endMs?r.default.utc(this.endMs).stripZone():null},t.prototype.as=function(t){return o.utc(this.endMs).diff(o.utc(this.startMs),t,!0)},t}();e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(52),a=n(35),s=n(36),l=function(t){function e(n){var i=t.call(this)||this;return i.calendar=n,i.className=[],i.uid=String(e.uuid++),i}return i.__extends(e,t),e.parse=function(t,e){var n=new this(e);return!("object"!=typeof t||!n.applyProps(t))&&n},e.normalizeId=function(t){return t?String(t):null},e.prototype.fetch=function(t,e,n){},e.prototype.removeEventDefsById=function(t){},e.prototype.removeAllEventDefs=function(){},e.prototype.getPrimitive=function(t){},e.prototype.parseEventDefs=function(t){var e,n,i=[];for(e=0;e<t.length;e++)(n=this.parseEventDef(t[e]))&&i.push(n);return i},e.prototype.parseEventDef=function(t){var e=this.calendar.opt("eventDataTransform"),n=this.eventDataTransform;return e&&(t=e(t,this.calendar)),n&&(t=n(t,this.calendar)),s.default.parse(t,this)},e.prototype.applyManualStandardProps=function(t){return null!=t.id&&(this.id=e.normalizeId(t.id)),o.isArray(t.className)?this.className=t.className:"string"==typeof t.className&&(this.className=t.className.split(/\s+/)),!0},e.uuid=0,e.defineStandardProps=r.default.defineStandardProps,e.copyVerbatimStandardProps=r.default.copyVerbatimStandardProps,e}(a.default);e.default=l,r.default.mixInto(l),l.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(15),a=0,s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.listenTo=function(t,e,n){if("object"==typeof e)for(var i in e)e.hasOwnProperty(i)&&this.listenTo(t,i,e[i]);else"string"==typeof e&&t.on(e+"."+this.getListenerNamespace(),o.proxy(n,this))},e.prototype.stopListeningTo=function(t,e){t.off((e||"")+"."+this.getListenerNamespace())},e.prototype.getListenerNamespace=function(){return null==this.listenerId&&(this.listenerId=a++),"_listener"+this.listenerId},e}(r.default);e.default=s},,function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(37),r=n(53),a=n(16),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.buildInstances=function(){return[this.buildInstance()]},e.prototype.buildInstance=function(){return new r.default(this,this.dateProfile)},e.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dateProfile=this.dateProfile,e},e.prototype.rezone=function(){var t=this.source.calendar,e=this.dateProfile;this.dateProfile=new a.default(t.moment(e.start),e.end?t.moment(e.end):null,t)},e.prototype.applyManualStandardProps=function(e){var n=t.prototype.applyManualStandardProps.call(this,e),i=a.default.parse(e,this.source);return!!i&&(this.dateProfile=i,null!=e.date&&(this.miscProps.date=e.date),n)},e}(o.default);e.default=s,s.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},,function(t,e,n){function i(t,e){return d.format.call(t,e)}function o(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i,o,c,d,h=t[0],f=1===t.length&&"string"==typeof h;return r.isMoment(h)||s.isNativeDate(h)||void 0===h?d=r.apply(null,t):(i=!1,o=!1,f?l.test(h)?(h+="-01",t=[h],i=!0,o=!0):(c=u.exec(h))&&(i=!c[5],o=!0):a.isArray(h)&&(o=!0),d=e||i?r.utc.apply(r,t):r.apply(null,t),i?(d._ambigTime=!0,d._ambigZone=!0):n&&(o?d._ambigZone=!0:f&&d.utcOffset(h))),d._fullCalendar=!0,d}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),a=n(3),s=n(4),l=/^\s*\d{4}-\d\d$/,u=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,c=r.fn;e.newMomentProto=c;var d=a.extend({},c);e.oldMomentProto=d;var h=r.momentProperties;h.push("_fullCalendar"),h.push("_ambigTime"),h.push("_ambigZone"),e.oldMomentFormat=i;var f=function(){return o(arguments)};e.default=f,f.utc=function(){var t=o(arguments,!0);return t.hasTime()&&t.utc(),t},f.parseZone=function(){return o(arguments,!0,!0)},c.week=c.weeks=function(t){var e=this._locale._fullCalendar_weekCalc;return null==t&&"function"==typeof e?e(this):"ISO"===e?d.isoWeek.apply(this,arguments):d.week.apply(this,arguments)},c.time=function(t){if(!this._fullCalendar)return d.time.apply(this,arguments);if(null==t)return r.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,r.isDuration(t)||r.isMoment(t)||(t=r.duration(t));var e=0;return r.isDuration(t)&&(e=24*Math.floor(t.asDays())),this.hours(e+t.hours()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds())},c.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this},c.hasTime=function(){return!this._ambigTime},c.stripZone=function(){var t;return this._ambigZone||(t=this._ambigTime,this.utc(!0),this._ambigTime=t||!1,this._ambigZone=!0),this},c.hasZone=function(){return!this._ambigZone},c.local=function(t){return d.local.call(this,this._ambigZone||t),this._ambigTime=!1,this._ambigZone=!1,this},c.utc=function(t){return d.utc.call(this,t),this._ambigTime=!1,this._ambigZone=!1,this},c.utcOffset=function(t){return null!=t&&(this._ambigTime=!1,this._ambigZone=!1),d.utcOffset.apply(this,arguments)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.isAllDay=!1,this.unzonedRange=t,this.isAllDay=e}return t.prototype.toLegacy=function(t){return{start:t.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:t.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(15),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.on=function(t,e){return o(this).on(t,this._prepareIntercept(e)),this},e.prototype.one=function(t,e){return o(this).one(t,this._prepareIntercept(e)),this},e.prototype._prepareIntercept=function(t){var e=function(e,n){return t.apply(n.context||this,n.args||[])};return t.guid||(t.guid=o.guid++),e.guid=t.guid,e},e.prototype.off=function(t,e){return o(this).off(t,e),this},e.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return o(this).triggerHandler(t,{args:e}),this},e.prototype.triggerWith=function(t,e,n){return o(this).triggerHandler(t,{context:e,args:n}),this},e.prototype.hasHandlers=function(t){var e=o._data(this,"events");return e&&e[t]&&e[t].length>0},e}(r.default);e.default=a},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.view=t._getView(),this.component=t}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.end=function(){},t}();e.default=n},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){}return t.mixInto=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){t.prototype[n]||(t.prototype[n]=e.prototype[n])})},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){t.prototype[n]=e.prototype[n]})},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),o=function(){function t(t,e,n){this.start=t,this.end=e||null,this.unzonedRange=this.buildUnzonedRange(n)}return t.parse=function(e,n){var i=e.start||e.date,o=e.end;if(!i)return!1;var r=n.calendar,a=r.moment(i),s=o?r.moment(o):null,l=e.allDay,u=r.opt("forceEventDuration");return!!a.isValid()&&(null==l&&null==(l=n.allDayDefault)&&(l=r.opt("allDayDefault")),!0===l?(a.stripTime(),s&&s.stripTime()):!1===l&&(a.hasTime()||a.time(0),s&&!s.hasTime()&&s.time(0)),!s||s.isValid()&&s.isAfter(a)||(s=null),!s&&u&&(s=r.getDefaultEventEnd(!a.hasTime(),a)),new t(a,s,r))},t.isStandardProp=function(t){return"start"===t||"date"===t||"end"===t||"allDay"===t},t.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},t.prototype.buildUnzonedRange=function(t){var e=this.start.clone().stripZone().valueOf(),n=this.getEnd(t).stripZone().valueOf();return new i.default(e,n)},t.prototype.getEnd=function(t){return this.end?this.end.clone():t.getDefaultEventEnd(this.isAllDay(),this.start)},t}();e.default=o},function(t,e,n){function i(t,e){return!t&&!e||!(!t||!e)&&(t.component===e.component&&o(t,e)&&o(e,t))}function o(t,e){for(var n in t)if(!/^(component|left|right|top|bottom)$/.test(n)&&t[n]!==e[n])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),a=n(4),s=n(59),l=function(t){function e(e,n){var i=t.call(this,n)||this;return i.component=e,i}return r.__extends(e,t),e.prototype.handleInteractionStart=function(e){var n,i,o,r=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(i={left:a.getEvX(e),top:a.getEvY(e)},o=i,r&&(n=a.getOuterRect(r),o=a.constrainPoint(o,n)),this.origHit=this.queryHit(o.left,o.top),r&&this.options.subjectCenter&&(this.origHit&&(n=a.intersectRects(this.origHit,n)||n),o=a.getRectCenter(n)),this.coordAdjust=a.diffPoints(o,i)):(this.origHit=null,this.coordAdjust=null),t.prototype.handleInteractionStart.call(this,e)},e.prototype.handleDragStart=function(e){var n;t.prototype.handleDragStart.call(this,e),(n=this.queryHit(a.getEvX(e),a.getEvY(e)))&&this.handleHitOver(n)},e.prototype.handleDrag=function(e,n,o){var r;t.prototype.handleDrag.call(this,e,n,o),r=this.queryHit(a.getEvX(o),a.getEvY(o)),i(r,this.hit)||(this.hit&&this.handleHitOut(),r&&this.handleHitOver(r))},e.prototype.handleDragEnd=function(e){this.handleHitDone(),t.prototype.handleDragEnd.call(this,e)},e.prototype.handleHitOver=function(t){var e=i(t,this.origHit);this.hit=t,this.trigger("hitOver",this.hit,e,this.origHit)},e.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},e.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},e.prototype.handleInteractionEnd=function(e,n){t.prototype.handleInteractionEnd.call(this,e,n),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},e.prototype.handleScrollEnd=function(){t.prototype.handleScrollEnd.call(this),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},e.prototype.queryHit=function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.component.queryHit(t,e)},e}(s.default);e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.version="3.10.0",e.internalApiVersion=12;var i=n(4);e.applyAll=i.applyAll,e.debounce=i.debounce,e.isInt=i.isInt,e.htmlEscape=i.htmlEscape,e.cssToStr=i.cssToStr,e.proxy=i.proxy,e.capitaliseFirstLetter=i.capitaliseFirstLetter,e.getOuterRect=i.getOuterRect,e.getClientRect=i.getClientRect,e.getContentRect=i.getContentRect,e.getScrollbarWidths=i.getScrollbarWidths,e.preventDefault=i.preventDefault,e.parseFieldSpecs=i.parseFieldSpecs,e.compareByFieldSpecs=i.compareByFieldSpecs,e.compareByFieldSpec=i.compareByFieldSpec,e.flexibleCompare=i.flexibleCompare,e.computeGreatestUnit=i.computeGreatestUnit,e.divideRangeByDuration=i.divideRangeByDuration,e.divideDurationByDuration=i.divideDurationByDuration,e.multiplyDuration=i.multiplyDuration,e.durationHasTime=i.durationHasTime,e.log=i.log,e.warn=i.warn,e.removeExact=i.removeExact,e.intersectRects=i.intersectRects,e.allowSelection=i.allowSelection,e.attrsToStr=i.attrsToStr,e.compareNumbers=i.compareNumbers,e.compensateScroll=i.compensateScroll,e.computeDurationGreatestUnit=i.computeDurationGreatestUnit,e.constrainPoint=i.constrainPoint,e.copyOwnProps=i.copyOwnProps,e.diffByUnit=i.diffByUnit,e.diffDay=i.diffDay,e.diffDayTime=i.diffDayTime,e.diffPoints=i.diffPoints,e.disableCursor=i.disableCursor,e.distributeHeight=i.distributeHeight,e.enableCursor=i.enableCursor,e.firstDefined=i.firstDefined,e.getEvIsTouch=i.getEvIsTouch,e.getEvX=i.getEvX,e.getEvY=i.getEvY,e.getRectCenter=i.getRectCenter,e.getScrollParent=i.getScrollParent,e.hasOwnProp=i.hasOwnProp,e.isArraysEqual=i.isArraysEqual,e.isNativeDate=i.isNativeDate,e.isPrimaryMouseButton=i.isPrimaryMouseButton,e.isTimeString=i.isTimeString,e.matchCellWidths=i.matchCellWidths,e.mergeProps=i.mergeProps,e.preventSelection=i.preventSelection,e.removeMatching=i.removeMatching,e.stripHtmlEntities=i.stripHtmlEntities,e.subtractInnerElHeight=i.subtractInnerElHeight,e.uncompensateScroll=i.uncompensateScroll,e.undistributeHeight=i.undistributeHeight,e.dayIDs=i.dayIDs,e.unitsDesc=i.unitsDesc;var o=n(49);e.formatDate=o.formatDate,e.formatRange=o.formatRange,e.queryMostGranularFormatUnit=o.queryMostGranularFormatUnit;var r=n(32);e.datepickerLocale=r.datepickerLocale,e.locale=r.locale,e.getMomentLocaleData=r.getMomentLocaleData,e.populateInstanceComputableOptions=r.populateInstanceComputableOptions;var a=n(19);e.eventDefsToEventInstances=a.eventDefsToEventInstances,e.eventFootprintToComponentFootprint=a.eventFootprintToComponentFootprint,e.eventInstanceToEventRange=a.eventInstanceToEventRange,e.eventInstanceToUnzonedRange=a.eventInstanceToUnzonedRange,e.eventRangeToEventFootprint=a.eventRangeToEventFootprint;var s=n(11);e.moment=s.default;var l=n(13);e.EmitterMixin=l.default;var u=n(7);e.ListenerMixin=u.default;var c=n(51);e.Model=c.default;var d=n(217);e.Constraints=d.default;var h=n(55);e.DateProfileGenerator=h.default;var f=n(5);e.UnzonedRange=f.default;var p=n(12);e.ComponentFootprint=p.default;var m=n(218);e.BusinessHourGenerator=m.default;var g=n(219);e.EventPeriod=g.default;var v=n(220);e.EventManager=v.default;var y=n(37);e.EventDef=y.default;var b=n(39);e.EventDefMutation=b.default;var w=n(36);e.EventDefParser=w.default;var x=n(53);e.EventInstance=x.default;var _=n(50);e.EventRange=_.default;var D=n(54);e.RecurringEventDef=D.default;var k=n(9);e.SingleEventDef=k.default;var S=n(40);e.EventDefDateMutation=S.default;var C=n(16);e.EventDateProfile=C.default;var M=n(38);e.EventSourceParser=M.default;var T=n(6);e.EventSource=T.default;var E=n(57);e.defineThemeSystem=E.defineThemeSystem,e.getThemeSystemClass=E.getThemeSystemClass;var P=n(20);e.EventInstanceGroup=P.default;var I=n(56);e.ArrayEventSource=I.default;var O=n(223);e.FuncEventSource=O.default;var L=n(224);e.JsonFeedEventSource=L.default;var R=n(34);e.EventFootprint=R.default;var A=n(35);e.Class=A.default;var H=n(15);e.Mixin=H.default;var N=n(58);e.CoordCache=N.default;var F=n(225);e.Iterator=F.default;var Y=n(59);e.DragListener=Y.default;var j=n(17);e.HitDragListener=j.default;var z=n(226);e.MouseFollower=z.default;var B=n(52);e.ParsableModelMixin=B.default;var W=n(227);e.Popover=W.default;var V=n(21);e.Promise=V.default;var $=n(228);e.TaskQueue=$.default;var U=n(229);e.RenderQueue=U.default;var q=n(41);e.Scroller=q.default;var G=n(22);e.Theme=G.default;var J=n(230);e.Component=J.default;var Z=n(231);e.DateComponent=Z.default;var X=n(42);e.InteractiveDateComponent=X.default;var K=n(232);e.Calendar=K.default;var Q=n(43);e.View=Q.default;var tt=n(24);e.defineView=tt.defineView,e.getViewConfig=tt.getViewConfig;var et=n(60);e.DayTableMixin=et.default;var nt=n(61);e.BusinessHourRenderer=nt.default;var it=n(44);e.EventRenderer=it.default;var ot=n(62);e.FillRenderer=ot.default;var rt=n(63);e.HelperRenderer=rt.default;var at=n(233);e.ExternalDropping=at.default;var st=n(234);e.EventResizing=st.default;var lt=n(64);e.EventPointing=lt.default;var ut=n(235);e.EventDragging=ut.default;var ct=n(236);e.DateSelecting=ct.default;var dt=n(237);e.DateClicking=dt.default;var ht=n(14);e.Interaction=ht.default;var ft=n(65);e.StandardInteractionsMixin=ft.default;var pt=n(238);e.AgendaView=pt.default;var mt=n(239);e.TimeGrid=mt.default;var gt=n(240);e.TimeGridEventRenderer=gt.default;var vt=n(242);e.TimeGridFillRenderer=vt.default;var yt=n(241);e.TimeGridHelperRenderer=yt.default;var bt=n(66);e.DayGrid=bt.default;var wt=n(243);e.DayGridEventRenderer=wt.default;var xt=n(245);e.DayGridFillRenderer=xt.default;var _t=n(244);e.DayGridHelperRenderer=_t.default;var Dt=n(67);e.BasicView=Dt.default;var kt=n(68);e.BasicViewDateProfileGenerator=kt.default;var St=n(246);e.MonthView=St.default;var Ct=n(247);e.MonthViewDateProfileGenerator=Ct.default;var Mt=n(248);e.ListView=Mt.default;var Tt=n(250);e.ListEventPointing=Tt.default;var Et=n(249);e.ListEventRenderer=Et.default},function(t,e,n){function i(t,e){var n,i=[];for(n=0;n<t.length;n++)i.push.apply(i,t[n].buildInstances(e));return i}function o(t){return new l.default(t.dateProfile.unzonedRange,t.def,t)}function r(t){return new u.default(new c.default(t.unzonedRange,t.eventDef.isAllDay()),t.eventDef,t.eventInstance)}function a(t){return t.dateProfile.unzonedRange}function s(t){return t.componentFootprint}Object.defineProperty(e,"__esModule",{value:!0});var l=n(50),u=n(34),c=n(12);e.eventDefsToEventInstances=i,e.eventInstanceToEventRange=o,e.eventRangeToEventFootprint=r,e.eventInstanceToUnzonedRange=a,e.eventFootprintToComponentFootprint=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),o=n(19),r=n(50),a=function(){function t(t){this.eventInstances=t||[]}return t.prototype.getAllEventRanges=function(t){return t?this.sliceNormalRenderRanges(t):this.eventInstances.map(o.eventInstanceToEventRange)},t.prototype.sliceRenderRanges=function(t){return this.isInverse()?this.sliceInverseRenderRanges(t):this.sliceNormalRenderRanges(t)},t.prototype.sliceNormalRenderRanges=function(t){var e,n,i,o=this.eventInstances,a=[];for(e=0;e<o.length;e++)n=o[e],(i=n.dateProfile.unzonedRange.intersect(t))&&a.push(new r.default(i,n.def,n));return a},t.prototype.sliceInverseRenderRanges=function(t){var e=this.eventInstances.map(o.eventInstanceToUnzonedRange),n=this.getEventDef();return e=i.default.invertRanges(e,t),e.map(function(t){return new r.default(t,n)})},t.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},t.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},t}();e.default=a},function(t,e,n){function i(t,e){t.then=function(n){return"function"==typeof n?a.resolve(n(e)):t}}function o(t){t.then=function(e,n){return"function"==typeof n&&n(),t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),a={construct:function(t){var e=r.Deferred(),n=e.promise();return"function"==typeof t&&t(function(t){e.resolve(t),i(n,t)},function(){e.reject(),o(n)}),n},resolve:function(t){var e=r.Deferred().resolve(t),n=e.promise();return i(n,t),n},reject:function(){var t=r.Deferred().reject(),e=t.promise();return o(e),e}};e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=function(){function t(t){this.optionsManager=t,this.processIconOverride()}return t.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},t.prototype.setIconOverride=function(t){var e,n;if(i.isPlainObject(t)){e=i.extend({},this.iconClasses);for(n in t)e[n]=this.applyIconOverridePrefix(t[n]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t){var e=this.iconClasses[t];return e?this.baseIconClass+" "+e:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();e.default=o,o.prototype.classes={},o.prototype.iconClasses={},o.prototype.baseIconClass="",o.prototype.iconOverridePrefix=""},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(18),r=n(13),a=n(7);o.touchMouseIgnoreWait=500;var s=null,l=0,u=function(){function t(){this.isTouching=!1,this.mouseIgnoreDepth=0}return t.get=function(){return s||(s=new t,s.bind()),s},t.needed=function(){t.get(),l++},t.unneeded=function(){--l||(s.unbind(),s=null)},t.prototype.bind=function(){var t=this;this.listenTo(i(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(e){t.handleTouchMove(i.Event(e))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(e){t.handleScroll(i.Event(e))},!0)},t.prototype.unbind=function(){this.stopListeningTo(i(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy,{passive:!1}),window.removeEventListener("scroll",this.handleScrollProxy,!0)},t.prototype.handleTouchStart=function(t){this.stopTouch(t,!0),this.isTouching=!0,this.trigger("touchstart",t)},t.prototype.handleTouchMove=function(t){this.isTouching&&this.trigger("touchmove",t)},t.prototype.handleTouchCancel=function(t){this.isTouching&&(this.trigger("touchcancel",t),this.stopTouch(t))},t.prototype.handleTouchEnd=function(t){this.stopTouch(t)},t.prototype.handleMouseDown=function(t){this.shouldIgnoreMouse()||this.trigger("mousedown",t)},t.prototype.handleMouseMove=function(t){this.shouldIgnoreMouse()||this.trigger("mousemove",t)},t.prototype.handleMouseUp=function(t){this.shouldIgnoreMouse()||this.trigger("mouseup",t)},t.prototype.handleClick=function(t){this.shouldIgnoreMouse()||this.trigger("click",t)},t.prototype.handleSelectStart=function(t){this.trigger("selectstart",t)},t.prototype.handleContextMenu=function(t){this.trigger("contextmenu",t)},t.prototype.handleScroll=function(t){this.trigger("scroll",t)},t.prototype.stopTouch=function(t,e){void 0===e&&(e=!1),this.isTouching&&(this.isTouching=!1,this.trigger("touchend",t),e||this.startTouchMouseIgnore())},t.prototype.startTouchMouseIgnore=function(){var t=this,e=o.touchMouseIgnoreWait;e&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},e))},t.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},t}();e.default=u,a.default.mixInto(u),r.default.mixInto(u)},function(t,e,n){function i(t,n){e.viewHash[t]=n}function o(t){return e.viewHash[t]}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18);e.viewHash={},r.views=e.viewHash,e.defineView=i,e.getViewConfig=o},,,,,,,,function(t,e,n){function i(t){s.each(p,function(e,n){null==t[e]&&(t[e]=n(t))})}function o(t,n,i){var o=e.localeOptionHash[t]||(e.localeOptionHash[t]={});o.isRTL=i.isRTL,o.weekNumberTitle=i.weekHeader,s.each(h,function(t,e){o[t]=e(i)});var r=s.datepicker;r&&(r.regional[n]=r.regional[t]=i,r.regional.en=r.regional[""],r.setDefaults(i))}function r(t,n){var i,o;i=e.localeOptionHash[t]||(e.localeOptionHash[t]={}),n&&(i=e.localeOptionHash[t]=c.mergeOptions([i,n])),o=a(t),s.each(f,function(t,e){null==i[t]&&(i[t]=e(o,i))}),c.globalDefaults.locale=t}function a(t){return l.localeData(t)||l.localeData("en")}Object.defineProperty(e,"__esModule",{value:!0});var s=n(3),l=n(0),u=n(18),c=n(33),d=n(4);e.localeOptionHash={},u.locales=e.localeOptionHash;var h={buttonText:function(t){return{prev:d.stripHtmlEntities(t.prevText),next:d.stripHtmlEntities(t.nextText),today:d.stripHtmlEntities(t.currentText)}},monthYearFormat:function(t){return t.showMonthAfterYear?"YYYY["+t.yearSuffix+"] MMMM":"MMMM YYYY["+t.yearSuffix+"]"}},f={dayOfMonthFormat:function(t,e){var n=t.longDateFormat("l");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),e.isRTL?n+=" ddd":n="ddd "+n,n},mediumTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(t){return t.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}},p={smallDayDateFormat:function(t){return t.isRTL?"D dd":"dd D"},weekFormat:function(t){return t.isRTL?"w[ "+t.weekNumberTitle+"]":"["+t.weekNumberTitle+" ]w"},smallWeekFormat:function(t){return t.isRTL?"w["+t.weekNumberTitle+"]":"["+t.weekNumberTitle+"]w"}};e.populateInstanceComputableOptions=i,e.datepickerLocale=o,e.locale=r,e.getMomentLocaleData=a,r("en",c.englishDefaults)},function(t,e,n){function i(t){return o.mergeProps(t,r)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4);e.globalDefaults={titleRangeSeparator:" ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3},e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var r=["header","footer","buttonText","buttonIcons","themeButtonIcons"];e.mergeOptions=i},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e,n){this.componentFootprint=t,this.eventDef=e,n&&(this.eventInstance=n)}return t.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=function(){function t(){}return t.extend=function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(this);return o.copyOwnProps(t,e.prototype),e},t.mixin=function(t){o.copyOwnProps(t,this.prototype)},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(4),r=n(9),a=n(54);e.default={parse:function(t,e){return o.isTimeString(t.start)||i.isDuration(t.start)||o.isTimeString(t.end)||i.isDuration(t.end)?a.default.parse(t,e):r.default.parse(t,e)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(52),r=function(){function t(t){this.source=t,this.className=[],this.miscProps={}}return t.parse=function(t,e){var n=new this(e);return!!n.applyProps(t)&&n},t.normalizeId=function(t){return String(t)},t.generateId=function(){return"_fc"+t.uuid++},t.prototype.clone=function(){var e=new this.constructor(this.source);return e.id=this.id,e.rawId=this.rawId,e.uid=this.uid,t.copyVerbatimStandardProps(this,e),e.className=this.className.slice(),e.miscProps=i.extend({},this.miscProps),e},t.prototype.hasInverseRendering=function(){return"inverse-background"===this.getRendering()},t.prototype.hasBgRendering=function(){var t=this.getRendering();return"inverse-background"===t||"background"===t},t.prototype.getRendering=function(){return null!=this.rendering?this.rendering:this.source.rendering},t.prototype.getConstraint=function(){return null!=this.constraint?this.constraint:null!=this.source.constraint?this.source.constraint:this.source.calendar.opt("eventConstraint")},t.prototype.getOverlap=function(){return null!=this.overlap?this.overlap:null!=this.source.overlap?this.source.overlap:this.source.calendar.opt("eventOverlap")},t.prototype.isStartExplicitlyEditable=function(){return null!=this.startEditable?this.startEditable:this.source.startEditable},t.prototype.isDurationExplicitlyEditable=function(){return null!=this.durationEditable?this.durationEditable:this.source.durationEditable},t.prototype.isExplicitlyEditable=function(){return null!=this.editable?this.editable:this.source.editable},t.prototype.toLegacy=function(){var e=i.extend({},this.miscProps);return e._id=this.uid,e.source=this.source,e.className=this.className.slice(),e.allDay=this.isAllDay(),null!=this.rawId&&(e.id=this.rawId),t.copyVerbatimStandardProps(this,e),e},t.prototype.applyManualStandardProps=function(e){return null!=e.id?this.id=t.normalizeId(this.rawId=e.id):this.id=t.generateId(),null!=e._id?this.uid=String(e._id):this.uid=t.generateId(),i.isArray(e.className)&&(this.className=e.className),"string"==typeof e.className&&(this.className=e.className.split(/\s+/)),!0},t.prototype.applyMiscProps=function(t){i.extend(this.miscProps,t)},t.uuid=0,t.defineStandardProps=o.default.defineStandardProps,t.copyVerbatimStandardProps=o.default.copyVerbatimStandardProps,t}();e.default=r,o.default.mixInto(r),r.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={sourceClasses:[],registerClass:function(t){this.sourceClasses.unshift(t)},parse:function(t,e){var n,i,o=this.sourceClasses;for(n=0;n<o.length;n++)if(i=o[n].parse(t,e))return i}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=n(16),r=n(37),a=n(40),s=n(9),l=function(){function t(){}return t.createFromRawProps=function(e,n,s){var l,u,c,d,h=e.def,f={},p={},m={},g={},v=null,y=null;for(l in n)o.default.isStandardProp(l)?f[l]=n[l]:h.isStandardProp(l)?p[l]=n[l]:h.miscProps[l]!==n[l]&&(m[l]=n[l]);return u=o.default.parse(f,h.source),u&&(c=a.default.createFromDiff(e.dateProfile,u,s)),p.id!==h.id&&(v=p.id),i.isArraysEqual(p.className,h.className)||(y=p.className),r.default.copyVerbatimStandardProps(p,g),d=new t,d.eventDefId=v,d.className=y,d.verbatimStandardProps=g,d.miscProps=m,c&&(d.dateMutation=c),d},t.prototype.mutateSingle=function(t){var e;return this.dateMutation&&(e=t.dateProfile,t.dateProfile=this.dateMutation.buildNewDateProfile(e,t.source.calendar)),null!=this.eventDefId&&(t.id=r.default.normalizeId(t.rawId=this.eventDefId)),this.className&&(t.className=this.className),this.verbatimStandardProps&&s.default.copyVerbatimStandardProps(this.verbatimStandardProps,t),this.miscProps&&t.applyMiscProps(this.miscProps),e?function(){t.dateProfile=e}:function(){}},t.prototype.setDateMutation=function(t){t&&!t.isEmpty()?this.dateMutation=t:this.dateMutation=null},t.prototype.isEmpty=function(){return!this.dateMutation},t}();e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=n(16),r=function(){function t(){this.clearEnd=!1,this.forceTimed=!1,this.forceAllDay=!1}return t.createFromDiff=function(e,n,o){function r(t,e){return o?i.diffByUnit(t,e,o):n.isAllDay()?i.diffDay(t,e):i.diffDayTime(t,e)}var a,s,l,u,c=e.end&&!n.end,d=e.isAllDay()&&!n.isAllDay(),h=!e.isAllDay()&&n.isAllDay();return a=r(n.start,e.start),n.end&&(s=r(n.unzonedRange.getEnd(),e.unzonedRange.getEnd()),l=s.subtract(a)),u=new t,u.clearEnd=c,u.forceTimed=d,u.forceAllDay=h,u.setDateDelta(a),u.setEndDelta(l),u},t.prototype.buildNewDateProfile=function(t,e){var n=t.start.clone(),i=null,r=!1;return t.end&&!this.clearEnd?i=t.end.clone():this.endDelta&&!i&&(i=e.getDefaultEventEnd(t.isAllDay(),n)),this.forceTimed?(r=!0,n.hasTime()||n.time(0),i&&!i.hasTime()&&i.time(0)):this.forceAllDay&&(n.hasTime()&&n.stripTime(),i&&i.hasTime()&&i.stripTime()),this.dateDelta&&(r=!0,n.add(this.dateDelta),i&&i.add(this.dateDelta)),this.endDelta&&(r=!0,i.add(this.endDelta)),this.startDelta&&(r=!0,n.add(this.startDelta)),r&&(n=e.applyTimezone(n),i&&(i=e.applyTimezone(i))),!i&&e.opt("forceEventDuration")&&(i=e.getDefaultEventEnd(t.isAllDay(),n)),new o.default(n,i,e)},t.prototype.setDateDelta=function(t){t&&t.valueOf()?this.dateDelta=t:this.dateDelta=null},t.prototype.setStartDelta=function(t){t&&t.valueOf()?this.startDelta=t:this.startDelta=null},t.prototype.setEndDelta=function(t){t&&t.valueOf()?this.endDelta=t:this.endDelta=null},t.prototype.isEmpty=function(){return!(this.clearEnd||this.forceTimed||this.forceAllDay||this.dateDelta||this.startDelta||this.endDelta)},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(35),s=function(t){function e(e){var n=t.call(this)||this;return e=e||{},n.overflowX=e.overflowX||e.overflow||"auto",n.overflowY=e.overflowY||e.overflow||"auto",n}return i.__extends(e,t),e.prototype.render=function(){this.el=this.renderEl(),this.applyOverflow()},e.prototype.renderEl=function(){return this.scrollEl=o('<div class="fc-scroller"></div>')},e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){this.el.remove()},e.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,n=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.top||t.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===n&&(n=t.left||t.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":e,"overflow-y":n})},e.prototype.setHeight=function(t){this.scrollEl.height(t)},e.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},e.prototype.setScrollTop=function(t){this.scrollEl.scrollTop(t)},e.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},e.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},e.prototype.getScrollbarWidths=function(){return r.getScrollbarWidths(this.scrollEl)},e}(a.default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(231),s=n(23),l=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.segSelector=".fc-event-container > *",i.dateSelectingClass&&(i.dateClicking=new i.dateClickingClass(i)),i.dateSelectingClass&&(i.dateSelecting=new i.dateSelectingClass(i)),i.eventPointingClass&&(i.eventPointing=new i.eventPointingClass(i)),i.eventDraggingClass&&i.eventPointing&&(i.eventDragging=new i.eventDraggingClass(i,i.eventPointing)),i.eventResizingClass&&i.eventPointing&&(i.eventResizing=new i.eventResizingClass(i,i.eventPointing)),i.externalDroppingClass&&(i.externalDropping=new i.externalDroppingClass(i)),i}return i.__extends(e,t),e.prototype.setElement=function(e){t.prototype.setElement.call(this,e),this.dateClicking&&this.dateClicking.bindToEl(e),this.dateSelecting&&this.dateSelecting.bindToEl(e),this.bindAllSegHandlersToEl(e)},e.prototype.removeElement=function(){this.endInteractions(),t.prototype.removeElement.call(this)},e.prototype.executeEventUnrender=function(){this.endInteractions(),t.prototype.executeEventUnrender.call(this)},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.bindToDocument()},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.unbindFromDocument()},e.prototype.bindDateHandlerToEl=function(t,e,n){var i=this;this.el.on(e,function(t){if(!o(t.target).is(i.segSelector+":not(.fc-helper),"+i.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return n.call(i,t)})},e.prototype.bindAllSegHandlersToEl=function(t){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(e){e&&e.bindToEl(t)})},e.prototype.bindSegHandlerToEl=function(t,e,n){var i=this;t.on(e,this.segSelector,function(t){var e=o(t.currentTarget);if(!e.is(".fc-helper")){var r=e.data("fc-seg");if(r&&!i.shouldIgnoreEventPointing())return n.call(i,r,t)}})},e.prototype.shouldIgnoreMouse=function(){return s.default.get().shouldIgnoreMouse()},e.prototype.shouldIgnoreTouch=function(){var t=this._getView();return t.isSelected||t.selectedEvent},e.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},e.prototype.canStartSelection=function(t,e){return r.getEvIsTouch(e)&&!this.canStartResize(t,e)&&(this.isEventDefDraggable(t.footprint.eventDef)||this.isEventDefResizable(t.footprint.eventDef))},e.prototype.canStartDrag=function(t,e){return!this.canStartResize(t,e)&&this.isEventDefDraggable(t.footprint.eventDef)},e.prototype.canStartResize=function(t,e){var n=this._getView(),i=t.footprint.eventDef;return(!r.getEvIsTouch(e)||n.isEventDefSelected(i))&&this.isEventDefResizable(i)&&o(e.target).is(".fc-resizer")},e.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.end()})},e.prototype.isEventDefDraggable=function(t){return this.isEventDefStartEditable(t)},e.prototype.isEventDefStartEditable=function(t){var e=t.isStartExplicitlyEditable();return null==e&&null==(e=this.opt("eventStartEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.isEventDefGenerallyEditable=function(t){var e=t.isExplicitlyEditable();return null==e&&(e=this.opt("editable")),e},e.prototype.isEventDefResizableFromStart=function(t){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(t)},e.prototype.isEventDefResizableFromEnd=function(t){return this.isEventDefResizable(t)},e.prototype.isEventDefResizable=function(t){var e=t.isDurationExplicitlyEditable();return null==e&&null==(e=this.opt("eventDurationEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.diffDates=function(t,e){return this.largeUnit?r.diffByUnit(t,e,this.largeUnit):r.diffDayTime(t,e)},e.prototype.isEventInstanceGroupAllowed=function(t){var e,n=this._getView(),i=this.dateProfile,o=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<o.length;e++)if(!i.validUnzonedRange.containsRange(o[e].componentFootprint.unzonedRange))return!1;return n.calendar.constraints.isEventInstanceGroupAllowed(t)},e.prototype.isExternalInstanceGroupAllowed=function(t){var e,n=this._getView(),i=this.dateProfile,o=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<o.length;e++)if(!i.validUnzonedRange.containsRange(o[e].componentFootprint.unzonedRange))return!1;for(e=0;e<o.length;e++)if(!n.calendar.constraints.isSelectionFootprintAllowed(o[e].componentFootprint))return!1;return!0},e}(a.default);e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(0),a=n(4),s=n(229),l=n(55),u=n(42),c=n(23),d=n(5),h=function(t){function e(e,n){var i=t.call(this,null,n.options)||this;return i.batchRenderDepth=0,i.isSelected=!1,i.calendar=e,i.viewSpec=n,i.type=n.type,i.name=i.type,i.initRenderQueue(),i.initHiddenDays(),i.dateProfileGenerator=new i.dateProfileGeneratorClass(i),i.bindBaseRenderHandlers(),i.eventOrderSpecs=a.parseFieldSpecs(i.opt("eventOrder")),i.initialize&&i.initialize(),i}return i.__extends(e,t),e.prototype._getView=function(){return this},e.prototype.opt=function(t){return this.options[t]},e.prototype.initRenderQueue=function(){this.renderQueue=new s.default({event:this.opt("eventRenderWait")}),this.renderQueue.on("start",this.onRenderQueueStart.bind(this)),this.renderQueue.on("stop",this.onRenderQueueStop.bind(this)),this.on("before:change",this.startBatchRender),this.on("change",this.stopBatchRender)},e.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight(),this.addScroll(this.queryScroll())},e.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll(),this.calendar.thawContentHeight()},e.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},e.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},e.prototype.requestRender=function(t,e,n){this.renderQueue.queue(t,e,n)},e.prototype.whenSizeUpdated=function(t){this.renderQueue.isRunning?this.renderQueue.one("stop",t.bind(this)):t.call(this)},e.prototype.computeTitle=function(t){var e;return e=/^(year|month)$/.test(t.currentRangeUnit)?t.currentUnzonedRange:t.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(e.startMs,t.isRangeAllDay),end:this.calendar.msToMoment(e.endMs,t.isRangeAllDay)},t.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(t),this.opt("titleRangeSeparator"))},e.prototype.computeTitleFormat=function(t){var e=t.currentRangeUnit;return"year"===e?"YYYY":"month"===e?this.opt("monthYearFormat"):t.currentUnzonedRange.as("days")>1?"ll":"LL"},e.prototype.setDate=function(t){var e=this.get("dateProfile"),n=this.dateProfileGenerator.build(t,void 0,!0);e&&e.activeUnzonedRange.equals(n.activeUnzonedRange)||this.set("dateProfile",n)},e.prototype.unsetDate=function(){this.unset("dateProfile")},e.prototype.fetchInitialEvents=function(t){var e=this.calendar,n=t.isRangeAllDay&&!this.usesMinMaxTime;return e.requestEvents(e.msToMoment(t.activeUnzonedRange.startMs,n),e.msToMoment(t.activeUnzonedRange.endMs,n))},e.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},e.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},e.prototype.setEvents=function(t){this.set("currentEvents",t),this.set("hasEvents",!0)},e.prototype.unsetEvents=function(){this.unset("currentEvents"),this.unset("hasEvents")},e.prototype.resetEvents=function(t){this.startBatchRender(),this.unsetEvents(),this.setEvents(t),this.stopBatchRender()},e.prototype.requestDateRender=function(t){var e=this;this.requestRender(function(){e.executeDateRender(t)},"date","init")},e.prototype.requestDateUnrender=function(){var t=this;this.requestRender(function(){t.executeDateUnrender()},"date","destroy")},e.prototype.executeDateRender=function(e){t.prototype.executeDateRender.call(this,e),this.render&&this.render(),this.trigger("datesRendered"),this.addScroll({isDateInit:!0}),this.startNowIndicator()},e.prototype.executeDateUnrender=function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.destroy&&this.destroy(),t.prototype.executeDateUnrender.call(this)},e.prototype.bindBaseRenderHandlers=function(){var t=this;this.on("datesRendered",function(){t.whenSizeUpdated(t.triggerViewRender)}),this.on("before:datesUnrendered",function(){t.triggerViewDestroy()})},e.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.requestEventsRender=function(t){var e=this;this.requestRender(function(){e.executeEventRender(t),e.whenSizeUpdated(e.triggerAfterEventsRendered)},"event","init")},e.prototype.requestEventsUnrender=function(){var t=this;this.requestRender(function(){t.triggerBeforeEventsDestroyed(),t.executeEventUnrender()},"event","destroy")},e.prototype.requestBusinessHoursRender=function(t){var e=this;this.requestRender(function(){e.renderBusinessHours(t)},"businessHours","init")},e.prototype.requestBusinessHoursUnrender=function(){var t=this;this.requestRender(function(){t.unrenderBusinessHours()},"businessHours","destroy")},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.listenTo(c.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.stopListeningTo(c.default.get())},e.prototype.startNowIndicator=function(){var t,e,n,i=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(e=a.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),n=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){i.nowIndicatorTimeoutID=null,e(),n=+r.duration(1,t),n=Math.max(100,n),i.nowIndicatorIntervalID=setInterval(e,n)},n))},e.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.updateSize=function(e,n,i){this.setHeight?this.setHeight(e,n):t.prototype.updateSize.call(this,e,n,i),this.updateNowIndicator()},e.prototype.addScroll=function(t){var e=this.queuedScroll||(this.queuedScroll={});o.extend(e,t)},e.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},e.prototype.queryScroll=function(){var t={};return this.isDatesRendered&&o.extend(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t){t.isDateInit&&this.isDatesRendered&&o.extend(t,this.computeInitialDateScroll()),this.isDatesRendered&&this.applyDateScroll(t)},e.prototype.computeInitialDateScroll=function(){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.reportEventDrop=function(t,e,n,i){var o=this.calendar.eventManager,a=o.mutateEventsWithId(t.def.id,e),s=e.dateMutation;s&&(t.dateProfile=s.buildNewDateProfile(t.dateProfile,this.calendar)),this.triggerEventDrop(t,s&&s.dateDelta||r.duration(),a,n,i)},e.prototype.triggerEventDrop=function(t,e,n,i,o){this.publiclyTrigger("eventDrop",{context:i[0],args:[t.toLegacy(),e,n,o,{},this]})},e.prototype.reportExternalDrop=function(t,e,n,i,o,r){e&&this.calendar.eventManager.addEventDef(t,n),this.triggerExternalDrop(t,e,i,o,r)},e.prototype.triggerExternalDrop=function(t,e,n,i,o){this.publiclyTrigger("drop",{context:n[0],args:[t.dateProfile.start.clone(),i,o,this]}),e&&this.publiclyTrigger("eventReceive",{context:this,args:[t.buildInstance().toLegacy(),this]})},e.prototype.reportEventResize=function(t,e,n,i){var o=this.calendar.eventManager,r=o.mutateEventsWithId(t.def.id,e);t.dateProfile=e.dateMutation.buildNewDateProfile(t.dateProfile,this.calendar);var a=e.dateMutation.endDelta||e.dateMutation.startDelta;this.triggerEventResize(t,a,r,n,i)},e.prototype.triggerEventResize=function(t,e,n,i,o){this.publiclyTrigger("eventResize",{context:i[0],args:[t.toLegacy(),e,n,o,{},this]})},e.prototype.select=function(t,e){this.unselect(e),this.renderSelectionFootprint(t),this.reportSelection(t,e)},e.prototype.renderSelectionFootprint=function(e){this.renderSelection?this.renderSelection(e.toLegacy(this.calendar)):t.prototype.renderSelectionFootprint.call(this,e)},e.prototype.reportSelection=function(t,e){this.isSelected=!0,this.triggerSelect(t,e)},e.prototype.triggerSelect=function(t,e){var n=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("select",{context:this,args:[n.start,n.end,e,this]})},e.prototype.unselect=function(t){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[t,this]}))},e.prototype.selectEventInstance=function(t){this.selectedEventInstance&&this.selectedEventInstance===t||(this.unselectEventInstance(),this.getEventSegs().forEach(function(e){e.footprint.eventInstance===t&&e.el&&e.el.addClass("fc-selected")}),this.selectedEventInstance=t)},e.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(t){t.el&&t.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},e.prototype.isEventDefSelected=function(t){return this.selectedEventInstance&&this.selectedEventInstance.def.id===t.id},e.prototype.handleDocumentMousedown=function(t){a.isPrimaryMouseButton(t)&&this.processUnselect(t)},e.prototype.processUnselect=function(t){this.processRangeUnselect(t),this.processEventUnselect(t)},e.prototype.processRangeUnselect=function(t){var e;this.isSelected&&this.opt("unselectAuto")&&((e=this.opt("unselectCancel"))&&o(t.target).closest(e).length||this.unselect(t))},e.prototype.processEventUnselect=function(t){this.selectedEventInstance&&(o(t.target).closest(".fc-selected").length||this.unselectEventInstance())},e.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.triggerDayClick=function(t,e,n){var i=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("dayClick",{context:e,args:[i.start,n,this]})},e.prototype.isDateInOtherMonth=function(t,e){return!1},e.prototype.getUnzonedRangeOption=function(t){var e=this.opt(t);if("function"==typeof e&&(e=e.apply(null,Array.prototype.slice.call(arguments,1))),e)return this.calendar.parseUnzonedRange(e)},e.prototype.initHiddenDays=function(){var t,e=this.opt("hiddenDays")||[],n=[],i=0;for(!1===this.opt("weekends")&&e.push(0,6),t=0;t<7;t++)(n[t]=-1!==o.inArray(t,e))||i++;if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(t){var e=t.getStart(),n=t.getEnd();return e&&(e=this.skipHiddenDays(e)),n&&(n=this.skipHiddenDays(n,-1,!0)),null===e||null===n||e<n?new d.default(e,n):null},e.prototype.isHiddenDay=function(t){return r.isMoment(t)&&(t=t.day()),this.isHiddenDayHash[t]},e.prototype.skipHiddenDays=function(t,e,n){void 0===e&&(e=1),void 0===n&&(n=!1);for(var i=t.clone();this.isHiddenDayHash[(i.day()+(n?e:0)+7)%7];)i.add(e,"days");return i},e}(u.default);e.default=h,h.prototype.usesMinMaxTime=!1,h.prototype.dateProfileGeneratorClass=l.default,h.watch("displayingDates",["isInDom","dateProfile"],function(t){this.requestDateRender(t.dateProfile)},function(){this.requestDateUnrender()}),h.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(t){this.requestBusinessHoursRender(t.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()}),h.watch("initialEvents",["dateProfile"],function(t){return this.fetchInitialEvents(t.dateProfile)}),h.watch("bindingEvents",["initialEvents"],function(t){this.setEvents(t.initialEvents),this.bindEventChanges()},function(){this.unbindEventChanges(),this.unsetEvents()}),h.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()}),h.watch("title",["dateProfile"],function(t){return this.title=this.computeTitle(t.dateProfile)}),h.watch("legacyDateProps",["dateProfile"],function(t){var e=this.calendar,n=t.dateProfile;this.start=e.msToMoment(n.activeUnzonedRange.startMs,n.isRangeAllDay),this.end=e.msToMoment(n.activeUnzonedRange.endMs,n.isRangeAllDay),this.intervalStart=e.msToMoment(n.currentUnzonedRange.startMs,n.isRangeAllDay),this.intervalEnd=e.msToMoment(n.currentUnzonedRange.endMs,n.isRangeAllDay)})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=function(){function t(t,e){this.view=t._getView(),this.component=t,this.fillRenderer=e}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.rangeUpdated=function(){var t,e;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat(),t=this.opt("displayEventTime"),null==t&&(t=this.computeDisplayEventTime()),e=this.opt("displayEventEnd"),null==e&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},t.prototype.render=function(t){var e,n,i,o=this.component._getDateProfile(),r=[],a=[];for(e in t)n=t[e],i=n.sliceRenderRanges(o.activeUnzonedRange),n.getEventDef().hasBgRendering()?r.push.apply(r,i):a.push.apply(a,i);this.renderBgRanges(r),this.renderFgRanges(a)},t.prototype.unrender=function(){this.unrenderBgRanges(),this.unrenderFgRanges()},t.prototype.renderFgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),n=this.component.eventFootprintsToSegs(e);n=this.renderFgSegEls(n),!1!==this.renderFgSegs(n)&&(this.fgSegs=n)},t.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]),this.fgSegs=null},t.prototype.renderBgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),n=this.component.eventFootprintsToSegs(e);!1!==this.renderBgSegs(n)&&(this.bgSegs=n)},t.prototype.unrenderBgRanges=function(){this.unrenderBgSegs(),this.bgSegs=null},t.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},t.prototype.renderFgSegs=function(t){return!1},t.prototype.unrenderFgSegs=function(t){},t.prototype.renderBgSegs=function(t){var e=this;if(!this.fillRenderer)return!1;this.fillRenderer.renderSegs("bgEvent",t,{getClasses:function(t){return e.getBgClasses(t.footprint.eventDef)},getCss:function(t){return{"background-color":e.getBgColor(t.footprint.eventDef)}},filterEl:function(t,n){return e.filterEventRenderEl(t.footprint,n)}})},t.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},t.prototype.renderFgSegEls=function(t,e){var n=this;void 0===e&&(e=!1);var o,r=this.view.hasPublicHandlers("eventRender"),a="",s=[];if(t.length){for(o=0;o<t.length;o++)this.beforeFgSegHtml(t[o]),a+=this.fgSegHtml(t[o],e);i(a).each(function(e,o){var a=t[e],l=i(o);r&&(l=n.filterEventRenderEl(a.footprint,l)),l&&(l.data("fc-seg",a),a.el=l,s.push(a))})}return s},t.prototype.beforeFgSegHtml=function(t){},t.prototype.fgSegHtml=function(t,e){},t.prototype.getSegClasses=function(t,e,n){var i=["fc-event",t.isStart?"fc-start":"fc-not-start",t.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(t.footprint.eventDef));return e&&i.push("fc-draggable"),n&&i.push("fc-resizable"),this.view.isEventDefSelected(t.footprint.eventDef)&&i.push("fc-selected"),i},t.prototype.filterEventRenderEl=function(t,e){var n=t.getEventLegacy(),o=this.view.publiclyTrigger("eventRender",{context:n,args:[n,e,this.view]});return!1===o?e=null:o&&!0!==o&&(e=i(o)),e},t.prototype.getTimeText=function(t,e,n){return this._getTimeText(t.eventInstance.dateProfile.start,t.eventInstance.dateProfile.end,t.componentFootprint.isAllDay,e,n)},t.prototype._getTimeText=function(t,e,n,i,o){return null==i&&(i=this.eventTimeFormat),null==o&&(o=this.displayEventEnd),this.displayEventTime&&!n?o&&e?this.view.formatRange({start:t,end:e},!1,i):t.format(i):""},t.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},t.prototype.computeDisplayEventTime=function(){return!0},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.getBgClasses=function(t){var e=this.getClasses(t);return e.push("fc-bgevent"),e},t.prototype.getClasses=function(t){var e,n=this.getStylingObjs(t),i=[];for(e=0;e<n.length;e++)i.push.apply(i,n[e].eventClassName||n[e].className||[]);return i},t.prototype.getSkinCss=function(t){return{"background-color":this.getBgColor(t),"border-color":this.getBorderColor(t),color:this.getTextColor(t)}},t.prototype.getBgColor=function(t){var e,n,i=this.getStylingObjs(t);for(e=0;e<i.length&&!n;e++)n=i[e].eventBackgroundColor||i[e].eventColor||i[e].backgroundColor||i[e].color;return n||(n=this.opt("eventBackgroundColor")||this.opt("eventColor")),n},t.prototype.getBorderColor=function(t){var e,n,i=this.getStylingObjs(t);for(e=0;e<i.length&&!n;e++)n=i[e].eventBorderColor||i[e].eventColor||i[e].borderColor||i[e].color;return n||(n=this.opt("eventBorderColor")||this.opt("eventColor")),n},t.prototype.getTextColor=function(t){var e,n,i=this.getStylingObjs(t);for(e=0;e<i.length&&!n;e++)n=i[e].eventTextColor||i[e].textColor;return n||(n=this.opt("eventTextColor")),n},t.prototype.getStylingObjs=function(t){var e=this.getFallbackStylingObjs(t);return e.unshift(t),e},t.prototype.getFallbackStylingObjs=function(t){return[t.source]},t.prototype.sortEventSegs=function(t){t.sort(o.proxy(this,"compareEventSegs"))},t.prototype.compareEventSegs=function(t,e){var n=t.footprint,i=e.footprint,r=n.componentFootprint,a=i.componentFootprint,s=r.unzonedRange,l=a.unzonedRange;return s.startMs-l.startMs||l.endMs-l.startMs-(s.endMs-s.startMs)||a.isAllDay-r.isAllDay||o.compareByFieldSpecs(n.eventDef,i.eventDef,this.view.eventOrderSpecs,n.eventDef.miscProps,i.eventDef.miscProps)},t}();e.default=r},,,,,function(t,e,n){function i(t){return"en"!==t.locale()?t.clone().locale("en"):t}function o(t,e){return f(s(e).fakeFormatString,t)}function r(t,e,n,i,o){var r;return t=v.default.parseZone(t),e=v.default.parseZone(e),r=t.localeData(),n=r.longDateFormat(n)||n,a(s(n),t,e,i||" - ",o)}function a(t,e,n,i,o){var r,a,s,l=t.sameUnits,u=e.clone().stripZone(),c=n.clone().stripZone(),d=p(t.fakeFormatString,e),h=p(t.fakeFormatString,n),f="",g="",v="",y="",b="";for(r=0;r<l.length&&(!l[r]||u.isSame(c,l[r]));r++)f+=d[r];for(a=l.length-1;a>r&&(!l[a]||u.isSame(c,l[a]))&&(a-1!==r||"."!==d[a]);a--)g=d[a]+g;for(s=r;s<=a;s++)v+=d[s],y+=h[s];return(v||y)&&(b=o?y+i+v:v+i+y),m(f+b+g)}function s(t){return k[t]||(k[t]=l(t))}function l(t){var e=u(t);return{fakeFormatString:d(e),sameUnits:h(e)}}function u(t){for(var e,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=i.exec(t);)e[1]?n.push.apply(n,c(e[1])):e[2]?n.push({maybe:u(e[2])}):e[3]?n.push({token:e[3]}):e[5]&&n.push.apply(n,c(e[5]));return n}function c(t){return". "===t?["."," "]:[t]}function d(t){var e,n,i=[];for(e=0;e<t.length;e++)n=t[e],"string"==typeof n?i.push("["+n+"]"):n.token?n.token in _?i.push(b+"["+n.token+"]"):i.push(n.token):n.maybe&&i.push(w+d(n.maybe)+w);return i.join(y)}function h(t){var e,n,i,o=[];for(e=0;e<t.length;e++)n=t[e],n.token?(i=D[n.token.charAt(0)],o.push(i?i.unit:"second")):n.maybe?o.push.apply(o,h(n.maybe)):o.push(null);return o}function f(t,e){return m(p(t,e).join(""))}function p(t,e){var n,i,o=[],r=v.oldMomentFormat(e,t),a=r.split(y);for(n=0;n<a.length;n++)i=a[n],i.charAt(0)===b?o.push(_[i.substring(1)](e)):o.push(i);return o}function m(t){return t.replace(x,function(t,e){return e.match(/[1-9]/)?e:""})}function g(t){var e,n,i,o,r=u(t);for(e=0;e<r.length;e++)n=r[e],n.token&&(i=D[n.token.charAt(0)])&&(!o||i.value>o.value)&&(o=i);return o?o.unit:null}Object.defineProperty(e,"__esModule",{value:!0});var v=n(11);v.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?o(this,arguments[0]):this._ambigTime?v.oldMomentFormat(i(this),"YYYY-MM-DD"):this._ambigZone?v.oldMomentFormat(i(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?v.oldMomentFormat(i(this)):v.oldMomentProto.format.apply(this,arguments)},v.newMomentProto.toISOString=function(){return this._ambigTime?v.oldMomentFormat(i(this),"YYYY-MM-DD"):this._ambigZone?v.oldMomentFormat(i(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?v.oldMomentProto.toISOString.apply(i(this),arguments):v.oldMomentProto.toISOString.apply(this,arguments)};var y="\v",b="",w="",x=new RegExp(w+"([^"+w+"]*)"+w,"g"),_={t:function(t){return v.oldMomentFormat(t,"a").charAt(0)},T:function(t){return v.oldMomentFormat(t,"A").charAt(0)}},D={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};e.formatDate=o,e.formatRange=r;var k={};e.queryMostGranularFormatUnit=g},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e,n){this.unzonedRange=t,this.eventDef=e,n&&(this.eventInstance=n)}return t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(35),r=n(13),a=n(7),s=function(t){function e(){var e=t.call(this)||this;return e._watchers={},e._props={},e.applyGlobalWatchers(),e.constructed(),e}return i.__extends(e,t),e.watch=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs)),this.prototype._globalWatchArgs[t]=e},e.prototype.constructed=function(){},e.prototype.applyGlobalWatchers=function(){var t,e=this._globalWatchArgs;for(t in e)this.watch.apply(this,[t].concat(e[t]))},e.prototype.has=function(t){return t in this._props},e.prototype.get=function(t){return void 0===t?this._props:this._props[t]},e.prototype.set=function(t,e){var n;"string"==typeof t?(n={},n[t]=void 0===e?null:e):n=t,this.setProps(n)},e.prototype.reset=function(t){var e,n=this._props,i={};for(e in n)i[e]=void 0;for(e in t)i[e]=t[e];this.setProps(i)},e.prototype.unset=function(t){var e,n,i={};for(e="string"==typeof t?[t]:t,n=0;n<e.length;n++)i[e[n]]=void 0;this.setProps(i)},e.prototype.setProps=function(t){var e,n,i={},o=0;for(e in t)"object"!=typeof(n=t[e])&&n===this._props[e]||(i[e]=n,o++);if(o){this.trigger("before:batchChange",i);for(e in i)n=i[e],this.trigger("before:change",e,n),this.trigger("before:change:"+e,n);for(e in i)n=i[e],void 0===n?delete this._props[e]:this._props[e]=n,this.trigger("change:"+e,n),this.trigger("change",e,n);this.trigger("batchChange",i)}},e.prototype.watch=function(t,e,n,i){var o=this;this.unwatch(t),this._watchers[t]=this._watchDeps(e,function(e){var i=n.call(o,e);i&&i.then?(o.unset(t),i.then(function(e){o.set(t,e)})):o.set(t,i)},function(e){o.unset(t),i&&i.call(o,e)})},e.prototype.unwatch=function(t){var e=this._watchers[t];e&&(delete this._watchers[t],e.teardown())},e.prototype._watchDeps=function(t,e,n){var i=this,o=0,r=t.length,a=0,s={},l=[],u=!1,c=function(t,e,i){1===++o&&a===r&&(u=!0,n(s),u=!1)},d=function(t,n,i){void 0===n?(i||void 0===s[t]||a--,delete s[t]):(i||void 0!==s[t]||a++,s[t]=n),--o||a===r&&(u||e(s))},h=function(t,e){i.on(t,e),l.push([t,e])};return t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),h("before:change:"+t,function(t){c()}),h("change:"+t,function(n){d(t,n,e)})}),t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),i.has(t)?(s[t]=i.get(t),a++):e&&a++}),a===r&&e(s),{teardown:function(){for(var t=0;t<l.length;t++)i.off(l[t][0],l[t][1]);l=null,a===r&&n()},flash:function(){a===r&&(n(),e(s))}}},e.prototype.flash=function(t){var e=this._watchers[t];e&&e.flash()},e}(o.default);e.default=s,s.prototype._globalWatchArgs={},r.default.mixInto(s),a.default.mixInto(s)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=n(15),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.defineStandardProps=function(t){var e=this.prototype;e.hasOwnProperty("standardPropMap")||(e.standardPropMap=Object.create(e.standardPropMap)),o.copyOwnProps(t,e.standardPropMap)},e.copyVerbatimStandardProps=function(t,e){var n,i=this.prototype.standardPropMap;for(n in i)null!=t[n]&&!0===i[n]&&(e[n]=t[n])},e.prototype.applyProps=function(t){var e,n=this.standardPropMap,i={},o={};for(e in t)!0===n[e]?this[e]=t[e]:!1===n[e]?i[e]=t[e]:o[e]=t[e];return this.applyMiscProps(o),this.applyManualStandardProps(i)},e.prototype.applyManualStandardProps=function(t){return!0},e.prototype.applyMiscProps=function(t){},e.prototype.isStandardProp=function(t){return t in this.standardPropMap},e}(r.default);e.default=a,a.prototype.standardPropMap={}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.def=t,this.dateProfile=e}return t.prototype.toLegacy=function(){var t=this.dateProfile,e=this.def.toLegacy();return e.start=t.start.clone(),e.end=t.end?t.end.clone():null,e},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(0),a=n(37),s=n(53),l=n(16),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},e.prototype.buildInstances=function(t){for(var e,n,i,o=this.source.calendar,r=t.getStart(),a=t.getEnd(),u=[];r.isBefore(a);)this.dowHash&&!this.dowHash[r.day()]||(e=o.applyTimezone(r),n=e.clone(),i=null,this.startTime?n.time(this.startTime):n.stripTime(),this.endTime&&(i=e.clone().time(this.endTime)),u.push(new s.default(this,new l.default(n,i,o)))),r.add(1,"days");return u},e.prototype.setDow=function(t){this.dowHash||(this.dowHash={});for(var e=0;e<t.length;e++)this.dowHash[t[e]]=!0},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.startTime&&(e.startTime=r.duration(this.startTime)),e.endTime&&(e.endTime=r.duration(this.endTime)),this.dowHash&&(e.dowHash=o.extend({},this.dowHash)),e},e}(a.default);e.default=u,u.prototype.applyProps=function(t){var e=a.default.prototype.applyProps.call(this,t);return t.start&&(this.startTime=r.duration(t.start)),t.end&&(this.endTime=r.duration(t.end)),t.dow&&this.setDow(t.dow),e},u.defineStandardProps({start:!1,end:!1,dow:!1})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(4),r=n(5),a=function(){function t(t){this._view=t}return t.prototype.opt=function(t){return this._view.opt(t)},t.prototype.trimHiddenDays=function(t){return this._view.trimHiddenDays(t)},t.prototype.msToUtcMoment=function(t,e){return this._view.calendar.msToUtcMoment(t,e)},t.prototype.buildPrev=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).subtract(t.dateIncrement);return this.build(e,-1)},t.prototype.buildNext=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).add(t.dateIncrement);return this.build(e,1)},t.prototype.build=function(t,e,n){void 0===n&&(n=!1);var o,r,a,s,l,u,c=!t.hasTime(),d=null,h=null;return o=this.buildValidRange(),o=this.trimHiddenDays(o),n&&(t=this.msToUtcMoment(o.constrainDate(t),c)),r=this.buildCurrentRangeInfo(t,e),a=/^(year|month|week|day)$/.test(r.unit),s=this.buildRenderRange(this.trimHiddenDays(r.unzonedRange),r.unit,a),s=this.trimHiddenDays(s),l=s.clone(),this.opt("showNonCurrentDates")||(l=l.intersect(r.unzonedRange)),d=i.duration(this.opt("minTime")),h=i.duration(this.opt("maxTime")),l=this.adjustActiveRange(l,d,h),l=l.intersect(o),l&&(t=this.msToUtcMoment(l.constrainDate(t),c)),u=r.unzonedRange.intersectsWith(o),{validUnzonedRange:o,currentUnzonedRange:r.unzonedRange,currentRangeUnit:r.unit,isRangeAllDay:a,activeUnzonedRange:l,renderUnzonedRange:s,minTime:d,maxTime:h,isValid:u,date:t,dateIncrement:this.buildDateIncrement(r.duration)}},t.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new r.default},t.prototype.buildCurrentRangeInfo=function(t,e){var n,i=this._view.viewSpec,r=null,a=null,s=null;return i.duration?(r=i.duration,a=i.durationUnit,s=this.buildRangeFromDuration(t,e,r,a)):(n=this.opt("dayCount"))?(a="day",s=this.buildRangeFromDayCount(t,e,n)):(s=this.buildCustomVisibleRange(t))?a=o.computeGreatestUnit(s.getStart(),s.getEnd()):(r=this.getFallbackDuration(),a=o.computeGreatestUnit(r),s=this.buildRangeFromDuration(t,e,r,a)),{duration:r,unit:a,unzonedRange:s}},t.prototype.getFallbackDuration=function(){return i.duration({days:1})},t.prototype.adjustActiveRange=function(t,e,n){var i=t.getStart(),o=t.getEnd();return this._view.usesMinMaxTime&&(e<0&&i.time(0).add(e),n>864e5&&o.time(n-864e5)),new r.default(i,o)},t.prototype.buildRangeFromDuration=function(t,e,n,a){function s(){c=t.clone().startOf(f),d=c.clone().add(n),h=new r.default(c,d)}var l,u,c,d,h,f=this.opt("dateAlignment");return f||(l=this.opt("dateIncrement"),l?(u=i.duration(l),f=u<n?o.computeDurationGreatestUnit(u,l):a):f=a),n.as("days")<=1&&this._view.isHiddenDay(c)&&(c=this._view.skipHiddenDays(c,e),c.startOf("day")),s(),this.trimHiddenDays(h)||(t=this._view.skipHiddenDays(t,e),s()),h},t.prototype.buildRangeFromDayCount=function(t,e,n){var i,o,a=this.opt("dateAlignment"),s=0;if(a||-1!==e){i=t.clone(),a&&i.startOf(a),i.startOf("day"),i=this._view.skipHiddenDays(i),o=i.clone();do{o.add(1,"day"),this._view.isHiddenDay(o)||s++}while(s<n)}else{o=t.clone().startOf("day").add(1,"day"),o=this._view.skipHiddenDays(o,-1,!0),i=o.clone();do{i.add(-1,"day"),this._view.isHiddenDay(i)||s++}while(s<n)}return new r.default(i,o)},t.prototype.buildCustomVisibleRange=function(t){var e=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(t));return!e||null!=e.startMs&&null!=e.endMs?e:null},t.prototype.buildRenderRange=function(t,e,n){return t.clone()},t.prototype.buildDateIncrement=function(t){var e,n=this.opt("dateIncrement");return n?i.duration(n):(e=this.opt("dateAlignment"))?i.duration(1,e):t||i.duration({days:1})},t}();e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(21),s=n(6),l=n(9),u=function(t){function e(e){var n=t.call(this,e)||this;return n.eventDefs=[],n}return i.__extends(e,t),e.parse=function(t,e){var n;return o.isArray(t.events)?n=t:o.isArray(t)&&(n={events:t}),!!n&&s.default.parse.call(this,n,e)},e.prototype.setRawEventDefs=function(t){this.rawEventDefs=t,this.eventDefs=this.parseEventDefs(t)},e.prototype.fetch=function(t,e,n){var i,o=this.eventDefs;if(null!=this.currentTimezone&&this.currentTimezone!==n)for(i=0;i<o.length;i++)o[i]instanceof l.default&&o[i].rezone();return this.currentTimezone=n,a.default.resolve(o)},e.prototype.addEventDef=function(t){this.eventDefs.push(t)},e.prototype.removeEventDefsById=function(t){return r.removeMatching(this.eventDefs,function(e){return e.id===t})},e.prototype.removeAllEventDefs=function(){this.eventDefs=[]},e.prototype.getPrimitive=function(){return this.rawEventDefs},e.prototype.applyManualStandardProps=function(e){var n=t.prototype.applyManualStandardProps.call(this,e);return this.setRawEventDefs(e.events),n},e}(s.default);e.default=u,u.defineStandardProps({events:!1})},function(t,e,n){function i(t,e){s[t]=e}function o(t){return t?!0===t?a.default:s[t]:r.default}Object.defineProperty(e,"__esModule",{value:!0});var r=n(221),a=n(222),s={};e.defineThemeSystem=i,e.getThemeSystemClass=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=function(){function t(t){this.isHorizontal=!1,this.isVertical=!1,this.els=i(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?i(t.offsetParent):null}return t.prototype.build=function(){var t=this.forcedOffsetParentEl;!t&&this.els.length>0&&(t=this.els.eq(0).offsetParent()),this.origin=t?t.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},t.prototype.clear=function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},t.prototype.ensureBuilt=function(){this.origin||this.build()},t.prototype.buildElHorizontals=function(){var t=[],e=[];this.els.each(function(n,o){var r=i(o),a=r.offset().left,s=r.outerWidth();t.push(a),e.push(a+s)}),this.lefts=t,this.rights=e},t.prototype.buildElVerticals=function(){var t=[],e=[];this.els.each(function(n,o){var r=i(o),a=r.offset().top,s=r.outerHeight();t.push(a),e.push(a+s)}),this.tops=t,this.bottoms=e},t.prototype.getHorizontalIndex=function(t){this.ensureBuilt();var e,n=this.lefts,i=this.rights,o=n.length;for(e=0;e<o;e++)if(t>=n[e]&&t<i[e])return e},t.prototype.getVerticalIndex=function(t){this.ensureBuilt();var e,n=this.tops,i=this.bottoms,o=n.length;for(e=0;e<o;e++)if(t>=n[e]&&t<i[e])return e},t.prototype.getLeftOffset=function(t){return this.ensureBuilt(),this.lefts[t]},t.prototype.getLeftPosition=function(t){return this.ensureBuilt(),this.lefts[t]-this.origin.left},t.prototype.getRightOffset=function(t){return this.ensureBuilt(),this.rights[t]},t.prototype.getRightPosition=function(t){return this.ensureBuilt(),this.rights[t]-this.origin.left},t.prototype.getWidth=function(t){return this.ensureBuilt(),this.rights[t]-this.lefts[t]},t.prototype.getTopOffset=function(t){return this.ensureBuilt(),this.tops[t]},t.prototype.getTopPosition=function(t){return this.ensureBuilt(),this.tops[t]-this.origin.top},t.prototype.getBottomOffset=function(t){return this.ensureBuilt(),this.bottoms[t]},t.prototype.getBottomPosition=function(t){return this.ensureBuilt(),this.bottoms[t]-this.origin.top},t.prototype.getHeight=function(t){return this.ensureBuilt(),this.bottoms[t]-this.tops[t]},t.prototype.queryBoundingRect=function(){var t;return this.els.length>0&&(t=o.getScrollParent(this.els.eq(0)),!t.is(document)&&!t.is("html,body"))?o.getClientRect(t):null},t.prototype.isPointInBounds=function(t,e){return this.isLeftInBounds(t)&&this.isTopInBounds(e)},t.prototype.isLeftInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.left&&t<this.boundingRect.right},t.prototype.isTopInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.top&&t<this.boundingRect.bottom},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=n(7),a=n(23),s=function(){function t(t){this.isInteracting=!1,this.isDistanceSurpassed=!1,this.isDelayEnded=!1,this.isDragging=!1,this.isTouch=!1,this.isGeneric=!1,this.shouldCancelTouchScroll=!0,this.scrollAlwaysKills=!1,this.isAutoScroll=!1,this.scrollSensitivity=30,this.scrollSpeed=200,this.scrollIntervalMs=50,this.options=t||{}}return t.prototype.startInteraction=function(t,e){if(void 0===e&&(e={}),"mousedown"===t.type){if(a.default.get().shouldIgnoreMouse())return;if(!o.isPrimaryMouseButton(t))return;t.preventDefault()}this.isInteracting||(this.delay=o.firstDefined(e.delay,this.options.delay,0),this.minDistance=o.firstDefined(e.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,o.preventSelection(i("body")),this.isInteracting=!0,this.isTouch=o.getEvIsTouch(t),this.isGeneric="dragstart"===t.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=o.getEvX(t),this.originY=o.getEvY(t),this.scrollEl=o.getScrollParent(i(t.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(t),this.startDelay(t),this.minDistance||this.handleDistanceSurpassed(t))},t.prototype.handleInteractionStart=function(t){this.trigger("interactionStart",t)},t.prototype.endInteraction=function(t,e){this.isInteracting&&(this.endDrag(t),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(t,e),o.allowSelection(i("body")))},t.prototype.handleInteractionEnd=function(t,e){this.trigger("interactionEnd",t,e||!1)},t.prototype.bindHandlers=function(){var t=a.default.get();this.isGeneric?this.listenTo(i(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(t,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(t,{mousemove:this.handleMouseMove,mouseup:this.endInteraction}),this.listenTo(t,{selectstart:o.preventDefault,contextmenu:o.preventDefault})},t.prototype.unbindHandlers=function(){this.stopListeningTo(a.default.get()),this.stopListeningTo(i(document))},t.prototype.startDrag=function(t,e){this.startInteraction(t,e),this.isDragging||(this.isDragging=!0,this.handleDragStart(t))},t.prototype.handleDragStart=function(t){this.trigger("dragStart",t)},t.prototype.handleMove=function(t){var e=o.getEvX(t)-this.originX,n=o.getEvY(t)-this.originY,i=this.minDistance;this.isDistanceSurpassed||e*e+n*n>=i*i&&this.handleDistanceSurpassed(t),this.isDragging&&this.handleDrag(e,n,t)},t.prototype.handleDrag=function(t,e,n){this.trigger("drag",t,e,n),this.updateAutoScroll(n)},t.prototype.endDrag=function(t){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(t))},t.prototype.handleDragEnd=function(t){this.trigger("dragEnd",t)},t.prototype.startDelay=function(t){var e=this;this.delay?this.delayTimeoutId=setTimeout(function(){e.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)},t.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(t)},t.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(t)},t.prototype.handleTouchMove=function(t){this.isDragging&&this.shouldCancelTouchScroll&&t.preventDefault(),this.handleMove(t)},t.prototype.handleMouseMove=function(t){this.handleMove(t)},t.prototype.handleTouchScroll=function(t){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(t,!0)},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.options[t]&&this.options[t].apply(this,e),this["_"+t]&&this["_"+t].apply(this,e)},t.prototype.initAutoScroll=function(){var t=this.scrollEl;this.isAutoScroll=this.options.scroll&&t&&!t.is(window)&&!t.is(document),this.isAutoScroll&&this.listenTo(t,"scroll",o.debounce(this.handleDebouncedScroll,100))},t.prototype.destroyAutoScroll=function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},t.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=o.getOuterRect(this.scrollEl))},t.prototype.updateAutoScroll=function(t){var e,n,i,r,a=this.scrollSensitivity,s=this.scrollBounds,l=0,u=0;s&&(e=(a-(o.getEvY(t)-s.top))/a,n=(a-(s.bottom-o.getEvY(t)))/a,i=(a-(o.getEvX(t)-s.left))/a,r=(a-(s.right-o.getEvX(t)))/a,e>=0&&e<=1?l=e*this.scrollSpeed*-1:n>=0&&n<=1&&(l=n*this.scrollSpeed),i>=0&&i<=1?u=i*this.scrollSpeed*-1:r>=0&&r<=1&&(u=r*this.scrollSpeed)),this.setScrollVel(l,u)},t.prototype.setScrollVel=function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(o.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},t.prototype.constrainScrollVel=function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},t.prototype.scrollIntervalFunc=function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},t.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},t.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},t.prototype.handleScrollEnd=function(){},t}();e.default=s,r.default.mixInto(s)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=n(15),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.updateDayTable=function(){for(var t,e,n,i=this,o=i.view,r=o.calendar,a=r.msToUtcMoment(i.dateProfile.renderUnzonedRange.startMs,!0),s=r.msToUtcMoment(i.dateProfile.renderUnzonedRange.endMs,!0),l=-1,u=[],c=[];a.isBefore(s);)o.isHiddenDay(a)?u.push(l+.5):(l++,u.push(l),c.push(a.clone())),a.add(1,"days");if(this.breakOnWeeks){for(e=c[0].day(),t=1;t<c.length&&c[t].day()!==e;t++);n=Math.ceil(c.length/t)}else n=1,t=c.length;this.dayDates=c,this.dayIndices=u,this.daysPerRow=t,this.rowCnt=n,this.updateDayTableCols()},e.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},e.prototype.computeColCnt=function(){return this.daysPerRow},e.prototype.getCellDate=function(t,e){return this.dayDates[this.getCellDayIndex(t,e)].clone()},e.prototype.getCellRange=function(t,e){var n=this.getCellDate(t,e);return{start:n,end:n.clone().add(1,"days")}},e.prototype.getCellDayIndex=function(t,e){return t*this.daysPerRow+this.getColDayIndex(e)},e.prototype.getColDayIndex=function(t){return this.isRTL?this.colCnt-1-t:t},e.prototype.getDateDayIndex=function(t){var e=this.dayIndices,n=t.diff(this.dayDates[0],"days");return n<0?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},e.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},e.prototype.sliceRangeByRow=function(t){var e,n,i,o,r,a=this.daysPerRow,s=this.view.computeDayRange(t),l=this.getDateDayIndex(s.start),u=this.getDateDayIndex(s.end.clone().subtract(1,"days")),c=[];for(e=0;e<this.rowCnt;e++)n=e*a,i=n+a-1,o=Math.max(l,n),r=Math.min(u,i),o=Math.ceil(o),r=Math.floor(r),o<=r&&c.push({row:e,firstRowDayIndex:o-n,lastRowDayIndex:r-n,isStart:o===l,isEnd:r===u});return c},e.prototype.sliceRangeByDay=function(t){var e,n,i,o,r,a,s=this.daysPerRow,l=this.view.computeDayRange(t),u=this.getDateDayIndex(l.start),c=this.getDateDayIndex(l.end.clone().subtract(1,"days")),d=[];for(e=0;e<this.rowCnt;e++)for(n=e*s,i=n+s-1,o=n;o<=i;o++)r=Math.max(u,o),a=Math.min(c,o),r=Math.ceil(r),a=Math.floor(a),r<=a&&d.push({row:e,firstRowDayIndex:r-n,lastRowDayIndex:a-n,isStart:r===u,isEnd:a===c});return d},e.prototype.renderHeadHtml=function(){var t=this.view.calendar.theme;return'<div class="fc-row '+t.getClass("headerRow")+'"><table class="'+t.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},e.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},e.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"</tr>"},e.prototype.renderHeadDateCellsHtml=function(){var t,e,n=[];for(t=0;t<this.colCnt;t++)e=this.getCellDate(0,t),n.push(this.renderHeadDateCellHtml(e));return n.join("")},e.prototype.renderHeadDateCellHtml=function(t,e,n){var i,r=this,a=r.view,s=r.dateProfile.activeUnzonedRange.containsDate(t),l=["fc-day-header",a.calendar.theme.getClass("widgetHeader")];return i="function"==typeof r.opt("columnHeaderHtml")?r.opt("columnHeaderHtml")(t):"function"==typeof r.opt("columnHeaderText")?o.htmlEscape(r.opt("columnHeaderText")(t)):o.htmlEscape(t.format(r.colHeadFormat)),1===r.rowCnt?l=l.concat(r.getDayClasses(t,!0)):l.push("fc-"+o.dayIDs[t.day()]),'<th class="'+l.join(" ")+'"'+(1===(s&&r.rowCnt)?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e>1?' colspan="'+e+'"':"")+(n?" "+n:"")+">"+(s?a.buildGotoAnchorHtml({date:t,forceOff:r.rowCnt>1||1===r.colCnt},i):i)+"</th>"},e.prototype.renderBgTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(t))+this.renderBgCellsHtml(t)+(this.isRTL?this.renderBgIntroHtml(t):"")+"</tr>"},e.prototype.renderBgIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderBgCellsHtml=function(t){var e,n,i=[];for(e=0;e<this.colCnt;e++)n=this.getCellDate(t,e),i.push(this.renderBgCellHtml(n));return i.join("")},e.prototype.renderBgCellHtml=function(t,e){var n=this,i=n.view,o=n.dateProfile.activeUnzonedRange.containsDate(t),r=n.getDayClasses(t);return r.unshift("fc-day",i.calendar.theme.getClass("widgetContent")),'<td class="'+r.join(" ")+'"'+(o?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e?" "+e:"")+"></td>"},e.prototype.renderIntroHtml=function(){},e.prototype.bookendCells=function(t){var e=this.renderIntroHtml();e&&(this.isRTL?t.append(e):t.prepend(e))},e}(r.default);e.default=a},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.component=t,this.fillRenderer=e}return t.prototype.render=function(t){var e=this.component,n=e._getDateProfile().activeUnzonedRange,i=t.buildEventInstanceGroup(e.hasAllDayBusinessHours,n),o=i?e.eventRangesToEventFootprints(i.sliceRenderRanges(n)):[];this.renderEventFootprints(o)},t.prototype.renderEventFootprints=function(t){var e=this.component.eventFootprintsToSegs(t);this.renderSegs(e),this.segs=e},t.prototype.renderSegs=function(t){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",t,{getClasses:function(t){return["fc-nonbusiness","fc-bgevent"]}})},t.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours"),this.segs=null},t.prototype.getSegs=function(){return this.segs||[]},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=function(){function t(t){this.fillSegTag="div",this.component=t,this.elsByFill={}}return t.prototype.renderFootprint=function(t,e,n){this.renderSegs(t,this.component.componentFootprintToSegs(e),n)},t.prototype.renderSegs=function(t,e,n){var i;return e=this.buildSegEls(t,e,n),i=this.attachSegEls(t,e),i&&this.reportEls(t,i),e},t.prototype.unrender=function(t){var e=this.elsByFill[t];e&&(e.remove(),delete this.elsByFill[t])},t.prototype.buildSegEls=function(t,e,n){var o,r=this,a="",s=[];if(e.length){for(o=0;o<e.length;o++)a+=this.buildSegHtml(t,e[o],n);i(a).each(function(t,o){var a=e[t],l=i(o);n.filterEl&&(l=n.filterEl(a,l)),l&&(l=i(l),l.is(r.fillSegTag)&&(a.el=l,s.push(a)))})}return s},t.prototype.buildSegHtml=function(t,e,n){var i=n.getClasses?n.getClasses(e):[],r=o.cssToStr(n.getCss?n.getCss(e):{});return"<"+this.fillSegTag+(i.length?' class="'+i.join(" ")+'"':"")+(r?' style="'+r+'"':"")+" />"},t.prototype.attachSegEls=function(t,e){},t.prototype.reportEls=function(t,e){this.elsByFill[t]?this.elsByFill[t]=this.elsByFill[t].add(e):this.elsByFill[t]=i(e)},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),o=n(34),r=n(6),a=function(){function t(t,e){this.view=t._getView(),this.component=t,this.eventRenderer=e}return t.prototype.renderComponentFootprint=function(t){this.renderEventFootprints([this.fabricateEventFootprint(t)])},t.prototype.renderEventDraggingFootprints=function(t,e,n){this.renderEventFootprints(t,e,"fc-dragging",n?null:this.view.opt("dragOpacity"))},t.prototype.renderEventResizingFootprints=function(t,e,n){this.renderEventFootprints(t,e,"fc-resizing")},t.prototype.renderEventFootprints=function(t,e,n,i){var o,r=this.component.eventFootprintsToSegs(t),a="fc-helper "+(n||"");for(r=this.eventRenderer.renderFgSegEls(r),o=0;o<r.length;o++)r[o].el.addClass(a);if(null!=i)for(o=0;o<r.length;o++)r[o].el.css("opacity",i);this.helperEls=this.renderSegs(r,e)},t.prototype.renderSegs=function(t,e){},t.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},t.prototype.fabricateEventFootprint=function(t){var e,n=this.view.calendar,a=n.footprintToDateProfile(t),s=new i.default(new r.default(n));return s.dateProfile=a,e=s.buildInstance(),new o.default(t,s,e)},t}();e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(23),r=n(14),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"click",this.handleClick.bind(this)),e.bindSegHandlerToEl(t,"mouseenter",this.handleMouseover.bind(this)),e.bindSegHandlerToEl(t,"mouseleave",this.handleMouseout.bind(this))},e.prototype.handleClick=function(t,e){!1===this.component.publiclyTrigger("eventClick",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]})&&e.preventDefault()},e.prototype.handleMouseover=function(t,e){o.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=t,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]}))},e.prototype.handleMouseout=function(t,e){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:t.el[0],args:[t.footprint.getEventLegacy(),e||{},this.view]}))},e.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},e}(r.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(15),r=n(237),a=n(236),s=n(64),l=n(235),u=n(234),c=n(233),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o.default);e.default=d,d.prototype.dateClickingClass=r.default,d.prototype.dateSelectingClass=a.default,d.prototype.eventPointingClass=s.default,d.prototype.eventDraggingClass=l.default,d.prototype.eventResizingClass=u.default,d.prototype.externalDroppingClass=c.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(58),s=n(227),l=n(5),u=n(12),c=n(34),d=n(61),h=n(65),f=n(42),p=n(60),m=n(243),g=n(244),v=n(245),y=function(t){function e(e){var n=t.call(this,e)||this;return n.cellWeekNumbersVisible=!1,n.bottomCoordPadding=0,n.isRigid=!1,n.hasAllDayBusinessHours=!0,n}return i.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,n,i=this.sliceRangeByRow(t.unzonedRange);for(e=0;e<i.length;e++)n=i[e],this.isRTL?(n.leftCol=this.daysPerRow-1-n.lastRowDayIndex,n.rightCol=this.daysPerRow-1-n.firstRowDayIndex):(n.leftCol=n.firstRowDayIndex,n.rightCol=n.lastRowDayIndex);return i},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderGrid()},e.prototype.unrenderDates=function(){this.removeSegPopover()},e.prototype.renderGrid=function(){var t,e,n=this.view,i=this.rowCnt,o=this.colCnt,r="";for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),t=0;t<i;t++)r+=this.renderDayRowHtml(t,this.isRigid);for(this.el.html(r),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new a.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new a.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),t=0;t<i;t++)for(e=0;e<o;e++)this.publiclyTrigger("dayRender",{context:n,args:[this.getCellDate(t,e),this.getCellEl(t,e),n]})},e.prototype.renderDayRowHtml=function(t,e){var n=this.view.calendar.theme,i=["fc-row","fc-week",n.getClass("dayRow")];return e&&i.push("fc-rigid"),'<div class="'+i.join(" ")+'"><div class="fc-bg"><table class="'+n.getClass("tableGrid")+'">'+this.renderBgTrHtml(t)+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(t)+"</thead>":"")+"</table></div></div>"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(t))+this.renderNumberCellsHtml(t)+(this.isRTL?this.renderNumberIntroHtml(t):"")+"</tr>"},e.prototype.renderNumberIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderNumberCellsHtml=function(t){var e,n,i=[];for(e=0;e<this.colCnt;e++)n=this.getCellDate(t,e),i.push(this.renderNumberCellHtml(n));return i.join("")},e.prototype.renderNumberCellHtml=function(t){var e,n,i=this.view,o="",r=this.dateProfile.activeUnzonedRange.containsDate(t),a=this.getIsDayNumbersVisible()&&r;return a||this.cellWeekNumbersVisible?(e=this.getDayClasses(t),e.unshift("fc-day-top"),this.cellWeekNumbersVisible&&(n="ISO"===t._locale._fullCalendar_weekCalc?1:t._locale.firstDayOfWeek()),o+='<td class="'+e.join(" ")+'"'+(r?' data-date="'+t.format()+'"':"")+">",this.cellWeekNumbersVisible&&t.day()===n&&(o+=i.buildGotoAnchorHtml({date:t,type:"week"},{class:"fc-week-number"},t.format("w"))),a&&(o+=i.buildGotoAnchorHtml(t,{class:"fc-day-number"},t.format("D"))),o+="</td>"):"<td/>"},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.releaseHits=function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},e.prototype.queryHit=function(t,e){if(this.colCoordCache.isLeftInBounds(t)&&this.rowCoordCache.isTopInBounds(e)){var n=this.colCoordCache.getHorizontalIndex(t),i=this.rowCoordCache.getVerticalIndex(e);if(null!=i&&null!=n)return this.getCellHit(i,n)}},e.prototype.getHitFootprint=function(t){var e=this.getCellRange(t.row,t.col);return new u.default(new l.default(e.start,e.end),!0)},e.prototype.getHitEl=function(t){return this.getCellEl(t.row,t.col)},e.prototype.getCellHit=function(t,e){return{row:t,col:e,component:this,left:this.colCoordCache.getLeftOffset(e),right:this.colCoordCache.getRightOffset(e),top:this.rowCoordCache.getTopOffset(t),bottom:this.rowCoordCache.getBottomOffset(t)}},e.prototype.getCellEl=function(t,e){return this.cellEls.eq(t*this.colCnt+e)},e.prototype.executeEventUnrender=function(){this.removeSegPopover(),t.prototype.executeEventUnrender.call(this)},e.prototype.getOwnEventSegs=function(){return t.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},e.prototype.renderDrag=function(t,e,n){var i;for(i=0;i<t.length;i++)this.renderHighlight(t[i].componentFootprint);if(t.length&&e&&e.component!==this)return this.helperRenderer.renderEventDraggingFootprints(t,e,n),!0},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,n){var i;for(i=0;i<t.length;i++)this.renderHighlight(t[i].componentFootprint);this.helperRenderer.renderEventResizingFootprints(t,e,n)},e.prototype.unrenderEventResize=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},e.prototype.limitRows=function(t){var e,n,i=this.eventRenderer.rowStructs||[];for(e=0;e<i.length;e++)this.unlimitRow(e),!1!==(n=!!t&&("number"==typeof t?t:this.computeRowLevelLimit(e)))&&this.limitRow(e,n)},e.prototype.computeRowLevelLimit=function(t){function e(t,e){r=Math.max(r,o(e).outerHeight())}var n,i,r,a=this.rowEls.eq(t),s=a.height(),l=this.eventRenderer.rowStructs[t].tbodyEl.children();for(n=0;n<l.length;n++)if(i=l.eq(n).removeClass("fc-limited"),r=0,i.find("> td > :first-child").each(e),i.position().top+r>s)return n;return!1},e.prototype.limitRow=function(t,e){var n,i,r,a,s,l,u,c,d,h,f,p,m,g,v,y=this,b=this.eventRenderer.rowStructs[t],w=[],x=0,_=function(n){for(;x<n;)l=y.getCellSegs(t,x,e),l.length&&(d=i[e-1][x],v=y.renderMoreLink(t,x,l),g=o("<div/>").append(v),d.append(g),w.push(g[0])),x++};if(e&&e<b.segLevels.length){for(n=b.segLevels[e-1],i=b.cellMatrix,r=b.tbodyEl.children().slice(e).addClass("fc-limited").get(),a=0;a<n.length;a++){for(s=n[a],_(s.leftCol),c=[],u=0;x<=s.rightCol;)l=this.getCellSegs(t,x,e),c.push(l),u+=l.length,x++;if(u){for(d=i[e-1][s.leftCol],h=d.attr("rowspan")||1,f=[],p=0;p<c.length;p++)m=o('<td class="fc-more-cell"/>').attr("rowspan",h),l=c[p],v=this.renderMoreLink(t,s.leftCol+p,[s].concat(l)),g=o("<div/>").append(v),m.append(g),f.push(m[0]),w.push(m[0]);d.addClass("fc-limited").after(o(f)),r.push(d[0])}}_(this.colCnt),b.moreEls=o(w),b.limitedEls=o(r)}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.remove(),e.moreEls=null),e.limitedEls&&(e.limitedEls.removeClass("fc-limited"),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,n){var i=this,r=this.view;return o('<a class="fc-more"/>').text(this.getMoreLinkText(n.length)).on("click",function(a){var s=i.opt("eventLimitClick"),l=i.getCellDate(t,e),u=o(a.currentTarget),c=i.getCellEl(t,e),d=i.getCellSegs(t,e),h=i.resliceDaySegs(d,l),f=i.resliceDaySegs(n,l);"function"==typeof s&&(s=i.publiclyTrigger("eventLimitClick",{context:r,args:[{date:l.clone(),dayEl:c,moreEl:u,segs:h,hiddenSegs:f},a,r]})),"popover"===s?i.showSegPopover(t,e,u,h):"string"==typeof s&&r.calendar.zoomTo(l,s)})},e.prototype.showSegPopover=function(t,e,n,i){var o,r,a=this,l=this.view,u=n.parent();o=1===this.rowCnt?l.el:this.rowEls.eq(t),r={className:"fc-more-popover "+l.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(t,e,i),parentEl:l.el,top:o.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){a.popoverSegs&&a.triggerBeforeEventSegsDestroyed(a.popoverSegs),a.segPopover.removeElement(),a.segPopover=null,a.popoverSegs=null}},this.isRTL?r.right=u.offset().left+u.outerWidth()+1:r.left=u.offset().left-1,this.segPopover=new s.default(r),this.segPopover.show(),this.bindAllSegHandlersToEl(this.segPopover.el),this.triggerAfterEventSegsRendered(i)},e.prototype.renderSegPopoverContent=function(t,e,n){var i,a=this.view,s=a.calendar.theme,l=this.getCellDate(t,e).format(this.opt("dayPopoverFormat")),u=o('<div class="fc-header '+s.getClass("popoverHeader")+'"><span class="fc-close '+s.getIconClass("close")+'"></span><span class="fc-title">'+r.htmlEscape(l)+'</span><div class="fc-clear"/></div><div class="fc-body '+s.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>'),c=u.find(".fc-event-container");for(n=this.eventRenderer.renderFgSegEls(n,!0),this.popoverSegs=n,i=0;i<n.length;i++)this.hitsNeeded(),n[i].hit=this.getCellHit(t,e),this.hitsNotNeeded(),c.append(n[i].el);return u},e.prototype.resliceDaySegs=function(t,e){var n,i,r,a=e.clone(),s=a.clone().add(1,"days"),d=new l.default(a,s),h=[];for(n=0;n<t.length;n++)i=t[n],(r=i.footprint.componentFootprint.unzonedRange.intersect(d))&&h.push(o.extend({},i,{footprint:new c.default(new u.default(r,i.footprint.componentFootprint.isAllDay),i.footprint.eventDef,i.footprint.eventInstance),isStart:i.isStart&&r.isStart,isEnd:i.isEnd&&r.isEnd}));return this.eventRenderer.sortEventSegs(h),h},e.prototype.getMoreLinkText=function(t){var e=this.opt("eventLimitText");return"function"==typeof e?e(t):"+"+t+" "+e},e.prototype.getCellSegs=function(t,e,n){for(var i,o=this.eventRenderer.rowStructs[t].segMatrix,r=n||0,a=[];r<o.length;)i=o[r][e],i&&a.push(i),r++;return a},e}(f.default);e.default=y,y.prototype.eventRendererClass=m.default,y.prototype.businessHourRendererClass=d.default,y.prototype.helperRendererClass=g.default,y.prototype.fillRendererClass=v.default,h.default.mixInto(y),p.default.mixInto(y)},function(t,e,n){function i(t){return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.colWeekNumbersVisible=!1,e}return o.__extends(e,t),e.prototype.renderHeadIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+t.calendar.theme.getClass("widgetHeader")+'" '+t.weekNumberStyleAttr()+"><span>"+a.htmlEscape(this.opt("weekNumberTitle"))+"</span></th>":""},e.prototype.renderNumberIntroHtml=function(t){var e=this.view,n=this.getCellDate(t,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+">"+e.buildGotoAnchorHtml({date:n,type:"week",forceOff:1===this.colCnt},n.format("w"))+"</td>":""},e.prototype.renderBgIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+t.calendar.theme.getClass("widgetContent")+'" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.renderIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.getIsNumbersVisible=function(){return c.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},e}(t)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),r=n(3),a=n(4),s=n(41),l=n(43),u=n(68),c=n(66),d=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.dayGrid=i.instantiateDayGrid(),i.dayGrid.isRigid=i.hasRigidRows(),i.opt("weekNumbers")&&(i.opt("weekNumbersWithinDays")?(i.dayGrid.cellWeekNumbersVisible=!0,i.dayGrid.colWeekNumbersVisible=!1):(i.dayGrid.cellWeekNumbersVisible=!1,i.dayGrid.colWeekNumbersVisible=!0)),i.addChild(i.dayGrid),i.scroller=new s.default({overflowX:"hidden",overflowY:"auto"}),i}return o.__extends(e,t),e.prototype.instantiateDayGrid=function(){return new(i(this.dayGridClass))(this)},e.prototype.executeDateRender=function(e){this.dayGrid.breakOnWeeks=/year|month|week/.test(e.currentRangeUnit),t.prototype.executeDateRender.call(this,e)},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-day-grid-container"),e=r('<div class="fc-day-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(e)},e.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'"></td></tr></tbody></table>'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.opt("eventLimit");return t&&"number"!=typeof t},e.prototype.updateSize=function(e,n,i){var o,r,s=this.opt("eventLimit"),l=this.dayGrid.headContainerEl.find(".fc-row");if(!this.dayGrid.rowEls)return void(n||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o)));t.prototype.updateSize.call(this,e,n,i),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=a.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),a.uncompensateScroll(l),this.dayGrid.removeSegPopover(),s&&"number"==typeof s&&this.dayGrid.limitRows(s),o=this.computeScrollerHeight(e),this.setGridHeight(o,n),s&&"number"!=typeof s&&this.dayGrid.limitRows(s),n||(this.scroller.setHeight(o),r=this.scroller.getScrollbarWidths(),(r.left||r.right)&&(a.compensateScroll(l,r),o=this.computeScrollerHeight(e),this.scroller.setHeight(o)),this.scroller.lockOverflow(r))},e.prototype.computeScrollerHeight=function(t){return t-a.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){e?a.undistributeHeight(this.dayGrid.rowEls):a.distributeHeight(this.dayGrid.rowEls,t,!0)},e.prototype.computeInitialDateScroll=function(){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(l.default);e.default=d,d.prototype.dateProfileGeneratorClass=u.default,d.prototype.dayGridClass=c.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(5),r=n(55),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.buildRenderRange=function(e,n,i){var r=t.prototype.buildRenderRange.call(this,e,n,i),a=this.msToUtcMoment(r.startMs,i),s=this.msToUtcMoment(r.endMs,i);return/^(year|month)$/.test(n)&&(a.startOf("week"),s.weekday()&&s.add(1,"week").startOf("week")),new o.default(a,s)},e}(r.default);e.default=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function i(t,e,n){var i;for(i=0;i<t.length;i++)if(!e(t[i].eventInstance.toLegacy(),n?n.toLegacy():null))return!1;return!0}function o(t,e){var n,i,o,r,a=e.toLegacy();for(n=0;n<t.length;n++){if(i=t[n].eventInstance,o=i.def,!1===(r=o.getOverlap()))return!1;if("function"==typeof r&&!r(i.toLegacy(),a))return!1}return!0}Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),a=n(12),s=n(36),l=n(6),u=n(19),c=function(){function t(t,e){this.eventManager=t,this._calendar=e}return t.prototype.opt=function(t){return this._calendar.opt(t)},t.prototype.isEventInstanceGroupAllowed=function(t){var e,n=t.getEventDef(),i=this.eventRangesToEventFootprints(t.getAllEventRanges()),o=this.getPeerEventInstances(n),r=o.map(u.eventInstanceToEventRange),a=this.eventRangesToEventFootprints(r),s=n.getConstraint(),l=n.getOverlap(),c=this.opt("eventAllow");for(e=0;e<i.length;e++)if(!this.isFootprintAllowed(i[e].componentFootprint,a,s,l,i[e].eventInstance))return!1;if(c)for(e=0;e<i.length;e++)if(!1===c(i[e].componentFootprint.toLegacy(this._calendar),i[e].getEventLegacy()))return!1;return!0},t.prototype.getPeerEventInstances=function(t){return this.eventManager.getEventInstancesWithoutId(t.id)},t.prototype.isSelectionFootprintAllowed=function(t){var e,n=this.eventManager.getEventInstances(),i=n.map(u.eventInstanceToEventRange),o=this.eventRangesToEventFootprints(i);return!!this.isFootprintAllowed(t,o,this.opt("selectConstraint"),this.opt("selectOverlap"))&&(!(e=this.opt("selectAllow"))||!1!==e(t.toLegacy(this._calendar)))},t.prototype.isFootprintAllowed=function(t,e,n,r,a){var s,l;if(null!=n&&(s=this.constraintValToFootprints(n,t.isAllDay),!this.isFootprintWithinConstraints(t,s)))return!1;if(l=this.collectOverlapEventFootprints(e,t),!1===r){if(l.length)return!1}else if("function"==typeof r&&!i(l,r,a))return!1;return!(a&&!o(l,a))},t.prototype.isFootprintWithinConstraints=function(t,e){var n;for(n=0;n<e.length;n++)if(this.footprintContainsFootprint(e[n],t))return!0;return!1},t.prototype.constraintValToFootprints=function(t,e){var n;return"businessHours"===t?this.buildCurrentBusinessFootprints(e):"object"==typeof t?(n=this.parseEventDefToInstances(t),n?this.eventInstancesToFootprints(n):this.parseFootprints(t)):null!=t?(n=this.eventManager.getEventInstancesWithId(t),this.eventInstancesToFootprints(n)):void 0},t.prototype.buildCurrentBusinessFootprints=function(t){var e=this._calendar.view,n=e.get("businessHourGenerator"),i=e.dateProfile.activeUnzonedRange,o=n.buildEventInstanceGroup(t,i);return o?this.eventInstancesToFootprints(o.eventInstances):[]},t.prototype.eventInstancesToFootprints=function(t){var e=t.map(u.eventInstanceToEventRange);return this.eventRangesToEventFootprints(e).map(u.eventFootprintToComponentFootprint)},t.prototype.collectOverlapEventFootprints=function(t,e){var n,i=[];for(n=0;n<t.length;n++)this.footprintsIntersect(e,t[n].componentFootprint)&&i.push(t[n]);return i},t.prototype.parseEventDefToInstances=function(t){var e=this.eventManager,n=s.default.parse(t,new l.default(this._calendar));return!!n&&n.buildInstances(e.currentPeriod.unzonedRange)},t.prototype.eventRangesToEventFootprints=function(t){var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.eventRangeToEventFootprints(t[e]));return n},t.prototype.eventRangeToEventFootprints=function(t){return[u.eventRangeToEventFootprint(t)]},t.prototype.parseFootprints=function(t){var e,n;return t.start&&(e=this._calendar.moment(t.start),e.isValid()||(e=null)),t.end&&(n=this._calendar.moment(t.end),n.isValid()||(n=null)),[new a.default(new r.default(e,n),e&&!e.hasTime()||n&&!n.hasTime())]},t.prototype.footprintContainsFootprint=function(t,e){return t.unzonedRange.containsRange(e.unzonedRange)},t.prototype.footprintsIntersect=function(t,e){return t.unzonedRange.intersectsWith(e.unzonedRange)},t}();e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(19),r=n(20),a=n(54),s=n(6),l={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},u=function(){function t(t,e){this.rawComplexDef=t,this.calendar=e}return t.prototype.buildEventInstanceGroup=function(t,e){var n,i=this.buildEventDefs(t);if(i.length)return n=new r.default(o.eventDefsToEventInstances(i,e)),n.explicitEventDef=i[0],n},t.prototype.buildEventDefs=function(t){var e,n=this.rawComplexDef,o=[],r=!1,a=[];for(!0===n?o=[{}]:i.isPlainObject(n)?o=[n]:i.isArray(n)&&(o=n,r=!0),e=0;e<o.length;e++)r&&!o[e].dow||a.push(this.buildEventDef(t,o[e]));return a},t.prototype.buildEventDef=function(t,e){var n=i.extend({},l,e);return t&&(n.start=null,n.end=null),a.default.parse(n,new s.default(this.calendar))},t}();e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=n(21),a=n(13),s=n(5),l=n(20),u=function(){function t(t,e,n){this.pendingCnt=0,this.freezeDepth=0,this.stuntedReleaseCnt=0,this.releaseCnt=0,this.start=t,this.end=e,this.timezone=n,this.unzonedRange=new s.default(t.clone().stripZone(),e.clone().stripZone()),this.requestsByUid={},this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={}}return t.prototype.isWithinRange=function(t,e){return!t.isBefore(this.start)&&!e.isAfter(this.end)},t.prototype.requestSources=function(t){this.freeze();for(var e=0;e<t.length;e++)this.requestSource(t[e]);this.thaw()},t.prototype.requestSource=function(t){var e=this,n={source:t,status:"pending",eventDefs:null};this.requestsByUid[t.uid]=n,this.pendingCnt+=1,t.fetch(this.start,this.end,this.timezone).then(function(t){"cancelled"!==n.status&&(n.status="completed",n.eventDefs=t,e.addEventDefs(t),e.pendingCnt--,e.tryRelease())},function(){"cancelled"!==n.status&&(n.status="failed",e.pendingCnt--,e.tryRelease())})},t.prototype.purgeSource=function(t){var e=this.requestsByUid[t.uid];e&&(delete this.requestsByUid[t.uid],"pending"===e.status?(e.status="cancelled",this.pendingCnt--,this.tryRelease()):"completed"===e.status&&e.eventDefs.forEach(this.removeEventDef.bind(this)))},t.prototype.purgeAllSources=function(){var t,e,n=this.requestsByUid,i=0;for(t in n)e=n[t],"pending"===e.status?e.status="cancelled":"completed"===e.status&&i++;this.requestsByUid={},this.pendingCnt=0,i&&this.removeAllEventDefs()},t.prototype.getEventDefByUid=function(t){return this.eventDefsByUid[t]},t.prototype.getEventDefsById=function(t){var e=this.eventDefsById[t];return e?e.slice():[]},t.prototype.addEventDefs=function(t){for(var e=0;e<t.length;e++)this.addEventDef(t[e])},t.prototype.addEventDef=function(t){var e,n=this.eventDefsById,i=t.id,o=n[i]||(n[i]=[]),r=t.buildInstances(this.unzonedRange);for(o.push(t),this.eventDefsByUid[t.uid]=t,e=0;e<r.length;e++)this.addEventInstance(r[e],i)},t.prototype.removeEventDefsById=function(t){var e=this;this.getEventDefsById(t).forEach(function(t){e.removeEventDef(t)})},t.prototype.removeAllEventDefs=function(){var t=i.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={},t||this.tryRelease()},t.prototype.removeEventDef=function(t){var e=this.eventDefsById,n=e[t.id];delete this.eventDefsByUid[t.uid],n&&(o.removeExact(n,t),n.length||delete e[t.id],this.removeEventInstancesForDef(t))},t.prototype.getEventInstances=function(){var t,e=this.eventInstanceGroupsById,n=[];for(t in e)n.push.apply(n,e[t].eventInstances);return n},t.prototype.getEventInstancesWithId=function(t){var e=this.eventInstanceGroupsById[t];return e?e.eventInstances.slice():[]},t.prototype.getEventInstancesWithoutId=function(t){var e,n=this.eventInstanceGroupsById,i=[];for(e in n)e!==t&&i.push.apply(i,n[e].eventInstances);return i},t.prototype.addEventInstance=function(t,e){var n=this.eventInstanceGroupsById;(n[e]||(n[e]=new l.default)).eventInstances.push(t),this.tryRelease()},t.prototype.removeEventInstancesForDef=function(t){var e,n=this.eventInstanceGroupsById,i=n[t.id];i&&(e=o.removeMatching(i.eventInstances,function(e){return e.def===t}),i.eventInstances.length||delete n[t.id],e&&this.tryRelease())},t.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},t.prototype.release=function(){this.releaseCnt++,this.trigger("release",this.eventInstanceGroupsById)},t.prototype.whenReleased=function(){var t=this;return this.releaseCnt?r.default.resolve(this.eventInstanceGroupsById):r.default.construct(function(e){t.one("release",e)})},t.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},t.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},t}();e.default=u,a.default.mixInto(u)},function(t,e,n){function i(t,e){return t.getPrimitive()===e.getPrimitive()}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=n(4),a=n(219),s=n(56),l=n(6),u=n(38),c=n(9),d=n(20),h=n(13),f=n(7),p=function(){function t(t){this.calendar=t,this.stickySource=new s.default(t),this.otherSources=[]}return t.prototype.requestEvents=function(t,e,n,i){return!i&&this.currentPeriod&&this.currentPeriod.isWithinRange(t,e)&&n===this.currentPeriod.timezone||this.setPeriod(new a.default(t,e,n)),this.currentPeriod.whenReleased()},t.prototype.addSource=function(t){this.otherSources.push(t),this.currentPeriod&&this.currentPeriod.requestSource(t)},t.prototype.removeSource=function(t){r.removeExact(this.otherSources,t),this.currentPeriod&&this.currentPeriod.purgeSource(t)},t.prototype.removeAllSources=function(){this.otherSources=[],this.currentPeriod&&this.currentPeriod.purgeAllSources()},t.prototype.refetchSource=function(t){var e=this.currentPeriod;e&&(e.freeze(),e.purgeSource(t),e.requestSource(t),e.thaw())},t.prototype.refetchAllSources=function(){var t=this.currentPeriod;t&&(t.freeze(),t.purgeAllSources(),t.requestSources(this.getSources()),t.thaw())},t.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},t.prototype.multiQuerySources=function(t){t?o.isArray(t)||(t=[t]):t=[];var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.querySources(t[e]));return n},t.prototype.querySources=function(t){var e,n,r=this.otherSources;for(e=0;e<r.length;e++)if((n=r[e])===t)return[n];return(n=this.getSourceById(l.default.normalizeId(t)))?[n]:(t=u.default.parse(t,this.calendar),t?o.grep(r,function(e){return i(t,e)}):void 0)},t.prototype.getSourceById=function(t){return o.grep(this.otherSources,function(e){return e.id&&e.id===t})[0]},t.prototype.setPeriod=function(t){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null),this.currentPeriod=t,this.bindPeriod(t),t.requestSources(this.getSources())},t.prototype.bindPeriod=function(t){this.listenTo(t,"release",function(t){this.trigger("release",t)})},t.prototype.unbindPeriod=function(t){this.stopListeningTo(t)},t.prototype.getEventDefByUid=function(t){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(t)},t.prototype.addEventDef=function(t,e){e&&this.stickySource.addEventDef(t),this.currentPeriod&&this.currentPeriod.addEventDef(t)},t.prototype.removeEventDefsById=function(t){this.getSources().forEach(function(e){e.removeEventDefsById(t)}),this.currentPeriod&&this.currentPeriod.removeEventDefsById(t)},t.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(t){t.removeAllEventDefs()}),this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},t.prototype.mutateEventsWithId=function(t,e){var n,i=this.currentPeriod,o=[];return i?(i.freeze(),n=i.getEventDefsById(t),n.forEach(function(t){i.removeEventDef(t),o.push(e.mutateSingle(t)),i.addEventDef(t)}),i.thaw(),function(){i.freeze();for(var t=0;t<n.length;t++)i.removeEventDef(n[t]),o[t](),i.addEventDef(n[t]);i.thaw()}):function(){}},t.prototype.buildMutatedEventInstanceGroup=function(t,e){var n,i,o=this.getEventDefsById(t),r=[];for(n=0;n<o.length;n++)(i=o[n].clone())instanceof c.default&&(e.mutateSingle(i),r.push.apply(r,i.buildInstances()));return new d.default(r)},t.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},t.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},t.prototype.getEventDefsById=function(t){return this.currentPeriod.getEventDefsById(t)},t.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},t.prototype.getEventInstancesWithId=function(t){return this.currentPeriod.getEventInstancesWithId(t)},t.prototype.getEventInstancesWithoutId=function(t){return this.currentPeriod.getEventInstancesWithoutId(t)},t}();e.default=p,h.default.mixInto(p),f.default.mixInto(p)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(22),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o.default);e.default=r,r.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button",cornerLeft:"fc-corner-left",cornerRight:"fc-corner-right",stateDefault:"fc-state-default",stateActive:"fc-state-active",stateDisabled:"fc-state-disabled",stateHover:"fc-state-hover",stateDown:"fc-state-down",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},r.prototype.baseIconClass="fc-icon",r.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-left-single-arrow",next:"fc-icon-right-single-arrow",prevYear:"fc-icon-left-double-arrow",nextYear:"fc-icon-right-double-arrow"},r.prototype.iconOverrideOption="buttonIcons",r.prototype.iconOverrideCustomButtonOption="icon",r.prototype.iconOverridePrefix="fc-icon-"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(22),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o.default);e.default=r,r.prototype.classes={widget:"ui-widget",widgetHeader:"ui-widget-header",widgetContent:"ui-widget-content",buttonGroup:"fc-button-group",button:"ui-button",cornerLeft:"ui-corner-left",cornerRight:"ui-corner-right",stateDefault:"ui-state-default",stateActive:"ui-state-active",stateDisabled:"ui-state-disabled",stateHover:"ui-state-hover",stateDown:"ui-state-down",today:"ui-state-highlight",popoverHeader:"ui-widget-header",popoverContent:"ui-widget-content",headerRow:"ui-widget-header",dayRow:"ui-widget-content",listView:"ui-widget-content"},r.prototype.baseIconClass="ui-icon",r.prototype.iconClasses={close:"ui-icon-closethick",prev:"ui-icon-circle-triangle-w",next:"ui-icon-circle-triangle-e",prevYear:"ui-icon-seek-prev",nextYear:"ui-icon-seek-next"},r.prototype.iconOverrideOption="themeButtonIcons",r.prototype.iconOverrideCustomButtonOption="themeIcon",r.prototype.iconOverridePrefix="ui-icon-"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(21),a=n(6),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.parse=function(t,e){var n;return o.isFunction(t.events)?n=t:o.isFunction(t)&&(n={events:t}),!!n&&a.default.parse.call(this,n,e)},e.prototype.fetch=function(t,e,n){var i=this;return this.calendar.pushLoading(),r.default.construct(function(o){i.func.call(i.calendar,t.clone(),e.clone(),n,function(t){i.calendar.popLoading(),o(i.parseEventDefs(t))})})},e.prototype.getPrimitive=function(){return this.func},e.prototype.applyManualStandardProps=function(e){var n=t.prototype.applyManualStandardProps.call(this,e);return this.func=e.events,n},e}(a.default);e.default=s,s.defineStandardProps({events:!1})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(21),s=n(6),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.parse=function(t,e){var n;return"string"==typeof t.url?n=t:"string"==typeof t&&(n={url:t}),!!n&&s.default.parse.call(this,n,e)},e.prototype.fetch=function(t,n,i){var s=this,l=this.ajaxSettings,u=l.success,c=l.error,d=this.buildRequestParams(t,n,i);return this.calendar.pushLoading(),a.default.construct(function(t,n){o.ajax(o.extend({},e.AJAX_DEFAULTS,l,{url:s.url,data:d,success:function(e,i,a){var l;s.calendar.popLoading(),e?(l=r.applyAll(u,s,[e,i,a]),o.isArray(l)&&(e=l),t(s.parseEventDefs(e))):n()},error:function(t,e,i){s.calendar.popLoading(),r.applyAll(c,s,[t,e,i]),n()}}))})},e.prototype.buildRequestParams=function(t,e,n){var i,r,a,s,l=this.calendar,u=this.ajaxSettings,c={};return i=this.startParam,null==i&&(i=l.opt("startParam")),r=this.endParam,null==r&&(r=l.opt("endParam")),a=this.timezoneParam,null==a&&(a=l.opt("timezoneParam")),s=o.isFunction(u.data)?u.data():u.data||{},o.extend(c,s),c[i]=t.format(),c[r]=e.format(),n&&"local"!==n&&(c[a]=n),c},e.prototype.getPrimitive=function(){return this.url},e.prototype.applyMiscProps=function(t){this.ajaxSettings=t},e.AJAX_DEFAULTS={dataType:"json",cache:!1},e}(s.default);e.default=l,l.defineStandardProps({url:!0,startParam:!0,endParam:!0,timezoneParam:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.items=t||[]}return t.prototype.proxyCall=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=[];return this.items.forEach(function(n){i.push(n[t].apply(n,e))}),i},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=n(7),a=function(){function t(t,e){this.isFollowing=!1,this.isHidden=!1,this.isAnimating=!1,this.options=e=e||{},this.sourceEl=t,this.parentEl=e.parentEl?i(e.parentEl):t.parent()}return t.prototype.start=function(t){this.isFollowing||(this.isFollowing=!0,this.y0=o.getEvY(t),this.x0=o.getEvX(t),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),o.getEvIsTouch(t)?this.listenTo(i(document),"touchmove",this.handleMove):this.listenTo(i(document),"mousemove",this.handleMove))},t.prototype.stop=function(t,e){var n=this,o=this.options.revertDuration,r=function(){n.isAnimating=!1,n.removeElement(),n.top0=n.left0=null,e&&e()};this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(i(document)),t&&o&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:o,complete:r})):r())},t.prototype.getEl=function(){var t=this.el;return t||(t=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}),t.addClass("fc-unselectable"),t.appendTo(this.parentEl)),t},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.updatePosition=function(){var t,e;this.getEl(),null==this.top0&&(t=this.sourceEl.offset(),e=this.el.offsetParent().offset(),this.top0=t.top-e.top,this.left0=t.left-e.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},t.prototype.handleMove=function(t){this.topDelta=o.getEvY(t)-this.y0,this.leftDelta=o.getEvX(t)-this.x0,this.isHidden||this.updatePosition()},t.prototype.hide=function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},t.prototype.show=function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())},t}();e.default=a,r.default.mixInto(a)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=n(7),a=function(){function t(t){this.isHidden=!0,this.margin=10,this.options=t||{}}return t.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},t.prototype.hide=function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},t.prototype.render=function(){var t=this,e=this.options;this.el=i('<div class="fc-popover"/>').addClass(e.className||"").css({top:0,left:0}).append(e.content).appendTo(e.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),e.autoHide&&this.listenTo(i(document),"mousedown",this.documentMousedown)},t.prototype.documentMousedown=function(t){this.el&&!i(t.target).closest(this.el).length&&this.hide()},t.prototype.removeElement=function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(i(document),"mousedown")},t.prototype.position=function(){var t,e,n,r,a,s=this.options,l=this.el.offsetParent().offset(),u=this.el.outerWidth(),c=this.el.outerHeight(),d=i(window),h=o.getScrollParent(this.el);r=s.top||0,a=void 0!==s.left?s.left:void 0!==s.right?s.right-u:0,h.is(window)||h.is(document)?(h=d,t=0,e=0):(n=h.offset(),t=n.top,e=n.left),t+=d.scrollTop(),e+=d.scrollLeft(),!1!==s.viewportConstrain&&(r=Math.min(r,t+h.outerHeight()-c-this.margin),r=Math.max(r,t+this.margin),a=Math.min(a,e+h.outerWidth()-u-this.margin),a=Math.max(a,e+this.margin)),this.el.css({top:r-l.top,left:a-l.left})},t.prototype.trigger=function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},t}();e.default=a,r.default.mixInto(a)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(13),o=function(){function t(){this.q=[],this.isPaused=!1,this.isRunning=!1}return t.prototype.queue=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.q.push.apply(this.q,t),this.tryStart()},t.prototype.pause=function(){this.isPaused=!0},t.prototype.resume=function(){this.isPaused=!1,this.tryStart()},t.prototype.getIsIdle=function(){return!this.isRunning&&!this.isPaused},t.prototype.tryStart=function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runRemaining())},t.prototype.canRunNext=function(){return!this.isPaused&&this.q.length},t.prototype.runRemaining=function(){var t,e,n=this;do{if(t=this.q.shift(),(e=this.runTask(t))&&e.then)return void e.then(function(){n.canRunNext()&&n.runRemaining()})}while(this.canRunNext());this.trigger("stop"),this.isRunning=!1,this.tryStart()},t.prototype.runTask=function(t){return t()},t}();e.default=o,i.default.mixInto(o)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(228),r=function(t){function e(e){var n=t.call(this)||this;return n.waitsByNamespace=e||{},n}return i.__extends(e,t),e.prototype.queue=function(t,e,n){var i,o={func:t,namespace:e,type:n};e&&(i=this.waitsByNamespace[e]),this.waitNamespace&&(e===this.waitNamespace&&null!=i?this.delayWait(i):(this.clearWait(),this.tryStart())),this.compoundTask(o)&&(this.waitNamespace||null==i?this.tryStart():this.startWait(e,i))},e.prototype.startWait=function(t,e){this.waitNamespace=t,this.spawnWait(e)},e.prototype.delayWait=function(t){clearTimeout(this.waitId),this.spawnWait(t)},e.prototype.spawnWait=function(t){var e=this;this.waitId=setTimeout(function(){e.waitNamespace=null,e.tryStart()},t)},e.prototype.clearWait=function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},e.prototype.canRunNext=function(){if(!t.prototype.canRunNext.call(this))return!1;if(this.waitNamespace){for(var e=this.q,n=0;n<e.length;n++)if(e[n].namespace!==this.waitNamespace)return!0;return!1}return!0},e.prototype.runTask=function(t){t.func()},e.prototype.compoundTask=function(t){var e,n,i=this.q,o=!0;if(t.namespace&&"destroy"===t.type)for(e=i.length-1;e>=0;e--)if(n=i[e],n.namespace===t.namespace)switch(n.type){case"init":o=!1;case"add":case"remove":i.splice(e,1)}return o&&i.push(t),o},e}(o.default);e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(51),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.setElement=function(t){this.el=t,this.bindGlobalHandlers(),this.renderSkeleton(),this.set("isInDom",!0)},e.prototype.removeElement=function(){this.unset("isInDom"),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.el.remove()},e.prototype.bindGlobalHandlers=function(){},e.prototype.unbindGlobalHandlers=function(){},e.prototype.renderSkeleton=function(){},e.prototype.unrenderSkeleton=function(){},e}(o.default);e.default=r},function(t,e,n){function i(t){var e,n,i,o=[];for(e in t)for(n=t[e].eventInstances,i=0;i<n.length;i++)o.push(n[i].toLegacy());return o}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),r=n(3),a=n(0),s=n(4),l=n(11),u=n(49),c=n(230),d=n(19),h=function(t){function e(n,i){var o=t.call(this)||this;return o.isRTL=!1,o.hitsNeededDepth=0,o.hasAllDayBusinessHours=!1,o.isDatesRendered=!1,n&&(o.view=n),i&&(o.options=i),o.uid=String(e.guid++),o.childrenByUid={},o.nextDayThreshold=a.duration(o.opt("nextDayThreshold")),o.isRTL=o.opt("isRTL"),o.fillRendererClass&&(o.fillRenderer=new o.fillRendererClass(o)),o.eventRendererClass&&(o.eventRenderer=new o.eventRendererClass(o,o.fillRenderer)),o.helperRendererClass&&o.eventRenderer&&(o.helperRenderer=new o.helperRendererClass(o,o.eventRenderer)),o.businessHourRendererClass&&o.fillRenderer&&(o.businessHourRenderer=new o.businessHourRendererClass(o,o.fillRenderer)),o}return o.__extends(e,t),e.prototype.addChild=function(t){return!this.childrenByUid[t.uid]&&(this.childrenByUid[t.uid]=t,!0)},e.prototype.removeChild=function(t){return!!this.childrenByUid[t.uid]&&(delete this.childrenByUid[t.uid],!0)},e.prototype.updateSize=function(t,e,n){this.callChildren("updateSize",arguments)},e.prototype.opt=function(t){return this._getView().opt(t)},e.prototype.publiclyTrigger=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this._getCalendar();return n.publiclyTrigger.apply(n,t)},e.prototype.hasPublicHandlers=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this._getCalendar();return n.hasPublicHandlers.apply(n,t)},e.prototype.executeDateRender=function(t){this.dateProfile=t,this.renderDates(t),this.isDatesRendered=!0,this.callChildren("executeDateRender",arguments)},e.prototype.executeDateUnrender=function(){this.callChildren("executeDateUnrender",arguments),this.dateProfile=null,this.unrenderDates(),this.isDatesRendered=!1},e.prototype.renderDates=function(t){},e.prototype.unrenderDates=function(){},e.prototype.getNowIndicatorUnit=function(){},e.prototype.renderNowIndicator=function(t){this.callChildren("renderNowIndicator",arguments)},e.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},e.prototype.renderBusinessHours=function(t){this.businessHourRenderer&&this.businessHourRenderer.render(t),this.callChildren("renderBusinessHours",arguments)},e.prototype.unrenderBusinessHours=function(){this.callChildren("unrenderBusinessHours",arguments),this.businessHourRenderer&&this.businessHourRenderer.unrender()},e.prototype.executeEventRender=function(t){this.eventRenderer?(this.eventRenderer.rangeUpdated(),this.eventRenderer.render(t)):this.renderEvents&&this.renderEvents(i(t)),this.callChildren("executeEventRender",arguments)},e.prototype.executeEventUnrender=function(){this.callChildren("executeEventUnrender",arguments),this.eventRenderer?this.eventRenderer.unrender():this.destroyEvents&&this.destroyEvents()},e.prototype.getBusinessHourSegs=function(){var t=this.getOwnBusinessHourSegs();return this.iterChildren(function(e){t.push.apply(t,e.getBusinessHourSegs())}),t},e.prototype.getOwnBusinessHourSegs=function(){return this.businessHourRenderer?this.businessHourRenderer.getSegs():[]},e.prototype.getEventSegs=function(){var t=this.getOwnEventSegs();return this.iterChildren(function(e){t.push.apply(t,e.getEventSegs())}),t},e.prototype.getOwnEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},e.prototype.triggerAfterEventsRendered=function(){this.triggerAfterEventSegsRendered(this.getEventSegs()),this.publiclyTrigger("eventAfterAllRender",{context:this,args:[this]})},e.prototype.triggerAfterEventSegsRendered=function(t){var e=this;this.hasPublicHandlers("eventAfterRender")&&t.forEach(function(t){var n;t.el&&(n=t.footprint.getEventLegacy(),e.publiclyTrigger("eventAfterRender",{context:n,args:[n,t.el,e]}))})},e.prototype.triggerBeforeEventsDestroyed=function(){this.triggerBeforeEventSegsDestroyed(this.getEventSegs())},e.prototype.triggerBeforeEventSegsDestroyed=function(t){var e=this;this.hasPublicHandlers("eventDestroy")&&t.forEach(function(t){var n;t.el&&(n=t.footprint.getEventLegacy(),e.publiclyTrigger("eventDestroy",{context:n,args:[n,t.el,e]}))})},e.prototype.showEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","")}),this.callChildren("showEventsWithId",arguments)},e.prototype.hideEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","hidden")}),this.callChildren("hideEventsWithId",arguments)},e.prototype.renderDrag=function(t,e,n){var i=!1;return this.iterChildren(function(o){o.renderDrag(t,e,n)&&(i=!0)}),i},e.prototype.unrenderDrag=function(){this.callChildren("unrenderDrag",arguments)},e.prototype.renderEventResize=function(t,e,n){this.callChildren("renderEventResize",arguments)},e.prototype.unrenderEventResize=function(){this.callChildren("unrenderEventResize",arguments)},e.prototype.renderSelectionFootprint=function(t){this.renderHighlight(t),this.callChildren("renderSelectionFootprint",arguments)},e.prototype.unrenderSelection=function(){this.unrenderHighlight(),this.callChildren("unrenderSelection",arguments)},e.prototype.renderHighlight=function(t){this.fillRenderer&&this.fillRenderer.renderFootprint("highlight",t,{getClasses:function(){return["fc-highlight"]}}),this.callChildren("renderHighlight",arguments)},e.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight"),this.callChildren("unrenderHighlight",arguments)},e.prototype.hitsNeeded=function(){this.hitsNeededDepth++||this.prepareHits(),this.callChildren("hitsNeeded",arguments)},e.prototype.hitsNotNeeded=function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits(),this.callChildren("hitsNotNeeded",arguments)},e.prototype.prepareHits=function(){},e.prototype.releaseHits=function(){},e.prototype.queryHit=function(t,e){var n,i,o=this.childrenByUid;for(n in o)if(i=o[n].queryHit(t,e))break;return i},e.prototype.getSafeHitFootprint=function(t){var e=this.getHitFootprint(t);return this.dateProfile.activeUnzonedRange.containsRange(e.unzonedRange)?e:null},e.prototype.getHitFootprint=function(t){},e.prototype.getHitEl=function(t){},e.prototype.eventRangesToEventFootprints=function(t){var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.eventRangeToEventFootprints(t[e]));return n},e.prototype.eventRangeToEventFootprints=function(t){return[d.eventRangeToEventFootprint(t)]},e.prototype.eventFootprintsToSegs=function(t){var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.eventFootprintToSegs(t[e]));return n},e.prototype.eventFootprintToSegs=function(t){var e,n,i,o=t.componentFootprint.unzonedRange;for(e=this.componentFootprintToSegs(t.componentFootprint),n=0;n<e.length;n++)i=e[n],o.isStart||(i.isStart=!1),o.isEnd||(i.isEnd=!1),i.footprint=t;return e},e.prototype.componentFootprintToSegs=function(t){return[]},e.prototype.callChildren=function(t,e){this.iterChildren(function(n){n[t].apply(n,e)})},e.prototype.iterChildren=function(t){var e,n=this.childrenByUid;for(e in n)t(n[e])},e.prototype._getCalendar=function(){var t=this;return t.calendar||t.view.calendar},e.prototype._getView=function(){return this.view},e.prototype._getDateProfile=function(){return this._getView().get("dateProfile")},e.prototype.buildGotoAnchorHtml=function(t,e,n){var i,o,a,u;return r.isPlainObject(t)?(i=t.date,o=t.type,a=t.forceOff):i=t,i=l.default(i),u={date:i.format("YYYY-MM-DD"),type:o||"day"},"string"==typeof e&&(n=e,e=null),e=e?" "+s.attrsToStr(e):"",n=n||"",!a&&this.opt("navLinks")?"<a"+e+' data-goto="'+s.htmlEscape(JSON.stringify(u))+'">'+n+"</a>":"<span"+e+">"+n+"</span>"},e.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||s.htmlEscape(this.opt("allDayText"))},e.prototype.getDayClasses=function(t,e){var n,i=this._getView(),o=[];return this.dateProfile.activeUnzonedRange.containsDate(t)?(o.push("fc-"+s.dayIDs[t.day()]),i.isDateInOtherMonth(t,this.dateProfile)&&o.push("fc-other-month"),n=i.calendar.getNow(),t.isSame(n,"day")?(o.push("fc-today"),!0!==e&&o.push(i.calendar.theme.getClass("today"))):t<n?o.push("fc-past"):o.push("fc-future")):o.push("fc-disabled-day"),o},e.prototype.formatRange=function(t,e,n,i){var o=t.end;return e&&(o=o.clone().subtract(1)),u.formatRange(t.start,o,n,i,this.isRTL)},e.prototype.currentRangeAs=function(t){return this._getDateProfile().currentUnzonedRange.as(t)},e.prototype.computeDayRange=function(t){var e=this._getCalendar(),n=e.msToUtcMoment(t.startMs,!0),i=e.msToUtcMoment(t.endMs),o=+i.time(),r=i.clone().stripTime();return o&&o>=this.nextDayThreshold&&r.add(1,"days"),r<=n&&(r=n.clone().add(1,"days")),{start:n,end:r}},e.prototype.isMultiDayRange=function(t){var e=this.computeDayRange(t);return e.end.diff(e.start,"days")>1},e.guid=0,e}(c.default);e.default=h},function(t,e,n){function i(t,e){return null==e?t:o.isFunction(e)?t.filter(e):(e+="",t.filter(function(t){return t.id==e||t._id===e}))}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=n(0),a=n(4),s=n(33),l=n(225),u=n(23),c=n(13),d=n(7),h=n(257),f=n(258),p=n(259),m=n(217),g=n(32),v=n(11),y=n(5),b=n(12),w=n(16),x=n(220),_=n(218),D=n(38),k=n(36),S=n(9),C=n(39),M=n(6),T=n(57),E=function(){function t(t,e){this.loadingLevel=0,this.ignoreUpdateViewSize=0,this.freezeContentHeightDepth=0,u.default.needed(),this.el=t,this.viewsByType={},this.optionsManager=new f.default(this,e),this.viewSpecManager=new p.default(this.optionsManager,this),this.initMomentInternals(),this.initCurrentDate(),this.initEventManager(),this.constraints=new m.default(this.eventManager,this),this.constructed()}return t.prototype.constructed=function(){},t.prototype.getView=function(){return this.view},t.prototype.publiclyTrigger=function(t,e){var n,i,r=this.opt(t);if(o.isPlainObject(e)?(n=e.context,i=e.args):o.isArray(e)&&(i=e),null==n&&(n=this.el[0]),i||(i=[]),this.triggerWith(t,n,i),r)return r.apply(n,i)},t.prototype.hasPublicHandlers=function(t){return this.hasHandlers(t)||this.opt(t)},t.prototype.option=function(t,e){var n;if("string"==typeof t){if(void 0===e)return this.optionsManager.get(t);n={},n[t]=e,this.optionsManager.add(n)}else"object"==typeof t&&this.optionsManager.add(t)},t.prototype.opt=function(t){return this.optionsManager.get(t)},t.prototype.instantiateView=function(t){var e=this.viewSpecManager.getViewSpec(t);if(!e)throw new Error('View type "'+t+'" is not valid');return new e.class(this,e)},t.prototype.isValidViewType=function(t){return Boolean(this.viewSpecManager.getViewSpec(t))},t.prototype.changeView=function(t,e){e&&(e.start&&e.end?this.optionsManager.recordOverrides({visibleRange:e}):this.currentDate=this.moment(e).stripZone()),this.renderView(t)},t.prototype.zoomTo=function(t,e){var n;e=e||"day",n=this.viewSpecManager.getViewSpec(e)||this.viewSpecManager.getUnitViewSpec(e),this.currentDate=t.clone(),this.renderView(n?n.type:null)},t.prototype.initCurrentDate=function(){var t=this.opt("defaultDate");this.currentDate=null!=t?this.moment(t).stripZone():this.getNow()},t.prototype.prev=function(){var t=this.view,e=t.dateProfileGenerator.buildPrev(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.next=function(){var t=this.view,e=t.dateProfileGenerator.buildNext(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.prevYear=function(){this.currentDate.add(-1,"years"),this.renderView()},t.prototype.nextYear=function(){this.currentDate.add(1,"years"),this.renderView()},t.prototype.today=function(){this.currentDate=this.getNow(),this.renderView()},t.prototype.gotoDate=function(t){this.currentDate=this.moment(t).stripZone(),this.renderView()},t.prototype.incrementDate=function(t){this.currentDate.add(r.duration(t)),this.renderView()},t.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},t.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},t.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},t.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},t.prototype.initialRender=function(){var t=this,e=this.el;e.addClass("fc"),e.on("click.fc","a[data-goto]",function(e){var n=o(e.currentTarget),i=n.data("goto"),r=t.moment(i.date),s=i.type,l=t.view.opt("navLink"+a.capitaliseFirstLetter(s)+"Click");"function"==typeof l?l(r,e):("string"==typeof l&&(s=l),t.zoomTo(r,s))}),this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(n){var i=T.getThemeSystemClass(n.themeSystem||n.theme),o=new i(t.optionsManager),r=o.getClass("widget");t.theme=o,r&&e.addClass(r)},function(){var n=t.theme.getClass("widget");t.theme=null,n&&e.removeClass(n)}),this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(e){t.businessHourGenerator=new _.default(e.businessHours,t),t.view&&t.view.set("businessHourGenerator",t.businessHourGenerator)},function(){t.businessHourGenerator=null}),this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(t){e.toggleClass("fc-ltr",!t.isRTL),e.toggleClass("fc-rtl",t.isRTL)}),this.contentEl=o("<div class='fc-view-container'/>").prependTo(e),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&o(window).resize(this.windowResizeProxy=a.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},t.prototype.destroy=function(){this.view&&this.clearView(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl"),this.optionsManager.unwatch("settingTheme"),this.optionsManager.unwatch("settingBusinessHourGenerator"),this.el.off(".fc"),this.windowResizeProxy&&(o(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),u.default.unneeded()},t.prototype.elementVisible=function(){return this.el.is(":visible")},t.prototype.bindViewHandlers=function(t){var e=this;t.watch("titleForCalendar",["title"],function(n){t===e.view&&e.setToolbarsTitle(n.title)}),t.watch("dateProfileForCalendar",["dateProfile"],function(n){t===e.view&&(e.currentDate=n.dateProfile.date,e.updateToolbarButtons(n.dateProfile))})},t.prototype.unbindViewHandlers=function(t){t.unwatch("titleForCalendar"),t.unwatch("dateProfileForCalendar")},t.prototype.renderView=function(t){var e,n=this.view;this.freezeContentHeight(),n&&t&&n.type!==t&&this.clearView(),!this.view&&t&&(e=this.view=this.viewsByType[t]||(this.viewsByType[t]=this.instantiateView(t)),this.bindViewHandlers(e),e.startBatchRender(),e.setElement(o("<div class='fc-view fc-"+t+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",t)),this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),e&&e.stopBatchRender()),this.thawContentHeight()},t.prototype.clearView=function(){var t=this.view;this.toolbarsManager.proxyCall("deactivateButton",t.type),this.unbindViewHandlers(t),t.removeElement(),t.unsetDate(),this.view=null},t.prototype.reinitView=function(){var t=this.view,e=t.queryScroll();this.freezeContentHeight(),this.clearView(),this.calcSize(),this.renderView(t.type),this.view.applyScroll(e),this.thawContentHeight()},t.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},t.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},t.prototype.updateViewSize=function(t){void 0===t&&(t=!1);var e,n=this.view;if(!this.ignoreUpdateViewSize&&n)return t&&(this.calcSize(),e=n.queryScroll()),this.ignoreUpdateViewSize++,n.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),t),this.ignoreUpdateViewSize--,t&&n.applyScroll(e),!0},t.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},t.prototype._calcSize=function(){var t=this.opt("contentHeight"),e=this.opt("height");this.suggestedViewHeight="number"==typeof t?t:"function"==typeof t?t():"number"==typeof e?e-this.queryToolbarsHeight():"function"==typeof e?e()-this.queryToolbarsHeight():"parent"===e?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},t.prototype.windowResize=function(t){t.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},t.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},t.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},t.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--,this.contentEl.css({width:"",height:"",overflow:""}),this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},t.prototype.initToolbars=function(){this.header=new h.default(this,this.computeHeaderOptions()),this.footer=new h.default(this,this.computeFooterOptions()),this.toolbarsManager=new l.default([this.header,this.footer])},t.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},t.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},t.prototype.renderHeader=function(){var t=this.header;t.setToolbarOptions(this.computeHeaderOptions()),t.render(),t.el&&this.el.prepend(t.el)},t.prototype.renderFooter=function(){var t=this.footer;t.setToolbarOptions(this.computeFooterOptions()),t.render(),t.el&&this.el.append(t.el)},t.prototype.setToolbarsTitle=function(t){this.toolbarsManager.proxyCall("updateTitle",t)},t.prototype.updateToolbarButtons=function(t){var e=this.getNow(),n=this.view,i=n.dateProfileGenerator.build(e),o=n.dateProfileGenerator.buildPrev(n.get("dateProfile")),r=n.dateProfileGenerator.buildNext(n.get("dateProfile"));this.toolbarsManager.proxyCall(i.isValid&&!t.currentUnzonedRange.containsDate(e)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(o.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(r.isValid?"enableButton":"disableButton","next")},t.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(t,e){return t+(e.el?e.el.outerHeight(!0):0)},0)},t.prototype.select=function(t,e){this.view.select(this.buildSelectFootprint.apply(this,arguments))},t.prototype.unselect=function(){this.view&&this.view.unselect()},t.prototype.buildSelectFootprint=function(t,e){var n,i=this.moment(t).stripZone();return n=e?this.moment(e).stripZone():i.hasTime()?i.clone().add(this.defaultTimedEventDuration):i.clone().add(this.defaultAllDayEventDuration),new b.default(new y.default(i,n),!i.hasTime())},t.prototype.initMomentInternals=function(){var t=this;this.defaultAllDayEventDuration=r.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=r.duration(this.opt("defaultTimedEventDuration")),this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(e){var n,i=e.weekNumberCalculation,o=e.firstDay;"iso"===i&&(i="ISO");var r=Object.create(g.getMomentLocaleData(e.locale));e.monthNames&&(r._months=e.monthNames),e.monthNamesShort&&(r._monthsShort=e.monthNamesShort),e.dayNames&&(r._weekdays=e.dayNames),e.dayNamesShort&&(r._weekdaysShort=e.dayNamesShort),null==o&&"ISO"===i&&(o=1),null!=o&&(n=Object.create(r._week),n.dow=o,r._week=n),"ISO"!==i&&"local"!==i&&"function"!=typeof i||(r._fullCalendar_weekCalc=i),t.localeData=r,t.currentDate&&t.localizeMoment(t.currentDate)})},t.prototype.moment=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n;return"local"===this.opt("timezone")?(n=v.default.apply(null,t),n.hasTime()&&n.local()):n="UTC"===this.opt("timezone")?v.default.utc.apply(null,t):v.default.parseZone.apply(null,t),this.localizeMoment(n),n},t.prototype.msToMoment=function(t,e){var n=v.default.utc(t);return e?n.stripTime():n=this.applyTimezone(n),this.localizeMoment(n),n},t.prototype.msToUtcMoment=function(t,e){var n=v.default.utc(t);return e&&n.stripTime(),this.localizeMoment(n),n},t.prototype.localizeMoment=function(t){t._locale=this.localeData},t.prototype.getIsAmbigTimezone=function(){return"local"!==this.opt("timezone")&&"UTC"!==this.opt("timezone")},t.prototype.applyTimezone=function(t){if(!t.hasTime())return t.clone();var e,n=this.moment(t.toArray()),i=t.time().asMilliseconds()-n.time().asMilliseconds();return i&&(e=n.clone().add(i),t.time().asMilliseconds()-e.time().asMilliseconds()==0&&(n=e)),n},t.prototype.footprintToDateProfile=function(t,e){void 0===e&&(e=!1);var n,i=v.default.utc(t.unzonedRange.startMs);return e||(n=v.default.utc(t.unzonedRange.endMs)),t.isAllDay?(i.stripTime(),n&&n.stripTime()):(i=this.applyTimezone(i),n&&(n=this.applyTimezone(n))),this.localizeMoment(i),n&&this.localizeMoment(n),new w.default(i,n,this)},t.prototype.getNow=function(){var t=this.opt("now");return"function"==typeof t&&(t=t()),this.moment(t).stripZone()},t.prototype.humanizeDuration=function(t){return t.locale(this.opt("locale")).humanize()},t.prototype.parseUnzonedRange=function(t){var e=null,n=null;return t.start&&(e=this.moment(t.start).stripZone()),t.end&&(n=this.moment(t.end).stripZone()),e||n?e&&n&&n.isBefore(e)?null:new y.default(e,n):null},t.prototype.initEventManager=function(){var t=this,e=new x.default(this),n=this.opt("eventSources")||[],i=this.opt("events");this.eventManager=e,i&&n.unshift(i),e.on("release",function(e){t.trigger("eventsReset",e)}),e.freeze(),n.forEach(function(n){var i=D.default.parse(n,t);i&&e.addSource(i)}),e.thaw()},t.prototype.requestEvents=function(t,e){return this.eventManager.requestEvents(t,e,this.opt("timezone"),!this.opt("lazyFetching"))},t.prototype.getEventEnd=function(t){return t.end?t.end.clone():this.getDefaultEventEnd(t.allDay,t.start)},t.prototype.getDefaultEventEnd=function(t,e){var n=e.clone();return t?n.stripTime().add(this.defaultAllDayEventDuration):n.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&n.stripZone(),n},t.prototype.rerenderEvents=function(){this.view.flash("displayingEvents")},t.prototype.refetchEvents=function(){this.eventManager.refetchAllSources()},t.prototype.renderEvents=function(t,e){this.eventManager.freeze();for(var n=0;n<t.length;n++)this.renderEvent(t[n],e);this.eventManager.thaw()},t.prototype.renderEvent=function(t,e){void 0===e&&(e=!1);var n=this.eventManager,i=k.default.parse(t,t.source||n.stickySource);i&&n.addEventDef(i,e)},t.prototype.removeEvents=function(t){var e,n,o=this.eventManager,r=[],a={};if(null==t)o.removeAllEventDefs();else{for(o.getEventInstances().forEach(function(t){r.push(t.toLegacy())}),r=i(r,t),n=0;n<r.length;n++)e=this.eventManager.getEventDefByUid(r[n]._id),a[e.id]=!0;o.freeze();for(n in a)o.removeEventDefsById(n);o.thaw()}},t.prototype.clientEvents=function(t){var e=[];return this.eventManager.getEventInstances().forEach(function(t){e.push(t.toLegacy())}),i(e,t)},t.prototype.updateEvents=function(t){this.eventManager.freeze();for(var e=0;e<t.length;e++)this.updateEvent(t[e]);this.eventManager.thaw()},t.prototype.updateEvent=function(t){var e,n,i=this.eventManager.getEventDefByUid(t._id);i instanceof S.default&&(e=i.buildInstance(),n=C.default.createFromRawProps(e,t,null),this.eventManager.mutateEventsWithId(i.id,n))},t.prototype.getEventSources=function(){return this.eventManager.otherSources.slice()},t.prototype.getEventSourceById=function(t){return this.eventManager.getSourceById(M.default.normalizeId(t))},t.prototype.addEventSource=function(t){var e=D.default.parse(t,this);e&&this.eventManager.addSource(e)},t.prototype.removeEventSources=function(t){var e,n,i=this.eventManager;if(null==t)this.eventManager.removeAllSources();else{for(e=i.multiQuerySources(t),i.freeze(),n=0;n<e.length;n++)i.removeSource(e[n]);i.thaw()}},t.prototype.removeEventSource=function(t){var e,n=this.eventManager,i=n.querySources(t);for(n.freeze(),e=0;e<i.length;e++)n.removeSource(i[e]);n.thaw()},t.prototype.refetchEventSources=function(t){var e,n=this.eventManager,i=n.multiQuerySources(t);for(n.freeze(),e=0;e<i.length;e++)n.refetchSource(i[e]);n.thaw()},t.defaults=s.globalDefaults,t.englishDefaults=s.englishDefaults,t.rtlDefaults=s.rtlDefaults,t}();e.default=E,c.default.mixInto(E),d.default.mixInto(E)},function(t,e,n){function i(t){var e,n,i,o,l=s.dataAttrPrefix;return l&&(l+="-"),e=t.data(l+"event")||null,e&&(e="object"==typeof e?r.extend({},e):{},n=e.start,null==n&&(n=e.time),i=e.duration,o=e.stick,delete e.start,delete e.time,delete e.duration,delete e.stick),null==n&&(n=t.data(l+"start")),null==n&&(n=t.data(l+"time")),null==i&&(i=t.data(l+"duration")),null==o&&(o=t.data(l+"stick")),n=null!=n?a.duration(n):null,i=null!=i?a.duration(i):null,o=Boolean(o),{eventProps:e,startTime:n,duration:i,stick:o}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),r=n(3),a=n(0),s=n(18),l=n(4),u=n(11),c=n(7),d=n(17),h=n(9),f=n(20),p=n(6),m=n(14),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return o.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToDocument=function(){this.listenTo(r(document),{dragstart:this.handleDragStart,sortstart:this.handleDragStart})},e.prototype.unbindFromDocument=function(){this.stopListeningTo(r(document))},e.prototype.handleDragStart=function(t,e){var n,i;this.opt("droppable")&&(n=r((e?e.item:null)||t.target),i=this.opt("dropAccept"),(r.isFunction(i)?i.call(n[0],n):n.is(i))&&(this.isDragging||this.listenToExternalDrag(n,t,e)))},e.prototype.listenToExternalDrag=function(t,e,n){var o,r=this,a=this.component,s=this.view,u=i(t);(this.dragListener=new d.default(a,{interactionStart:function(){r.isDragging=!0},hitOver:function(t){var e,n=!0,i=t.component.getSafeHitFootprint(t);i?(o=r.computeExternalDrop(i,u),o?(e=new f.default(o.buildInstances()),n=u.eventProps?a.isEventInstanceGroupAllowed(e):a.isExternalInstanceGroupAllowed(e)):n=!1):n=!1,n||(o=null,l.disableCursor()),o&&a.renderDrag(a.eventRangesToEventFootprints(e.sliceRenderRanges(a.dateProfile.renderUnzonedRange,s.calendar)))},hitOut:function(){o=null},hitDone:function(){l.enableCursor(),a.unrenderDrag()},interactionEnd:function(e){o&&s.reportExternalDrop(o,Boolean(u.eventProps),Boolean(u.stick),t,e,n),r.isDragging=!1,r.dragListener=null}})).startDrag(e)},e.prototype.computeExternalDrop=function(t,e){var n,i=this.view.calendar,o=u.default.utc(t.unzonedRange.startMs).stripZone();return t.isAllDay&&(e.startTime?o.time(e.startTime):o.stripTime()),e.duration&&(n=o.clone().add(e.duration)),o=i.applyTimezone(o),n&&(n=i.applyTimezone(n)),h.default.parse(r.extend({},e.eventProps,{start:o,end:n}),new p.default(i))},e}(m.default);e.default=g,c.default.mixInto(g),s.dataAttrPrefix=""},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(39),s=n(40),l=n(17),u=n(14),c=function(t){function e(e,n){var i=t.call(this,e)||this;return i.isResizing=!1,i.eventPointing=n,i}return i.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMouseDown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMouseDown=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,o(e.target).is(".fc-start-resizer")).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,o(e.target).is(".fc-start-resizer")).startInteraction(e)},e.prototype.buildDragListener=function(t,e){var n,i,o=this,a=this.component,s=this.view,u=s.calendar,c=u.eventManager,d=t.el,h=t.footprint.eventDef,f=t.footprint.eventInstance;return this.dragListener=new l.default(a,{scroll:this.opt("dragScroll"),subjectEl:d,interactionStart:function(){n=!1},dragStart:function(e){n=!0,o.eventPointing.handleMouseout(t,e),o.segResizeStart(t,e)},hitOver:function(n,l,d){var f,p=!0,m=a.getSafeHitFootprint(d),g=a.getSafeHitFootprint(n);m&&g?(i=e?o.computeEventStartResizeMutation(m,g,t.footprint):o.computeEventEndResizeMutation(m,g,t.footprint),i?(f=c.buildMutatedEventInstanceGroup(h.id,i),p=a.isEventInstanceGroupAllowed(f)):p=!1):p=!1,p?i.isEmpty()&&(i=null):(i=null,r.disableCursor()),i&&(s.hideEventsWithId(t.footprint.eventDef.id),s.renderEventResize(a.eventRangesToEventFootprints(f.sliceRenderRanges(a.dateProfile.renderUnzonedRange,u)),t))},hitOut:function(){i=null},hitDone:function(){s.unrenderEventResize(t),s.showEventsWithId(t.footprint.eventDef.id),r.enableCursor()},interactionEnd:function(e){n&&o.segResizeStop(t,e),i&&s.reportEventResize(f,i,d,e),o.dragListener=null}})},e.prototype.segResizeStart=function(t,e){this.isResizing=!0,this.component.publiclyTrigger("eventResizeStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segResizeStop=function(t,e){this.isResizing=!1,this.component.publiclyTrigger("eventResizeStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventStartResizeMutation=function(t,e,n){var i,o,r=n.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getStart(),t.unzonedRange.getStart());return r.getStart().add(l)<r.getEnd()&&(i=new s.default,i.setStartDelta(l),o=new a.default,o.setDateMutation(i),o)},e.prototype.computeEventEndResizeMutation=function(t,e,n){var i,o,r=n.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getEnd(),t.unzonedRange.getEnd());return r.getEnd().add(l)>r.getStart()&&(i=new s.default,i.setEndDelta(l),o=new a.default,o.setDateMutation(i),o)},e}(u.default);e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=n(39),a=n(40),s=n(59),l=n(17),u=n(226),c=n(14),d=function(t){function e(e,n){var i=t.call(this,e)||this;return i.isDragging=!1,i.eventPointing=n,i}return i.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.getSelectionDelay=function(){var t=this.opt("eventLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMousedown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMousedown=function(t,e){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(t,e)&&this.buildDragListener(t).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){var n=this.component,i={delay:this.view.isEventDefSelected(t.footprint.eventDef)?0:this.getSelectionDelay()};n.canStartDrag(t,e)?this.buildDragListener(t).startInteraction(e,i):n.canStartSelection(t,e)&&this.buildSelectListener(t).startInteraction(e,i)},e.prototype.buildSelectListener=function(t){var e=this,n=this.view,i=t.footprint.eventDef,o=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var r=this.dragListener=new s.default({dragStart:function(t){r.isTouch&&!n.isEventDefSelected(i)&&o&&n.selectEventInstance(o)},interactionEnd:function(t){e.dragListener=null}});return r},e.prototype.buildDragListener=function(t){var e,n,i,r=this,a=this.component,s=this.view,c=s.calendar,d=c.eventManager,h=t.el,f=t.footprint.eventDef,p=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var m=this.dragListener=new l.default(s,{scroll:this.opt("dragScroll"),subjectEl:h,subjectCenter:!0,interactionStart:function(i){t.component=a,e=!1,n=new u.default(t.el,{additionalClass:"fc-dragging",parentEl:s.el,opacity:m.isTouch?null:r.opt("dragOpacity"),revertDuration:r.opt("dragRevertDuration"),zIndex:2}),n.hide(),n.start(i)},dragStart:function(n){m.isTouch&&!s.isEventDefSelected(f)&&p&&s.selectEventInstance(p),e=!0,r.eventPointing.handleMouseout(t,n),r.segDragStart(t,n),s.hideEventsWithId(t.footprint.eventDef.id)},hitOver:function(e,l,u){var h,p,g,v=!0;t.hit&&(u=t.hit),h=u.component.getSafeHitFootprint(u),p=e.component.getSafeHitFootprint(e),h&&p?(i=r.computeEventDropMutation(h,p,f),i?(g=d.buildMutatedEventInstanceGroup(f.id,i),v=a.isEventInstanceGroupAllowed(g)):v=!1):v=!1,v||(i=null,o.disableCursor()),i&&s.renderDrag(a.eventRangesToEventFootprints(g.sliceRenderRanges(a.dateProfile.renderUnzonedRange,c)),t,m.isTouch)?n.hide():n.show(),l&&(i=null)},hitOut:function(){s.unrenderDrag(t),n.show(),i=null},hitDone:function(){o.enableCursor()},interactionEnd:function(o){delete t.component,n.stop(!i,function(){e&&(s.unrenderDrag(t),r.segDragStop(t,o)),s.showEventsWithId(t.footprint.eventDef.id),i&&s.reportEventDrop(p,i,h,o)}),r.dragListener=null}});return m},e.prototype.segDragStart=function(t,e){this.isDragging=!0,this.component.publiclyTrigger("eventDragStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segDragStop=function(t,e){this.isDragging=!1,this.component.publiclyTrigger("eventDragStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventDropMutation=function(t,e,n){var i=new r.default;return i.setDateMutation(this.computeEventDateMutation(t,e)),i},e.prototype.computeEventDateMutation=function(t,e){var n,i,o=t.unzonedRange.getStart(),r=e.unzonedRange.getStart(),s=!1,l=!1,u=!1;return t.isAllDay!==e.isAllDay&&(s=!0,e.isAllDay?(u=!0,o.stripTime()):l=!0),n=this.component.diffDates(r,o),i=new a.default,i.clearEnd=s,i.forceTimed=l,i.forceAllDay=u,i.setDateDelta(n),i},e}(c.default);e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=n(17),a=n(12),s=n(5),l=n(14),u=function(t){function e(e){var n=t.call(this,e)||this;return n.dragListener=n.buildDragListener(),n}return i.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.getDelay=function(){var t=this.opt("selectLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this,n=this.component,i=this.dragListener;n.bindDateHandlerToEl(t,"mousedown",function(t){e.opt("selectable")&&!n.shouldIgnoreMouse()&&i.startInteraction(t,{distance:e.opt("selectMinDistance")})}),n.bindDateHandlerToEl(t,"touchstart",function(t){e.opt("selectable")&&!n.shouldIgnoreTouch()&&i.startInteraction(t,{delay:e.getDelay()})}),o.preventSelection(t)},e.prototype.buildDragListener=function(){var t,e=this,n=this.component;return new r.default(n,{scroll:this.opt("dragScroll"),interactionStart:function(){t=null},dragStart:function(t){e.view.unselect(t)},hitOver:function(i,r,a){var s,l;a&&(s=n.getSafeHitFootprint(a),l=n.getSafeHitFootprint(i),t=s&&l?e.computeSelection(s,l):null,t?n.renderSelectionFootprint(t):!1===t&&o.disableCursor())},hitOut:function(){t=null,n.unrenderSelection()},hitDone:function(){o.enableCursor()},interactionEnd:function(n,i){!i&&t&&e.view.reportSelection(t,n)}})},e.prototype.computeSelection=function(t,e){var n=this.computeSelectionFootprint(t,e);return!(n&&!this.isSelectionFootprintAllowed(n))&&n},e.prototype.computeSelectionFootprint=function(t,e){var n=[t.unzonedRange.startMs,t.unzonedRange.endMs,e.unzonedRange.startMs,e.unzonedRange.endMs];return n.sort(o.compareNumbers),new a.default(new s.default(n[0],n[3]),t.isAllDay)},e.prototype.isSelectionFootprintAllowed=function(t){return this.component.dateProfile.validUnzonedRange.containsRange(t.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(t)},e}(l.default);e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(17),r=n(14),a=function(t){function e(e){var n=t.call(this,e)||this;return n.dragListener=n.buildDragListener(),n}return i.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component,n=this.dragListener;e.bindDateHandlerToEl(t,"mousedown",function(t){e.shouldIgnoreMouse()||n.startInteraction(t)}),e.bindDateHandlerToEl(t,"touchstart",function(t){e.shouldIgnoreTouch()||n.startInteraction(t)})},e.prototype.buildDragListener=function(){var t,e=this,n=this.component,i=new o.default(n,{scroll:this.opt("dragScroll"),interactionStart:function(){t=i.origHit},hitOver:function(e,n,i){n||(t=null)},hitOut:function(){t=null},interactionEnd:function(i,o){var r;!o&&t&&(r=n.getSafeHitFootprint(t))&&e.view.triggerDayClick(r,n.getHitEl(t),i)}});return i.shouldCancelTouchScroll=!1,i.scrollAlwaysKills=!0,i},e}(r.default);e.default=a},function(t,e,n){function i(t){var e,n=[],i=[];for(e=0;e<t.length;e++)t[e].componentFootprint.isAllDay?n.push(t[e]):i.push(t[e]);return{allDay:n,timed:i}}Object.defineProperty(e,"__esModule",{value:!0});var o,r,a=n(2),s=n(0),l=n(3),u=n(4),c=n(41),d=n(43),h=n(239),f=n(66),p=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.usesMinMaxTime=!0,i.timeGrid=i.instantiateTimeGrid(),i.addChild(i.timeGrid),i.opt("allDaySlot")&&(i.dayGrid=i.instantiateDayGrid(),i.addChild(i.dayGrid)),i.scroller=new c.default({overflowX:"hidden",overflowY:"auto"}),i}return a.__extends(e,t),e.prototype.instantiateTimeGrid=function(){var t=new this.timeGridClass(this);return u.copyOwnProps(o,t),t},e.prototype.instantiateDayGrid=function(){var t=new this.dayGridClass(this);return u.copyOwnProps(r,t),t},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-time-grid-container"),e=l('<div class="fc-time-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.timeGrid.headContainerEl=this.el.find(".fc-head-container"),this.timeGrid.setElement(e),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},e.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+t.getClass("widgetHeader")+'"/>':"")+"</td></tr></tbody></table>"},e.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},e.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},e.prototype.updateSize=function(e,n,i){var o,r,a;if(t.prototype.updateSize.call(this,e,n,i),this.axisWidth=u.matchCellWidths(this.el.find(".fc-axis")),!this.timeGrid.colEls)return void(n||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r)));var s=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),u.uncompensateScroll(s),this.dayGrid&&(this.dayGrid.removeSegPopover(),o=this.opt("eventLimit"),o&&"number"!=typeof o&&(o=5),o&&this.dayGrid.limitRows(o)),n||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r),a=this.scroller.getScrollbarWidths(),(a.left||a.right)&&(u.compensateScroll(s,a),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(a),this.timeGrid.getTotalSlatHeight()<r&&this.timeGrid.bottomRuleEl.show())},e.prototype.computeScrollerHeight=function(t){return t-u.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.computeInitialDateScroll=function(){var t=s.duration(this.opt("scrollTime")),e=this.timeGrid.computeTimeTop(t);return e=Math.ceil(e),e&&e++,{top:e}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e.prototype.getHitFootprint=function(t){return t.component.getHitFootprint(t)},e.prototype.getHitEl=function(t){return t.component.getHitEl(t)},e.prototype.executeEventRender=function(t){var e,n,i={},o={};for(e in t)n=t[e],n.getEventDef().isAllDay()?i[e]=n:o[e]=n;this.timeGrid.executeEventRender(o),this.dayGrid&&this.dayGrid.executeEventRender(i)},e.prototype.renderDrag=function(t,e,n){var o=i(t),r=!1;return r=this.timeGrid.renderDrag(o.timed,e,n),this.dayGrid&&(r=this.dayGrid.renderDrag(o.allDay,e,n)||r),r},e.prototype.renderEventResize=function(t,e,n){var o=i(t);this.timeGrid.renderEventResize(o.timed,e,n),this.dayGrid&&this.dayGrid.renderEventResize(o.allDay,e,n)},e.prototype.renderSelectionFootprint=function(t){t.isAllDay?this.dayGrid&&this.dayGrid.renderSelectionFootprint(t):this.timeGrid.renderSelectionFootprint(t)},e}(d.default);e.default=p,p.prototype.timeGridClass=h.default,p.prototype.dayGridClass=f.default,o={renderHeadIntroHtml:function(){var t,e=this.view,n=e.calendar,i=n.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs,!0);return this.opt("weekNumbers")?(t=i.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+n.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+">"+e.buildGotoAnchorHtml({date:i,type:"week",forceOff:this.colCnt>1},u.htmlEscape(t))+"</th>"):'<th class="fc-axis '+n.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+"></th>"},renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}},r={renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"><span>"+t.getAllDayHtml()+"</span></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(0),a=n(4),s=n(42),l=n(61),u=n(65),c=n(60),d=n(58),h=n(5),f=n(12),p=n(240),m=n(241),g=n(242),v=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],y=function(t){function e(e){var n=t.call(this,e)||this;return n.processOptions(),n}return i.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,n=this.sliceRangeByTimes(t.unzonedRange);for(e=0;e<n.length;e++)this.isRTL?n[e].col=this.daysPerRow-1-n[e].dayIndex:n[e].col=n[e].dayIndex;return n},e.prototype.sliceRangeByTimes=function(t){var e,n,i=[];for(n=0;n<this.daysPerRow;n++)(e=t.intersect(this.dayRanges[n]))&&i.push({startMs:e.startMs,endMs:e.endMs,isStart:e.isStart,isEnd:e.isEnd,dayIndex:n});return i},e.prototype.processOptions=function(){var t,e=this.opt("slotDuration"),n=this.opt("snapDuration");e=r.duration(e),n=n?r.duration(n):e,this.slotDuration=e,this.snapDuration=n,this.snapsPerSlot=e/n,t=this.opt("slotLabelFormat"),o.isArray(t)&&(t=t[t.length-1]),this.labelFormat=t||this.opt("smallTimeFormat"),t=this.opt("slotLabelInterval"),this.labelInterval=t?r.duration(t):this.computeLabelInterval(e)},e.prototype.computeLabelInterval=function(t){var e,n,i;for(e=v.length-1;e>=0;e--)if(n=r.duration(v[e]),i=a.divideDurationByDuration(n,t),a.isInt(i)&&i>1)return n;return r.duration(t)},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderSlats(),this.renderColumns()},e.prototype.unrenderDates=function(){this.unrenderColumns()},e.prototype.renderSkeleton=function(){var t=this.view.calendar.theme;this.el.html('<div class="fc-bg"></div><div class="fc-slats"></div><hr class="fc-divider '+t.getClass("widgetHeader")+'" style="display:none" />'),this.bottomRuleEl=this.el.find("hr")},e.prototype.renderSlats=function(){var t=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html('<table class="'+t.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"</table>"),this.slatEls=this.slatContainerEl.find("tr"),this.slatCoordCache=new d.default({els:this.slatEls,isVertical:!0})},e.prototype.renderSlatRowHtml=function(){for(var t,e,n,i=this.view,o=i.calendar,s=o.theme,l=this.isRTL,u=this.dateProfile,c="",d=r.duration(+u.minTime),h=r.duration(0);d<u.maxTime;)t=o.msToUtcMoment(u.renderUnzonedRange.startMs).time(d),e=a.isInt(a.divideDurationByDuration(h,this.labelInterval)),n='<td class="fc-axis fc-time '+s.getClass("widgetContent")+'" '+i.axisStyleAttr()+">"+(e?"<span>"+a.htmlEscape(t.format(this.labelFormat))+"</span>":"")+"</td>",c+='<tr data-time="'+t.format("HH:mm:ss")+'"'+(e?"":' class="fc-minor"')+">"+(l?"":n)+'<td class="'+s.getClass("widgetContent")+'"/>'+(l?n:"")+"</tr>",d.add(this.slotDuration),h.add(this.slotDuration);return c},e.prototype.renderColumns=function(){var t=this.dateProfile,e=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(e){return new h.default(e.clone().add(t.minTime),e.clone().add(t.maxTime))}),this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),this.el.find("> .fc-bg").html('<table class="'+e.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"</table>"),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.colCoordCache=new d.default({els:this.colEls,isHorizontal:!0}),this.renderContentSkeleton()},e.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},e.prototype.renderContentSkeleton=function(){var t,e,n="";for(t=0;t<this.colCnt;t++)n+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>';e=this.contentSkeletonEl=o('<div class="fc-content-skeleton"><table><tr>'+n+"</tr></table></div>"),this.colContainerEls=e.find(".fc-content-col"),this.helperContainerEls=e.find(".fc-helper-container"),this.fgContainerEls=e.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=e.find(".fc-bgevent-container"),this.highlightContainerEls=e.find(".fc-highlight-container"),this.businessContainerEls=e.find(".fc-business-container"),this.bookendCells(e.find("tr")),this.el.append(e)},e.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},e.prototype.groupSegsByCol=function(t){var e,n=[];for(e=0;e<this.colCnt;e++)n.push([]);for(e=0;e<t.length;e++)n[t[e].col].push(t[e]);return n},e.prototype.attachSegsByCol=function(t,e){var n,i,o;for(n=0;n<this.colCnt;n++)for(i=t[n],o=0;o<i.length;o++)e.eq(n).append(i[o].el)},e.prototype.getNowIndicatorUnit=function(){return"minute"},e.prototype.renderNowIndicator=function(t){if(this.colContainerEls){var e,n=this.componentFootprintToSegs(new f.default(new h.default(t,t.valueOf()+1),!1)),i=this.computeDateTop(t,t),r=[];for(e=0;e<n.length;e++)r.push(o('<div class="fc-now-indicator fc-now-indicator-line"></div>').css("top",i).appendTo(this.colContainerEls.eq(n[e].col))[0]);n.length>0&&r.push(o('<div class="fc-now-indicator fc-now-indicator-arrow"></div>').css("top",i).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=o(r)}},e.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},e.prototype.updateSize=function(e,n,i){t.prototype.updateSize.call(this,e,n,i),this.slatCoordCache.build(),i&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},e.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},e.prototype.computeDateTop=function(t,e){return this.computeTimeTop(r.duration(t-e.clone().stripTime()))},e.prototype.computeTimeTop=function(t){var e,n,i=this.slatEls.length,o=this.dateProfile,r=(t-o.minTime)/this.slotDuration;return r=Math.max(0,r),r=Math.min(i,r),e=Math.floor(r),e=Math.min(e,i-1),n=r-e,this.slatCoordCache.getTopPosition(e)+this.slatCoordCache.getHeight(e)*n},e.prototype.updateSegVerticals=function(t){this.computeSegVerticals(t),this.assignSegVerticals(t)},e.prototype.computeSegVerticals=function(t){var e,n,i,o=this.opt("agendaEventMinHeight");for(e=0;e<t.length;e++)n=t[e],i=this.dayDates[n.dayIndex],n.top=this.computeDateTop(n.startMs,i),n.bottom=Math.max(n.top+o,this.computeDateTop(n.endMs,i))},e.prototype.assignSegVerticals=function(t){var e,n;for(e=0;e<t.length;e++)n=t[e],n.el.css(this.generateSegVerticalCss(n))},e.prototype.generateSegVerticalCss=function(t){return{top:t.top,bottom:-t.bottom}},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.slatCoordCache.build()},e.prototype.releaseHits=function(){this.colCoordCache.clear()},e.prototype.queryHit=function(t,e){var n=this.snapsPerSlot,i=this.colCoordCache,o=this.slatCoordCache;if(i.isLeftInBounds(t)&&o.isTopInBounds(e)){var r=i.getHorizontalIndex(t),a=o.getVerticalIndex(e);if(null!=r&&null!=a){var s=o.getTopOffset(a),l=o.getHeight(a),u=(e-s)/l,c=Math.floor(u*n),d=a*n+c,h=s+c/n*l,f=s+(c+1)/n*l;return{col:r,snap:d,component:this,left:i.getLeftOffset(r),right:i.getRightOffset(r),top:h,bottom:f}}}},e.prototype.getHitFootprint=function(t){var e,n=this.getCellDate(0,t.col),i=this.computeSnapTime(t.snap);return n.time(i),e=n.clone().add(this.snapDuration),new f.default(new h.default(n,e),!1)},e.prototype.computeSnapTime=function(t){return r.duration(this.dateProfile.minTime+this.snapDuration*t)},e.prototype.getHitEl=function(t){return this.colEls.eq(t.col)},e.prototype.renderDrag=function(t,e,n){var i;if(e){if(t.length)return this.helperRenderer.renderEventDraggingFootprints(t,e,n),!0}else for(i=0;i<t.length;i++)this.renderHighlight(t[i].componentFootprint)},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,n){this.helperRenderer.renderEventResizingFootprints(t,e,n)},e.prototype.unrenderEventResize=function(){this.helperRenderer.unrender()},e.prototype.renderSelectionFootprint=function(t){this.opt("selectHelper")?this.helperRenderer.renderComponentFootprint(t):this.renderHighlight(t)},e.prototype.unrenderSelection=function(){this.helperRenderer.unrender(),this.unrenderHighlight()},e}(s.default);e.default=y,y.prototype.eventRendererClass=p.default,y.prototype.businessHourRendererClass=l.default,y.prototype.helperRendererClass=m.default,y.prototype.fillRendererClass=g.default,u.default.mixInto(y),c.default.mixInto(y)},function(t,e,n){function i(t){var e,n,i,o=[];for(e=0;e<t.length;e++){for(n=t[e],i=0;i<o.length&&a(n,o[i]).length;i++);n.level=i,(o[i]||(o[i]=[])).push(n)}return o}function o(t){var e,n,i,o,r;for(e=0;e<t.length;e++)for(n=t[e],i=0;i<n.length;i++)for(o=n[i],o.forwardSegs=[],r=e+1;r<t.length;r++)a(o,t[r],o.forwardSegs)}function r(t){var e,n,i=t.forwardSegs,o=0;if(void 0===t.forwardPressure){for(e=0;e<i.length;e++)n=i[e],r(n),o=Math.max(o,1+n.forwardPressure);t.forwardPressure=o}}function a(t,e,n){void 0===n&&(n=[]);for(var i=0;i<e.length;i++)s(t,e[i])&&n.push(e[i]);return n}function s(t,e){return t.bottom>e.top&&t.top<e.bottom}Object.defineProperty(e,"__esModule",{value:!0});var l=n(2),u=n(4),c=n(44),d=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.timeGrid=e,i}return l.__extends(e,t),e.prototype.renderFgSegs=function(t){this.renderFgSegsIntoContainers(t,this.timeGrid.fgContainerEls)},e.prototype.renderFgSegsIntoContainers=function(t,e){var n,i;for(n=this.timeGrid.groupSegsByCol(t),i=0;i<this.timeGrid.colCnt;i++)this.updateFgSegCoords(n[i]);this.timeGrid.attachSegsByCol(n,e)},e.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(t){t.el.remove()})},e.prototype.computeEventTimeFormat=function(){return this.opt("noMeridiemTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return!0},e.prototype.fgSegHtml=function(t,e){var n,i,o,r=this.view,a=r.calendar,s=t.footprint.componentFootprint,l=s.isAllDay,c=t.footprint.eventDef,d=r.isEventDefDraggable(c),h=!e&&t.isStart&&r.isEventDefResizableFromStart(c),f=!e&&t.isEnd&&r.isEventDefResizableFromEnd(c),p=this.getSegClasses(t,d,h||f),m=u.cssToStr(this.getSkinCss(c));if(p.unshift("fc-time-grid-event","fc-v-event"),r.isMultiDayRange(s.unzonedRange)){if(t.isStart||t.isEnd){var g=a.msToMoment(t.startMs),v=a.msToMoment(t.endMs);n=this._getTimeText(g,v,l),i=this._getTimeText(g,v,l,"LT"),o=this._getTimeText(g,v,l,null,!1)}}else n=this.getTimeText(t.footprint),i=this.getTimeText(t.footprint,"LT"),o=this.getTimeText(t.footprint,null,!1);return'<a class="'+p.join(" ")+'"'+(c.url?' href="'+u.htmlEscape(c.url)+'"':"")+(m?' style="'+m+'"':"")+'><div class="fc-content">'+(n?'<div class="fc-time" data-start="'+u.htmlEscape(o)+'" data-full="'+u.htmlEscape(i)+'"><span>'+u.htmlEscape(n)+"</span></div>":"")+(c.title?'<div class="fc-title">'+u.htmlEscape(c.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(f?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e.prototype.updateFgSegCoords=function(t){this.timeGrid.computeSegVerticals(t),this.computeFgSegHorizontals(t),this.timeGrid.assignSegVerticals(t),this.assignFgSegHorizontals(t)},e.prototype.computeFgSegHorizontals=function(t){var e,n,a;if(this.sortEventSegs(t),e=i(t),o(e),n=e[0]){for(a=0;a<n.length;a++)r(n[a]);for(a=0;a<n.length;a++)this.computeFgSegForwardBack(n[a],0,0)}},e.prototype.computeFgSegForwardBack=function(t,e,n){var i,o=t.forwardSegs;if(void 0===t.forwardCoord)for(o.length?(this.sortForwardSegs(o),this.computeFgSegForwardBack(o[0],e+1,n),t.forwardCoord=o[0].backwardCoord):t.forwardCoord=1,t.backwardCoord=t.forwardCoord-(t.forwardCoord-n)/(e+1),i=0;i<o.length;i++)this.computeFgSegForwardBack(o[i],0,t.forwardCoord)},e.prototype.sortForwardSegs=function(t){t.sort(u.proxy(this,"compareForwardSegs"))},e.prototype.compareForwardSegs=function(t,e){return e.forwardPressure-t.forwardPressure||(t.backwardCoord||0)-(e.backwardCoord||0)||this.compareEventSegs(t,e)},e.prototype.assignFgSegHorizontals=function(t){var e,n;for(e=0;e<t.length;e++)n=t[e],n.el.css(this.generateFgSegHorizontalCss(n)),n.footprint.eventDef.title&&n.bottom-n.top<30&&n.el.addClass("fc-short")},e.prototype.generateFgSegHorizontalCss=function(t){var e,n,i=this.opt("slotEventOverlap"),o=t.backwardCoord,r=t.forwardCoord,a=this.timeGrid.generateSegVerticalCss(t),s=this.timeGrid.isRTL;return i&&(r=Math.min(1,o+2*(r-o))),s?(e=1-r,n=o):(e=o,n=1-r),a.zIndex=t.level+1,a.left=100*e+"%",a.right=100*n+"%",i&&t.forwardPressure&&(a[s?"marginLeft":"marginRight"]=20),a},e}(c.default);e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(63),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.renderSegs=function(t,e){var n,i,r,a=[];for(this.eventRenderer.renderFgSegsIntoContainers(t,this.component.helperContainerEls),n=0;n<t.length;n++)i=t[n],e&&e.col===i.col&&(r=e.el,i.el.css({left:r.css("left"),right:r.css("right"),"margin-left":r.css("margin-left"),"margin-right":r.css("margin-right")})),a.push(i.el[0]);return o(a)},e}(r.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(62),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.attachSegEls=function(t,e){var n,i=this.component;return"bgEvent"===t?n=i.bgContainerEls:"businessHours"===t?n=i.businessContainerEls:"highlight"===t&&(n=i.highlightContainerEls),i.updateSegVerticals(e),i.attachSegsByCol(i.groupSegsByCol(e),n),e.map(function(t){return t.el[0]})},e}(o.default);e.default=r},function(t,e,n){function i(t,e){var n,i;for(n=0;n<e.length;n++)if(i=e[n],i.leftCol<=t.rightCol&&i.rightCol>=t.leftCol)return!0;return!1}function o(t,e){return t.leftCol-e.leftCol}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),a=n(3),s=n(4),l=n(44),u=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.dayGrid=e,i}return r.__extends(e,t),e.prototype.renderBgRanges=function(e){e=a.grep(e,function(t){return t.eventDef.isAllDay()}),t.prototype.renderBgRanges.call(this,e)},e.prototype.renderFgSegs=function(t){var e=this.rowStructs=this.renderSegRows(t);this.dayGrid.rowEls.each(function(t,n){a(n).find(".fc-content-skeleton > table").append(e[t].tbodyEl)})},e.prototype.unrenderFgSegs=function(){for(var t,e=this.rowStructs||[];t=e.pop();)t.tbodyEl.remove();this.rowStructs=null},e.prototype.renderSegRows=function(t){var e,n,i=[];for(e=this.groupSegRows(t),n=0;n<e.length;n++)i.push(this.renderSegRow(n,e[n]));return i},e.prototype.renderSegRow=function(t,e){function n(t){for(;r<t;)c=(v[i-1]||[])[r],c?c.attr("rowspan",parseInt(c.attr("rowspan")||1,10)+1):(c=a("<td/>"),s.append(c)),g[i][r]=c,v[i][r]=c,r++}var i,o,r,s,l,u,c,d=this.dayGrid.colCnt,h=this.buildSegLevels(e),f=Math.max(1,h.length),p=a("<tbody/>"),m=[],g=[],v=[];for(i=0;i<f;i++){if(o=h[i],r=0,s=a("<tr/>"),m.push([]),g.push([]),v.push([]),o)for(l=0;l<o.length;l++){for(u=o[l],n(u.leftCol),c=a('<td class="fc-event-container"/>').append(u.el),u.leftCol!==u.rightCol?c.attr("colspan",u.rightCol-u.leftCol+1):v[i][r]=c;r<=u.rightCol;)g[i][r]=c,m[i][r]=u,r++;s.append(c)}n(d),this.dayGrid.bookendCells(s),p.append(s)}return{row:t,tbodyEl:p,cellMatrix:g,segMatrix:m,segLevels:h,segs:e}},e.prototype.buildSegLevels=function(t){var e,n,r,a=[];for(this.sortEventSegs(t),e=0;e<t.length;e++){for(n=t[e],r=0;r<a.length&&i(n,a[r]);r++);n.level=r,(a[r]||(a[r]=[])).push(n)}for(r=0;r<a.length;r++)a[r].sort(o);return a},e.prototype.groupSegRows=function(t){var e,n=[];for(e=0;e<this.dayGrid.rowCnt;e++)n.push([]);for(e=0;e<t.length;e++)n[t[e].row].push(t[e]);return n},e.prototype.computeEventTimeFormat=function(){return this.opt("extraSmallTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},e.prototype.fgSegHtml=function(t,e){var n,i,o=this.view,r=t.footprint.eventDef,a=t.footprint.componentFootprint.isAllDay,l=o.isEventDefDraggable(r),u=!e&&a&&t.isStart&&o.isEventDefResizableFromStart(r),c=!e&&a&&t.isEnd&&o.isEventDefResizableFromEnd(r),d=this.getSegClasses(t,l,u||c),h=s.cssToStr(this.getSkinCss(r)),f="";return d.unshift("fc-day-grid-event","fc-h-event"),t.isStart&&(n=this.getTimeText(t.footprint))&&(f='<span class="fc-time">'+s.htmlEscape(n)+"</span>"),i='<span class="fc-title">'+(s.htmlEscape(r.title||"")||"&nbsp;")+"</span>",'<a class="'+d.join(" ")+'"'+(r.url?' href="'+s.htmlEscape(r.url)+'"':"")+(h?' style="'+h+'"':"")+'><div class="fc-content">'+(this.dayGrid.isRTL?i+" "+f:f+" "+i)+"</div>"+(u?'<div class="fc-resizer fc-start-resizer" />':"")+(c?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e}(l.default);e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(63),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.renderSegs=function(t,e){var n,i=[];return n=this.eventRenderer.renderSegRows(t),this.component.rowEls.each(function(t,r){var a,s,l=o(r),u=o('<div class="fc-helper-skeleton"><table/></div>');e&&e.row===t?s=e.el.position().top:(a=l.find(".fc-content-skeleton tbody"),a.length||(a=l.find(".fc-content-skeleton table")),s=a.position().top),u.css("top",s).find("table").append(n[t].tbodyEl),l.append(u),i.push(u[0])}),o(i)},e}(r.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(62),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fillSegTag="td",e}return i.__extends(e,t),e.prototype.attachSegEls=function(t,e){var n,i,o,r=[];for(n=0;n<e.length;n++)i=e[n],o=this.renderFillRow(t,i),this.component.rowEls.eq(i.row).append(o),r.push(o[0]);return r},e.prototype.renderFillRow=function(t,e){var n,i,r,a=this.component.colCnt,s=e.leftCol,l=e.rightCol+1;return n="businessHours"===t?"bgevent":t.toLowerCase(),i=o('<div class="fc-'+n+'-skeleton"><table><tr/></table></div>'),r=i.find("tr"),s>0&&r.append(new Array(s+1).join("<td/>")),r.append(e.el.attr("colspan",l-s)),l<a&&r.append(new Array(a-l+1).join("<td/>")),this.component.bookendCells(r),i},e}(r.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(0),r=n(4),a=n(67),s=n(247),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.setGridHeight=function(t,e){e&&(t*=this.dayGrid.rowCnt/6),r.distributeHeight(this.dayGrid.rowEls,t,!e)},e.prototype.isDateInOtherMonth=function(t,e){return t.month()!==o.utc(e.currentUnzonedRange.startMs).month()},e}(a.default);e.default=l,l.prototype.dateProfileGeneratorClass=s.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(68),r=n(5),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.buildRenderRange=function(e,n,i){var o,a=t.prototype.buildRenderRange.call(this,e,n,i),s=this.msToUtcMoment(a.startMs,i),l=this.msToUtcMoment(a.endMs,i);return this.opt("fixedWeekCount")&&(o=Math.ceil(l.diff(s,"weeks",!0)),l.add(6-o,"weeks")),new r.default(s,l)},e}(o.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(5),s=n(43),l=n(41),u=n(249),c=n(250),d=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.segSelector=".fc-list-item",i.scroller=new l.default({overflowX:"hidden",overflowY:"auto"}),i}return i.__extends(e,t),e.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView")),this.scroller.render(),this.scroller.el.appendTo(this.el),this.contentEl=this.scroller.scrollEl},e.prototype.unrenderSkeleton=function(){this.scroller.destroy()},e.prototype.updateSize=function(e,n,i){t.prototype.updateSize.call(this,e,n,i),this.scroller.clear(),n||this.scroller.setHeight(this.computeScrollerHeight(e))},e.prototype.computeScrollerHeight=function(t){return t-r.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.renderDates=function(t){for(var e=this.calendar,n=e.msToUtcMoment(t.renderUnzonedRange.startMs,!0),i=e.msToUtcMoment(t.renderUnzonedRange.endMs,!0),o=[],r=[];n<i;)o.push(n.clone()),r.push(new a.default(n,n.clone().add(1,"day"))),n.add(1,"day");this.dayDates=o,this.dayRanges=r},e.prototype.componentFootprintToSegs=function(t){var e,n,i,o=this.dayRanges,r=[];for(e=0;e<o.length;e++)if((n=t.unzonedRange.intersect(o[e]))&&(i={startMs:n.startMs,endMs:n.endMs,isStart:n.isStart,isEnd:n.isEnd,dayIndex:e},r.push(i),!i.isEnd&&!t.isAllDay&&e+1<o.length&&t.unzonedRange.endMs<o[e+1].startMs+this.nextDayThreshold)){i.endMs=t.unzonedRange.endMs,i.isEnd=!0;break}return r},e.prototype.renderEmptyMessage=function(){this.contentEl.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+r.htmlEscape(this.opt("noEventsMessage"))+"</div></div></div>")},e.prototype.renderSegList=function(t){var e,n,i,r=this.groupSegsByDay(t),a=o('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody/></table>'),s=a.find("tbody");for(e=0;e<r.length;e++)if(n=r[e])for(s.append(this.dayHeaderHtml(this.dayDates[e])),this.eventRenderer.sortEventSegs(n),i=0;i<n.length;i++)s.append(n[i].el);this.contentEl.empty().append(a)},e.prototype.groupSegsByDay=function(t){var e,n,i=[];for(e=0;e<t.length;e++)n=t[e],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i},e.prototype.dayHeaderHtml=function(t){var e=this.opt("listDayFormat"),n=this.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+t.format("YYYY-MM-DD")+'"><td class="'+(this.calendar.theme.getClass("tableListHeading")||this.calendar.theme.getClass("widgetHeader"))+'" colspan="3">'+(e?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-main"},r.htmlEscape(t.format(e))):"")+(n?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-alt"},r.htmlEscape(t.format(n))):"")+"</td></tr>"},e}(s.default);e.default=d,d.prototype.eventRendererClass=u.default,d.prototype.eventPointingClass=c.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=n(44),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.renderFgSegs=function(t){t.length?this.component.renderSegList(t):this.component.renderEmptyMessage()},e.prototype.fgSegHtml=function(t){var e,n=this.view,i=n.calendar,r=i.theme,a=t.footprint,s=a.eventDef,l=a.componentFootprint,u=s.url,c=["fc-list-item"].concat(this.getClasses(s)),d=this.getBgColor(s);return e=l.isAllDay?n.getAllDayHtml():n.isMultiDayRange(l.unzonedRange)?t.isStart||t.isEnd?o.htmlEscape(this._getTimeText(i.msToMoment(t.startMs),i.msToMoment(t.endMs),l.isAllDay)):n.getAllDayHtml():o.htmlEscape(this.getTimeText(a)),u&&c.push("fc-has-url"),'<tr class="'+c.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+r.getClass("widgetContent")+'">'+(e||"")+"</td>":"")+'<td class="fc-list-item-marker '+r.getClass("widgetContent")+'"><span class="fc-event-dot"'+(d?' style="background-color:'+d+'"':"")+'></span></td><td class="fc-list-item-title '+r.getClass("widgetContent")+'"><a'+(u?' href="'+o.htmlEscape(u)+'"':"")+">"+o.htmlEscape(s.title||"")+"</a></td></tr>"},e.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},e}(r.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(64),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.handleClick=function(e,n){var i;t.prototype.handleClick.call(this,e,n),o(n.target).closest("a[href]").length||(i=e.footprint.eventDef.url)&&!n.isDefaultPrevented()&&(window.location.href=i)},e}(r.default);e.default=a},,,,,,function(t,e,n){var i=n(3),o=n(18),r=n(4),a=n(232);n(11),n(49),n(260),n(261),n(264),n(265),n(266),n(267),i.fullCalendar=o,i.fn.fullCalendar=function(t){var e=Array.prototype.slice.call(arguments,1),n=this;return this.each(function(o,s){var l,u=i(s),c=u.data("fullCalendar");"string"==typeof t?"getCalendar"===t?o||(n=c):"destroy"===t?c&&(c.destroy(),u.removeData("fullCalendar")):c?i.isFunction(c[t])?(l=c[t].apply(c,e),o||(n=l),"destroy"===t&&u.removeData("fullCalendar")):r.warn("'"+t+"' is an unknown FullCalendar method."):r.warn("Attempting to call a FullCalendar method on an element with no calendar."):c||(c=new a.default(u,t),u.data("fullCalendar",c),c.render())}),n},t.exports=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=function(){function t(t,e){this.el=null,this.viewsWithButtons=[],this.calendar=t,this.toolbarOptions=e}return t.prototype.setToolbarOptions=function(t){this.toolbarOptions=t},t.prototype.render=function(){var t=this.toolbarOptions.layout,e=this.el;t?(e?e.empty():e=this.el=i("<div class='fc-toolbar "+this.toolbarOptions.extraClasses+"'/>"),e.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('<div class="fc-clear"/>')):this.removeElement()},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.renderSection=function(t){var e=this,n=this.calendar,r=n.theme,a=n.optionsManager,s=n.viewSpecManager,l=i('<div class="fc-'+t+'"/>'),u=this.toolbarOptions.layout[t],c=a.get("customButtons")||{},d=a.overrides.buttonText||{},h=a.get("buttonText")||{};return u&&i.each(u.split(" "),function(t,a){var u,f=i(),p=!0;i.each(a.split(","),function(t,a){var l,u,m,g,v,y,b,w,x;"title"===a?(f=f.add(i("<h2>&nbsp;</h2>")),p=!1):((l=c[a])?(m=function(t){l.click&&l.click.call(w[0],t)},(g=r.getCustomButtonIconClass(l))||(g=r.getIconClass(a))||(v=l.text)):(u=s.getViewSpec(a))?(e.viewsWithButtons.push(a),m=function(){n.changeView(a)},(v=u.buttonTextOverride)||(g=r.getIconClass(a))||(v=u.buttonTextDefault)):n[a]&&(m=function(){n[a]()},(v=d[a])||(g=r.getIconClass(a))||(v=h[a])),m&&(b=["fc-"+a+"-button",r.getClass("button"),r.getClass("stateDefault")],v?(y=o.htmlEscape(v),x=""):g&&(y="<span class='"+g+"'></span>",x=' aria-label="'+a+'"'),w=i('<button type="button" class="'+b.join(" ")+'"'+x+">"+y+"</button>").click(function(t){w.hasClass(r.getClass("stateDisabled"))||(m(t),(w.hasClass(r.getClass("stateActive"))||w.hasClass(r.getClass("stateDisabled")))&&w.removeClass(r.getClass("stateHover")))}).mousedown(function(){w.not("."+r.getClass("stateActive")).not("."+r.getClass("stateDisabled")).addClass(r.getClass("stateDown"))}).mouseup(function(){w.removeClass(r.getClass("stateDown"))}).hover(function(){w.not("."+r.getClass("stateActive")).not("."+r.getClass("stateDisabled")).addClass(r.getClass("stateHover"))},function(){w.removeClass(r.getClass("stateHover")).removeClass(r.getClass("stateDown"))}),f=f.add(w)))}),p&&f.first().addClass(r.getClass("cornerLeft")).end().last().addClass(r.getClass("cornerRight")).end(),f.length>1?(u=i("<div/>"),p&&u.addClass(r.getClass("buttonGroup")),u.append(f),l.append(u)):l.append(f)}),l},t.prototype.updateTitle=function(t){this.el&&this.el.find("h2").text(t)},t.prototype.activateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").addClass(this.calendar.theme.getClass("stateActive"))},t.prototype.deactivateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},t.prototype.disableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.enableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(33),s=n(32),l=n(51),u=function(t){function e(e,n){var i=t.call(this)||this;return i._calendar=e,i.overrides=o.extend({},n),i.dynamicOverrides={},i.compute(),i}return i.__extends(e,t),e.prototype.add=function(t){var e,n=0;this.recordOverrides(t);for(e in t)n++;if(1===n){if("height"===e||"contentHeight"===e||"aspectRatio"===e)return void this._calendar.updateViewSize(!0);if("defaultDate"===e)return;if("businessHours"===e)return;if(/^(event|select)(Overlap|Constraint|Allow)$/.test(e))return;if("timezone"===e)return void this._calendar.view.flash("initialEvents")}this._calendar.renderHeader(),this._calendar.renderFooter(),this._calendar.viewsByType={},this._calendar.reinitView()},e.prototype.compute=function(){var t,e,n,i,o;t=r.firstDefined(this.dynamicOverrides.locale,this.overrides.locale),e=s.localeOptionHash[t],e||(t=a.globalDefaults.locale,e=s.localeOptionHash[t]||{}),n=r.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,e.isRTL,a.globalDefaults.isRTL),i=n?a.rtlDefaults:{},this.dirDefaults=i,this.localeDefaults=e,o=a.mergeOptions([a.globalDefaults,i,e,this.overrides,this.dynamicOverrides]),s.populateInstanceComputableOptions(o),this.reset(o)},e.prototype.recordOverrides=function(t){var e;for(e in t)this.dynamicOverrides[e]=t[e];this._calendar.viewSpecManager.clearCache(),this.compute()},e}(l.default);e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(3),r=n(24),a=n(4),s=n(33),l=n(32),u=function(){function t(t,e){this.optionsManager=t,this._calendar=e,this.clearCache()}return t.prototype.clearCache=function(){this.viewSpecCache={}},t.prototype.getViewSpec=function(t){var e=this.viewSpecCache;return e[t]||(e[t]=this.buildViewSpec(t))},t.prototype.getUnitViewSpec=function(t){var e,n,i;if(-1!==o.inArray(t,a.unitsDesc))for(e=this._calendar.header.getViewsWithButtons(),o.each(r.viewHash,function(t){e.push(t)}),n=0;n<e.length;n++)if((i=this.getViewSpec(e[n]))&&i.singleUnit===t)return i},t.prototype.buildViewSpec=function(t){for(var e,n,o,l,u,c=this.optionsManager.overrides.views||{},d=[],h=[],f=[],p=t;p;)e=r.viewHash[p],n=c[p],p=null,"function"==typeof e&&(e={class:e}),e&&(d.unshift(e),h.unshift(e.defaults||{}),o=o||e.duration,p=p||e.type),n&&(f.unshift(n),o=o||n.duration,p=p||n.type);return e=a.mergeProps(d),e.type=t,!!e.class&&(o=o||this.optionsManager.dynamicOverrides.duration||this.optionsManager.overrides.duration,o&&(l=i.duration(o),l.valueOf()&&(u=a.computeDurationGreatestUnit(l,o),e.duration=l,e.durationUnit=u,1===l.as(u)&&(e.singleUnit=u,f.unshift(c[u]||{})))),e.defaults=s.mergeOptions(h),e.overrides=s.mergeOptions(f),this.buildViewSpecOptions(e),this.buildViewSpecButtonText(e,t),e)},t.prototype.buildViewSpecOptions=function(t){var e=this.optionsManager;t.options=s.mergeOptions([s.globalDefaults,t.defaults,e.dirDefaults,e.localeDefaults,e.overrides,t.overrides,e.dynamicOverrides]),l.populateInstanceComputableOptions(t.options)},t.prototype.buildViewSpecButtonText=function(t,e){function n(n){var i=n.buttonText||{};return i[e]||(t.buttonTextKey?i[t.buttonTextKey]:null)||(t.singleUnit?i[t.singleUnit]:null)}var i=this.optionsManager;t.buttonTextOverride=n(i.dynamicOverrides)||n(i.overrides)||t.overrides.buttonText,t.buttonTextDefault=n(i.localeDefaults)||n(i.dirDefaults)||t.defaults.buttonText||n(s.globalDefaults)||(t.duration?this._calendar.humanizeDuration(t.duration):null)||e},t}();e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(38),o=n(56),r=n(223),a=n(224);i.default.registerClass(o.default),i.default.registerClass(r.default),i.default.registerClass(a.default)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(57),o=n(221),r=n(222),a=n(262),s=n(263);i.defineThemeSystem("standard",o.default),i.defineThemeSystem("jquery-ui",r.default),i.defineThemeSystem("bootstrap3",a.default),i.defineThemeSystem("bootstrap4",s.default)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(22),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o.default);e.default=r,r.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table",tableListHeading:"active",buttonGroup:"btn-group",button:"btn btn-default",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"panel panel-default",popoverHeader:"panel-heading",popoverContent:"panel-body",headerRow:"panel-default",dayRow:"panel-default",listView:"panel panel-default"},r.prototype.baseIconClass="glyphicon",r.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"},r.prototype.iconOverrideOption="bootstrapGlyphicons",r.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon",r.prototype.iconOverridePrefix="glyphicon-"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(22),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o.default);e.default=r,r.prototype.classes={widget:"fc-bootstrap4",tableGrid:"table-bordered",tableList:"table",tableListHeading:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"card card-primary",popoverHeader:"card-header",popoverContent:"card-body",headerRow:"table-bordered",dayRow:"table-bordered",listView:"card card-primary"},r.prototype.baseIconClass="fa",r.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},r.prototype.iconOverrideOption="bootstrapFontAwesome",r.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",r.prototype.iconOverridePrefix="fa-"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(24),o=n(67),r=n(246);i.defineView("basic",{class:o.default}),i.defineView("basicDay",{type:"basic",duration:{days:1}}),i.defineView("basicWeek",{type:"basic",duration:{weeks:1}}),i.defineView("month",{class:r.default,duration:{months:1},defaults:{fixedWeekCount:!0}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(24),o=n(238);i.defineView("agenda",{class:o.default,defaults:{allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}}),i.defineView("agendaDay",{type:"agenda",duration:{days:1}}),i.defineView("agendaWeek",{type:"agenda",duration:{weeks:1}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(24),o=n(248);i.defineView("list",{class:o.default,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}}),i.defineView("listDay",{type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}}),i.defineView("listWeek",{type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}}),i.defineView("listMonth",{type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}}),i.defineView("listYear",{type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0})}])})},qqAM:function(t,e,n){var i,o,r;/*!
* jQuery UI Autocomplete 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(a){o=[n("7t+N"),n("EerN"),n("WLoA"),n("Up1f"),n("Nnp9"),n("UZ9c"),n("z1kw")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){return t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,n,i,o=this.element[0].nodeName.toLowerCase(),r="textarea"===o,a="input"===o;this.isMultiLine=r||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[r||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,i=!0,void(n=!0);e=!1,i=!1,n=!1;var r=t.ui.keyCode;switch(o.keyCode){case r.PAGE_UP:e=!0,this._move("previousPage",o);break;case r.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case r.UP:e=!0,this._keyEvent("previous",o);break;case r.DOWN:e=!0,this._keyEvent("next",o);break;case r.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case r.TAB:this.menu.active&&this.menu.select(o);break;case r.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(i){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||i.preventDefault());if(!n){var o=t.ui.keyCode;switch(i.keyCode){case o.PAGE_UP:this._move("previousPage",i);break;case o.PAGE_DOWN:this._move("nextPage",i);break;case o.UP:this._keyEvent("previous",i);break;case o.DOWN:this._keyEvent("next",i)}}},input:function(t){if(i)return i=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){if(this.cancelBlur)return void delete this.cancelBlur;clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,n){var i,o;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),(i=n.item.attr("aria-label")||o.value)&&t.trim(i).length&&(this.liveRegion.children().hide(),t("<div>").text(i).appendTo(this.liveRegion))},menuselect:function(e,n){var i=n.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay(function(){this.previous=o,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var n=this.menu.element[0];return e.target===this.element[0]||e.target===n||t.contains(n,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,n,i=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,i){i(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,o){i.xhr&&i.xhr.abort(),i.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),i=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||i)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),--this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var n=this.menu.element.empty();this._renderMenu(n,e),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,n){var i=this;t.each(n,function(t,n){i._renderItemData(e,n)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,n){return t("<li>").append(t("<div>").text(n.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){var i=new RegExp(t.ui.autocomplete.escapeRegex(n),"i");return t.grep(e,function(t){return i.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(n).appendTo(this.liveRegion))}}),t.ui.autocomplete})},sZyP:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("lbHh"),s=n.n(a),l=n("7t+N"),u=n.n(l),c=n("4klR"),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),h=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.dataAttribute=t,n}return r(e,t),d(e,[{key:"getId",value:function(){return"datatable-column-visibility"}},{key:"init",value:function(){var t=document.querySelector("["+this.dataAttribute+"]");null!==t&&(this.id=t.getAttribute(this.dataAttribute),this.modal=document.getElementById("modal_"+this.id),this.bindButtons())}},{key:"bindButtons",value:function(){var t=this;this.modal.querySelector("button[data-type=save]").addEventListener("click",function(){t.saveVisibility()}),this.modal.querySelector("button[data-type=reset]").addEventListener("click",function(){t.resetVisibility()});var e=!0,n=!1,i=void 0;try{for(var o,r=this.modal.querySelectorAll("form input[type=checkbox]")[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value;!function(e){e.addEventListener("click",function(){t.changeVisibility(e.getAttribute("name"))})}(a)}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}}},{key:"saveVisibility",value:function(){var t=this.modal.getElementsByTagName("form")[0],e={},n=!0,i=!1,o=void 0;try{for(var r,a=t.querySelectorAll("input[type=checkbox]")[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var l=r.value;e[l.getAttribute("name")]=l.checked}}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}s.a.set(t.getAttribute("name"),JSON.stringify(e),{expires:365}),u()(this.modal).modal("toggle")}},{key:"resetVisibility",value:function(){var t=this.modal.getElementsByTagName("form")[0];s.a.remove(t.getAttribute("name"));var e=!0,n=!1,i=void 0;try{for(var o,r=t.querySelectorAll("input[type=checkbox]")[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value;a.checked||a.click()}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}u()(this.modal).modal("toggle")}},{key:"changeVisibility",value:function(t){var e=document.getElementById("datatable_"+this.id).getElementsByClassName("dataTable")[0],n=0,i=!1,o=!0,r=!1,a=void 0;try{for(var s,l=e.getElementsByTagName("th")[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){if(s.value.getAttribute("data-field")===t){i=!0;break}n++}}catch(t){r=!0,a=t}finally{try{!o&&l.return&&l.return()}finally{if(r)throw a}}if(i){var u=!0,c=!1,d=void 0;try{for(var h,f=e.getElementsByTagName("tr")[Symbol.iterator]();!(u=(h=f.next()).done);u=!0){h.value.children[n].classList.toggle("hidden")}}catch(t){c=!0,d=t}finally{try{!u&&f.return&&f.return()}finally{if(c)throw d}}}}}]),e}(c.a);e.a=h},tNVI:function(t,e,n){var i,o;/*!
* Bootstrap-select v1.13.10 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2019 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(r,a){void 0===r&&void 0!==window&&(r=window),i=[n("7t+N")],void 0!==(o=function(t){return a(t)}.apply(e,i))&&(t.exports=o)}(this,function(t){!function(t){"use strict";function e(e,n){var i=e.nodeName.toLowerCase();if(-1!==t.inArray(i,n))return-1===t.inArray(i,h)||Boolean(e.nodeValue.match(m)||e.nodeValue.match(g));for(var o=t(n).filter(function(t,e){return e instanceof RegExp}),r=0,a=o.length;r<a;r++)if(i.match(o[r]))return!0;return!1}function n(t,n,i){if(i&&"function"==typeof i)return i(t);for(var o=Object.keys(n),r=0,a=t.length;r<a;r++)for(var s=t[r].querySelectorAll("*"),l=0,u=s.length;l<u;l++){var c=s[l],d=c.nodeName.toLowerCase();if(-1!==o.indexOf(d))for(var h=[].slice.call(c.attributes),f=[].concat(n["*"]||[],n[d]||[]),p=0,m=h.length;p<m;p++){var g=h[p];e(g,f)||c.removeAttribute(g.nodeName)}else c.parentNode.removeChild(c)}}function i(t,e){return t.length===e.length&&t.every(function(t,n){return t===e[n]})}function o(t,e){var n,i=t.selectedOptions,o=[];if(e){for(var r=0,a=i.length;r<a;r++)n=i[r],n.disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||o.push(n);return o}return i}function r(t,e){for(var n,i=[],o=e||t.selectedOptions,r=0,a=o.length;r<a;r++)n=o[r],n.disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||i.push(n.value||n.text);return t.multiple?i:i.length?i[0]:null}function a(t,e,n,i){for(var o=["display","subtext","tokens"],r=!1,a=0;a<o.length;a++){var s=o[a],l=t[s];if(l&&(l=l.toString(),"display"===s&&(l=l.replace(/<[^>]+>/g,"")),i&&(l=u(l)),l=l.toUpperCase(),r="contains"===n?l.indexOf(e)>=0:l.startsWith(e)))break}return r}function s(t){return parseInt(t,10)||0}function l(t){return k[t]}function u(t){return(t=t.toString())&&t.replace(S,l).replace(C,"")}function c(e){var n=arguments,i=e;if([].shift.apply(n),!I.success){try{I.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(t){j.BootstrapVersion?I.full=j.BootstrapVersion.split(" ")[0].split("."):(I.full=[I.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",t))}I.major=I.full[0],I.success=!0}if("4"===I.major){var o=[];j.DEFAULTS.style===R.BUTTONCLASS&&o.push({name:"style",className:"BUTTONCLASS"}),j.DEFAULTS.iconBase===R.ICONBASE&&o.push({name:"iconBase",className:"ICONBASE"}),j.DEFAULTS.tickIcon===R.TICKICON&&o.push({name:"tickIcon",className:"TICKICON"}),R.DIVIDER="dropdown-divider",R.SHOW="show",R.BUTTONCLASS="btn-light",R.POPOVERHEADER="popover-header",R.ICONBASE="",R.TICKICON="bs-ok-default";for(var r=0;r<o.length;r++){var e=o[r];j.DEFAULTS[e.name]=R[e.className]}}var a,s=this.each(function(){var e=t(this);if(e.is("select")){var o=e.data("selectpicker"),r="object"==typeof i&&i;if(o){if(r)for(var s in r)r.hasOwnProperty(s)&&(o.options[s]=r[s])}else{var l=e.data();for(var u in l)l.hasOwnProperty(u)&&-1!==t.inArray(u,d)&&delete l[u];var c=t.extend({},j.DEFAULTS,t.fn.selectpicker.defaults||{},l,r);c.template=t.extend({},j.DEFAULTS.template,t.fn.selectpicker.defaults?t.fn.selectpicker.defaults.template:{},l.template,r.template),e.data("selectpicker",o=new j(this,c))}"string"==typeof i&&(a=o[i]instanceof Function?o[i].apply(o,n):o.options[i])}});return void 0!==a?a:s}var d=["sanitize","whiteList","sanitizeFn"],h=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],f=/^aria-[\w-]*$/i,p={"*":["class","dir","id","lang","role","tabindex","style",f],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},m=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,g=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;"classList"in document.createElement("_")||function(e){if("Element"in e){var n=e.Element.prototype,i=Object,o=function(){var e=t(this);return{add:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.addClass(t)},remove:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.removeClass(t)},toggle:function(t,n){return e.toggleClass(t,n)},contains:function(t){return e.hasClass(t)}}};if(i.defineProperty){var r={get:o,enumerable:!0,configurable:!0};try{i.defineProperty(n,"classList",r)}catch(t){void 0!==t.number&&-2146823252!==t.number||(r.enumerable=!1,i.defineProperty(n,"classList",r))}}else i.prototype.__defineGetter__&&n.__defineGetter__("classList",o)}}(window);var v=document.createElement("_");if(v.classList.add("c1","c2"),!v.classList.contains("c2")){var y=DOMTokenList.prototype.add,b=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,y.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,b.bind(this))}}if(v.classList.toggle("c3",!1),v.classList.contains("c3")){var w=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:w.call(this,t)}}v=null,String.prototype.startsWith||function(){var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),e={}.toString,n=function(t){if(null==this)throw new TypeError;var n=String(this);if(t&&"[object RegExp]"==e.call(t))throw new TypeError;var i=n.length,o=String(t),r=o.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var l=Math.min(Math.max(s,0),i);if(r+l>i)return!1;for(var u=-1;++u<r;)if(n.charCodeAt(l+u)!=o.charCodeAt(u))return!1;return!0};t?t(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),Object.keys||(Object.keys=function(t,e,n){n=[];for(e in t)n.hasOwnProperty.call(t,e)&&n.push(e);return n}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var x={useDefault:!1,_set:t.valHooks.select.set};t.valHooks.select.set=function(e,n){return n&&!x.useDefault&&t(e).data("selected",!0),x._set.apply(this,arguments)};var _=null,D=function(){try{return new Event("change"),!0}catch(t){return!1}}();t.fn.triggerNative=function(t){var e,n=this[0];n.dispatchEvent?(D?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event"),e.initEvent(t,!0,!1)),n.dispatchEvent(e)):n.fireEvent?(e=document.createEventObject(),e.eventType=t,n.fireEvent("on"+t,e)):this.trigger(t)};var k={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},S=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,C=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g"),M={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=function(t){var e=function(e){return t[e]},n="(?:"+Object.keys(t).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(o,e):t}}(M),E={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},P={ESCAPE:27,ENTER:13,SPACE:32,TAB:9,ARROW_UP:38,ARROW_DOWN:40},I={success:!1,major:"3"};try{I.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),I.major=I.full[0],I.success=!0}catch(t){}var O=0,L=".bs.select",R={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},A={MENU:"."+R.MENU},H={span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};H.a.setAttribute("role","option"),H.subtext.className="text-muted",H.text=H.span.cloneNode(!1),H.text.className="text",H.checkMark=H.span.cloneNode(!1);var N=new RegExp(P.ARROW_UP+"|"+P.ARROW_DOWN),F=new RegExp("^"+P.TAB+"$|"+P.ESCAPE),Y={li:function(t,e,n){var i=H.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?i.appendChild(t):i.innerHTML=t),void 0!==e&&""!==e&&(i.className=e),void 0!==n&&null!==n&&i.classList.add("optgroup-"+n),i},a:function(t,e,n){var i=H.a.cloneNode(!0);return t&&(11===t.nodeType?i.appendChild(t):i.insertAdjacentHTML("beforeend",t)),void 0!==e&&""!==e&&(i.className=e),"4"===I.major&&i.classList.add("dropdown-item"),n&&i.setAttribute("style",n),i},text:function(t,e){var n,i,o=H.text.cloneNode(!1);if(t.content)o.innerHTML=t.content;else{if(o.textContent=t.text,t.icon){var r=H.whitespace.cloneNode(!1);i=(!0===e?H.i:H.span).cloneNode(!1),i.className=t.iconBase+" "+t.icon,H.fragment.appendChild(i),H.fragment.appendChild(r)}t.subtext&&(n=H.subtext.cloneNode(!1),n.textContent=t.subtext,o.appendChild(n))}if(!0===e)for(;o.childNodes.length>0;)H.fragment.appendChild(o.childNodes[0]);else H.fragment.appendChild(o);return H.fragment},label:function(t){var e,n,i=H.text.cloneNode(!1);if(i.innerHTML=t.label,t.icon){var o=H.whitespace.cloneNode(!1);n=H.span.cloneNode(!1),n.className=t.iconBase+" "+t.icon,H.fragment.appendChild(n),H.fragment.appendChild(o)}return t.subtext&&(e=H.subtext.cloneNode(!1),e.textContent=t.subtext,i.appendChild(e)),H.fragment.appendChild(i),H.fragment}},j=function(e,n){var i=this;x.useDefault||(t.valHooks.select.set=x._set,x.useDefault=!0),this.$element=t(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=n,this.selectpicker={main:{},search:{},current:{},view:{},keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){i.selectpicker.keydown.keyHistory=""},800)}}}},null===this.options.title&&(this.options.title=this.$element.attr("title"));var o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),this.val=j.prototype.val,this.render=j.prototype.render,this.refresh=j.prototype.refresh,this.setStyle=j.prototype.setStyle,this.selectAll=j.prototype.selectAll,this.deselectAll=j.prototype.deselectAll,this.destroy=j.prototype.destroy,this.remove=j.prototype.remove,this.show=j.prototype.show,this.hide=j.prototype.hide,this.init()};j.VERSION="1.13.10",j.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:R.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:R.ICONBASE,tickIcon:R.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:p},j.prototype={constructor:j,init:function(){var t=this,e=this.$element.attr("id");O++,this.selectId="bs-select-"+O,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(A.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(R.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide.bs.select",function(){if(t.isVirtual()){var e=t.$menuInner[0],n=e.firstChild.cloneNode(!1);e.replaceChild(n,e.firstChild),e.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$element.trigger("hide.bs.select",e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden.bs.select",e)},"show.bs.dropdown":function(e){t.$element.trigger("show.bs.select",e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown.bs.select",e)}}),t.$element[0].hasAttribute("required")&&this.$element.on("invalid.bs.select",function(){t.$button[0].classList.add("bs-invalid"),t.$element.on("shown.bs.select.invalid",function(){t.$element.val(t.$element.val()).off("shown.bs.select.invalid")}).on("rendered.bs.select",function(){this.validity.valid&&t.$button[0].classList.remove("bs-invalid"),t.$element.off("rendered.bs.select")}),t.$button.on("blur.bs.select",function(){t.$element.trigger("focus").trigger("blur"),t.$button.off("blur.bs.select")})}),setTimeout(function(){t.createLi(),t.$element.trigger("loaded.bs.select")})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",n=this.multiple?' aria-multiselectable="true"':"",i="",o=this.autofocus?" autofocus":"";I.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var r,a="",s="",l="",u="";return this.options.header&&(a='<div class="'+R.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(s='<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+T(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(l='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+R.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+R.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(u='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+R.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),r='<div class="dropdown bootstrap-select'+e+i+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+o+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===I.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+R.MENU+" "+("4"===I.major?"":R.SHOW)+'">'+a+s+l+'<div class="inner '+R.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+n+'><ul class="'+R.MENU+" inner "+("4"===I.major?R.SHOW:"")+'" role="presentation"></ul></div>'+u+"</div></div>",t(r)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0;for(var t=0;t<this.selectpicker.current.data.length;t++){var e=this.selectpicker.current.data[t],n=!0;"divider"===e.type?(n=!1,e.height=this.sizeInfo.dividerHeight):"optgroup-label"===e.type?(n=!1,e.height=this.sizeInfo.dropdownHeaderHeight):e.height=this.sizeInfo.liHeight,e.disabled&&(n=!1),this.selectpicker.view.canHighlight.push(n),n&&(this.selectpicker.view.size++,e.posinset=this.selectpicker.view.size),e.position=(0===t?0:this.selectpicker.current.data[t-1].position)+e.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(e,o,r){function a(t,o){var r,a,c,h,f,p,m,g,v=u.selectpicker.current.elements.length,y=[],b=!0,w=u.isVirtual();u.selectpicker.view.scrollTop=t,!0===w&&u.sizeInfo.hasScrollBar&&u.$menu[0].offsetWidth>u.sizeInfo.totalMenuWidth&&(u.sizeInfo.menuWidth=u.$menu[0].offsetWidth,u.sizeInfo.totalMenuWidth=u.sizeInfo.menuWidth+u.sizeInfo.scrollBarWidth,u.$menu.css("min-width",u.sizeInfo.menuWidth)),r=Math.ceil(u.sizeInfo.menuInnerHeight/u.sizeInfo.liHeight*1.5),a=Math.round(v/r)||1;for(var x=0;x<a;x++){var _=(x+1)*r;if(x===a-1&&(_=v),y[x]=[x*r+(x?1:0),_],!v)break;void 0===f&&t<=u.selectpicker.current.data[_-1].position-u.sizeInfo.menuInnerHeight&&(f=x)}if(void 0===f&&(f=0),p=[u.selectpicker.view.position0,u.selectpicker.view.position1],c=Math.max(0,f-1),h=Math.min(a-1,f+1),u.selectpicker.view.position0=!1===w?0:Math.max(0,y[c][0])||0,u.selectpicker.view.position1=!1===w?v:Math.min(v,y[h][1])||0,m=p[0]!==u.selectpicker.view.position0||p[1]!==u.selectpicker.view.position1,void 0!==u.activeIndex&&(l=u.selectpicker.main.elements[u.prevActiveIndex],d=u.selectpicker.main.elements[u.activeIndex],s=u.selectpicker.main.elements[u.selectedIndex],o&&(u.activeIndex!==u.selectedIndex&&u.defocusItem(d),u.activeIndex=void 0),u.activeIndex&&u.activeIndex!==u.selectedIndex&&u.defocusItem(s)),void 0!==u.prevActiveIndex&&u.prevActiveIndex!==u.activeIndex&&u.prevActiveIndex!==u.selectedIndex&&u.defocusItem(l),(o||m)&&(g=u.selectpicker.view.visibleElements?u.selectpicker.view.visibleElements.slice():[],u.selectpicker.view.visibleElements=!1===w?u.selectpicker.current.elements:u.selectpicker.current.elements.slice(u.selectpicker.view.position0,u.selectpicker.view.position1),u.setOptionStatus(),(e||!1===w&&o)&&(b=!i(g,u.selectpicker.view.visibleElements)),(o||!0===w)&&b)){var D,k,S=u.$menuInner[0],C=document.createDocumentFragment(),M=S.firstChild.cloneNode(!1),T=u.selectpicker.view.visibleElements,E=[];S.replaceChild(M,S.firstChild);for(var x=0,P=T.length;x<P;x++){var I,O,L=T[x];u.options.sanitize&&(I=L.lastChild)&&(O=u.selectpicker.current.data[x+u.selectpicker.view.position0])&&O.content&&!O.sanitized&&(E.push(I),O.sanitized=!0),C.appendChild(L)}u.options.sanitize&&E.length&&n(E,u.options.whiteList,u.options.sanitizeFn),!0===w?(D=0===u.selectpicker.view.position0?0:u.selectpicker.current.data[u.selectpicker.view.position0-1].position,k=u.selectpicker.view.position1>v-1?0:u.selectpicker.current.data[v-1].position-u.selectpicker.current.data[u.selectpicker.view.position1-1].position,S.firstChild.style.marginTop=D+"px",S.firstChild.style.marginBottom=k+"px"):(S.firstChild.style.marginTop=0,S.firstChild.style.marginBottom=0),S.firstChild.appendChild(C)}if(u.prevActiveIndex=u.activeIndex,u.options.liveSearch){if(e&&o){var R,A=0;u.selectpicker.view.canHighlight[A]||(A=1+u.selectpicker.view.canHighlight.slice(1).indexOf(!0)),R=u.selectpicker.view.visibleElements[A],u.defocusItem(u.selectpicker.view.currentActive),u.activeIndex=(u.selectpicker.current.data[A]||{}).index,u.focusItem(R)}}else u.$menuInner.trigger("focus")}var s,l,u=this,c=0,d=[];if(this.selectpicker.current=e?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),o)if(r)c=this.$menuInner[0].scrollTop;else if(!u.multiple){var h=u.$element[0],f=(h.options[h.selectedIndex]||{}).liIndex;if("number"==typeof f&&!1!==u.options.size){var p=u.selectpicker.main.data[f],m=p&&p.position;m&&(c=m-(u.sizeInfo.menuInnerHeight+u.sizeInfo.liHeight)/2)}}a(c,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){u.noScroll||a(this.scrollTop,e),u.noScroll=!1}),t(window).off("resize.bs.select."+this.selectId+".createView").on("resize.bs.select."+this.selectId+".createView",function(){u.$newElement.hasClass(R.SHOW)&&a(u.$menuInner[0].scrollTop)})},focusItem:function(t,e,n){if(t){e=e||this.selectpicker.main.data[this.activeIndex];var i=t.firstChild;i&&(i.setAttribute("aria-setsize",this.selectpicker.view.size),i.setAttribute("aria-posinset",e.posinset),!0!==n&&(this.focusedParent.setAttribute("aria-activedescendant",i.id),t.classList.add("active"),i.classList.add("active")))}},defocusItem:function(t){t&&(t.classList.remove("active"),t.firstChild&&t.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=!0;var n=this.$element[0],i=!1,o=!this.selectpicker.view.titleOption.parentNode;if(o){this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="";i=void 0===t(n.options[n.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected")}(o||0!==this.selectpicker.view.titleOption.index)&&n.insertBefore(this.selectpicker.view.titleOption,n.firstChild),i&&(n.selectedIndex=0)}return e},createLi:function(){function t(t){var e=a[a.length-1];e&&"divider"===e.type&&(e.optID||t.optID)||(t=t||{},t.type="divider",r.push(Y.li(!1,R.DIVIDER,t.optID?t.optID+"div":void 0)),a.push(t))}function e(e,o){if(o=o||{},o.divider="true"===e.getAttribute("data-divider"),o.divider)t({optID:o.optID});else{var l=a.length,u=e.style.cssText,c=u?T(u):"",d=(e.className||"")+(o.optgroupClass||"");o.optID&&(d="opt "+d),o.text=e.textContent,o.content=e.getAttribute("data-content"),o.tokens=e.getAttribute("data-tokens"),o.subtext=e.getAttribute("data-subtext"),o.icon=e.getAttribute("data-icon"),o.iconBase=i;var h=Y.text(o),f=Y.li(Y.a(h,d,c),"",o.optID);f.firstChild&&(f.firstChild.id=n.selectId+"-"+l),r.push(f),e.liIndex=l,o.display=o.content||o.text,o.type="option",o.index=l,o.option=e,o.disabled=o.disabled||e.disabled,a.push(o);var p=0;o.display&&(p+=o.display.length),o.subtext&&(p+=o.subtext.length),o.icon&&(p+=1),p>s&&(s=p,n.selectpicker.view.widestOption=r[r.length-1])}}var n=this,i=this.options.iconBase,o=':not([hidden]):not([data-hidden="true"])',r=[],a=[],s=0,l=0,u=this.setPlaceholder()?1:0;this.options.hideDisabled&&(o+=":not(:disabled)"),!n.options.showTick&&!n.multiple||H.checkMark.parentNode||(H.checkMark.className=i+" "+n.options.tickIcon+" check-mark",H.a.appendChild(H.checkMark));for(var c=this.$element[0].querySelectorAll("select > *"+o),d=c.length;u<d;u++){var h=c[u];"OPTGROUP"!==h.tagName?e(h,{}):function(n,s){var u=s[n],c=s[n-1],d=s[n+1],h=u.querySelectorAll("option"+o);if(h.length){var f,p,m={label:T(u.label),subtext:u.getAttribute("data-subtext"),icon:u.getAttribute("data-icon"),iconBase:i},g=" "+(u.className||"");l++,c&&t({optID:l});var v=Y.label(m);r.push(Y.li(v,"dropdown-header"+g,l)),a.push({display:m.label,subtext:m.subtext,type:"optgroup-label",optID:l});for(var y=0,b=h.length;y<b;y++){var w=h[y];0===y&&(f=a.length-1,p=f+b),e(w,{headerIndex:f,lastIndex:p,optID:l,optgroupClass:g,disabled:u.disabled})}d&&t({optID:l})}}(u,c)}this.selectpicker.main.elements=r,this.selectpicker.main.data=a,this.selectpicker.current=this.selectpicker.main},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){this.setPlaceholder();var t,e,i=this,a=this.$element[0],s=o(a,this.options.hideDisabled),l=s.length,u=this.$button[0],c=u.querySelector(".filter-option-inner-inner"),d=document.createTextNode(this.options.multipleSeparator),h=H.fragment.cloneNode(!1),f=!1;if(u.classList.toggle("bs-placeholder",i.multiple?!l:!r(a,s)),this.tabIndex(),"static"===this.options.selectedTextFormat)h=Y.text({text:this.options.title},!0);else if(t=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&l>1,t&&(e=this.options.selectedTextFormat.split(">"),t=e.length>1&&l>e[1]||1===e.length&&l>=2),!1===t){for(var p=0;p<l&&p<50;p++){var m=s[p],g={},v={content:m.getAttribute("data-content"),subtext:m.getAttribute("data-subtext"),icon:m.getAttribute("data-icon")};this.multiple&&p>0&&h.appendChild(d.cloneNode(!1)),m.title?g.text=m.title:v.content&&i.options.showContent?(g.content=v.content.toString(),f=!0):(i.options.showIcon&&(g.icon=v.icon,g.iconBase=this.options.iconBase),i.options.showSubtext&&!i.multiple&&v.subtext&&(g.subtext=" "+v.subtext),g.text=m.textContent.trim()),h.appendChild(Y.text(g,!0))}l>49&&h.appendChild(document.createTextNode("..."))}else{var y=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(y+=":not(:disabled)");var b=this.$element[0].querySelectorAll("select > option"+y+", optgroup"+y+" option"+y).length,w="function"==typeof this.options.countSelectedText?this.options.countSelectedText(l,b):this.options.countSelectedText;h=Y.text({text:w.replace("{0}",l.toString()).replace("{1}",b.toString())},!0)}if(void 0==this.options.title&&(this.options.title=this.$element.attr("title")),h.childNodes.length||(h=Y.text({text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),u.title=h.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&f&&n([h],i.options.whiteList,i.options.sanitizeFn),c.innerHTML="",c.appendChild(h),I.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var x=u.querySelector(".filter-expand"),_=c.cloneNode(!0);_.className="filter-expand",x?u.replaceChild(_,x):u.appendChild(_)}this.$element.trigger("rendered.bs.select")},setStyle:function(t,e){var n,i=this.$button[0],o=this.$newElement[0],r=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),I.major<4&&(o.classList.add("bs3"),o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),n=t?t.trim():r,"add"==e?n&&i.classList.add.apply(i.classList,n.split(" ")):"remove"==e?n&&i.classList.remove.apply(i.classList,n.split(" ")):(r&&i.classList.remove.apply(i.classList,r.split(" ")),n&&i.classList.add.apply(i.classList,n.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var n=document.createElement("div"),i=document.createElement("div"),o=document.createElement("div"),r=document.createElement("ul"),a=document.createElement("li"),l=document.createElement("li"),u=document.createElement("li"),c=document.createElement("a"),d=document.createElement("span"),h=this.options.header&&this.$menu.find("."+R.POPOVERHEADER).length>0?this.$menu.find("."+R.POPOVERHEADER)[0].cloneNode(!0):null,f=this.options.liveSearch?document.createElement("div"):null,p=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,m=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,g=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(g?g.className:""),n.className=this.$menu[0].parentNode.className+" "+R.SHOW,n.style.width=this.sizeInfo.selectWidth+"px","auto"===this.options.width&&(i.style.minWidth=0),i.className=R.MENU+" "+R.SHOW,o.className="inner "+R.SHOW,r.className=R.MENU+" inner "+("4"===I.major?R.SHOW:""),a.className=R.DIVIDER,l.className="dropdown-header",d.appendChild(document.createTextNode("")),c.appendChild(d),u.appendChild(c),l.appendChild(d.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(u),r.appendChild(a),r.appendChild(l),h&&i.appendChild(h),f){var v=document.createElement("input");f.className="bs-searchbox",v.className="form-control",f.appendChild(v),i.appendChild(f)}p&&i.appendChild(p),o.appendChild(r),i.appendChild(o),m&&i.appendChild(m),n.appendChild(i),document.body.appendChild(n);var y,b=u.offsetHeight,w=l?l.offsetHeight:0,x=h?h.offsetHeight:0,_=f?f.offsetHeight:0,D=p?p.offsetHeight:0,k=m?m.offsetHeight:0,S=t(a).outerHeight(!0),C=!!window.getComputedStyle&&window.getComputedStyle(i),M=i.offsetWidth,T=C?null:t(i),E={vert:s(C?C.paddingTop:T.css("paddingTop"))+s(C?C.paddingBottom:T.css("paddingBottom"))+s(C?C.borderTopWidth:T.css("borderTopWidth"))+s(C?C.borderBottomWidth:T.css("borderBottomWidth")),horiz:s(C?C.paddingLeft:T.css("paddingLeft"))+s(C?C.paddingRight:T.css("paddingRight"))+s(C?C.borderLeftWidth:T.css("borderLeftWidth"))+s(C?C.borderRightWidth:T.css("borderRightWidth"))},P={vert:E.vert+s(C?C.marginTop:T.css("marginTop"))+s(C?C.marginBottom:T.css("marginBottom"))+2,horiz:E.horiz+s(C?C.marginLeft:T.css("marginLeft"))+s(C?C.marginRight:T.css("marginRight"))+2};o.style.overflowY="scroll",y=i.offsetWidth-M,document.body.removeChild(n),this.sizeInfo.liHeight=b,this.sizeInfo.dropdownHeaderHeight=w,this.sizeInfo.headerHeight=x,this.sizeInfo.searchHeight=_,this.sizeInfo.actionsHeight=D,this.sizeInfo.doneButtonHeight=k,this.sizeInfo.dividerHeight=S,this.sizeInfo.menuPadding=E,this.sizeInfo.menuExtras=P,this.sizeInfo.menuWidth=M,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=y,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,n=this,i=t(window),o=n.$newElement.offset(),r=t(n.options.container);n.options.container&&r.length&&!r.is("body")?(e=r.offset(),e.top+=parseInt(r.css("borderTopWidth")),e.left+=parseInt(r.css("borderLeftWidth"))):e={top:0,left:0};var a=n.options.windowPadding;this.sizeInfo.selectOffsetTop=o.top-e.top-i.scrollTop(),this.sizeInfo.selectOffsetBot=i.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-a[2],this.sizeInfo.selectOffsetLeft=o.left-e.left-i.scrollLeft(),this.sizeInfo.selectOffsetRight=i.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-a[1],this.sizeInfo.selectOffsetTop-=a[0],this.sizeInfo.selectOffsetLeft-=a[3]},setMenuSize:function(t){this.getSelectPosition();var e,n,i,o,r,a,s,l=this.sizeInfo.selectWidth,u=this.sizeInfo.liHeight,c=this.sizeInfo.headerHeight,d=this.sizeInfo.searchHeight,h=this.sizeInfo.actionsHeight,f=this.sizeInfo.doneButtonHeight,p=this.sizeInfo.dividerHeight,m=this.sizeInfo.menuPadding,g=0;if(this.options.dropupAuto&&(s=u*this.selectpicker.current.elements.length+m.vert,this.$newElement.toggleClass(R.DROPUP,this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&s+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)o=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,n=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,i=o+c+d+h+f,a=Math.max(o-m.vert,0),this.$newElement.hasClass(R.DROPUP)&&(n=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),r=n,e=n-c-d-h-f-m.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var v=0;v<this.options.size;v++)"divider"===this.selectpicker.current.data[v].type&&g++;n=u*this.options.size+g*p+m.vert,e=n-m.vert,r=n+c+d+h+f,i=a=""}"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(R.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-l),this.$menu.css({"max-height":r+"px",overflow:"hidden","min-height":i+"px"}),this.$menuInner.css({"max-height":e+"px","overflow-y":"auto","min-height":a+"px"}),this.sizeInfo.menuInnerHeight=Math.max(e,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth,this.$menu.css("min-width",this.sizeInfo.totalMenuWidth)),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var n=this,i=t(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return n.setMenuSize()}),"auto"===this.options.size?i.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+L+"."+this.selectId+".setMenuSize").on("resize.bs.select."+this.selectId+".setMenuSize scroll"+L+"."+this.selectId+".setMenuSize",function(){return n.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&i.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+L+"."+this.selectId+".setMenuSize"),n.createView(!1,!0,e)}},setWidth:function(){var t=this;"auto"===this.options.width?requestAnimationFrame(function(){t.$menu.css("min-width","0"),t.$element.on("loaded.bs.select",function(){t.liHeight(),t.setMenuSize();var e=t.$newElement.clone().appendTo("body"),n=e.css("width","auto").children("button").outerWidth();e.remove(),t.sizeInfo.selectWidth=Math.max(t.sizeInfo.totalMenuWidth,n),t.$newElement.css("width",t.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=t('<div class="bs-container" />');var e,n,i,o=this,r=t(this.options.container),a=function(a){var s={},l=o.options.display||!!t.fn.dropdown.Constructor.Default&&t.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(a.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(R.DROPUP,a.hasClass(R.DROPUP)),e=a.offset(),r.is("body")?n={top:0,left:0}:(n=r.offset(),n.top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),i=a.hasClass(R.DROPUP)?0:a[0].offsetHeight,(I.major<4||"static"===l)&&(s.top=e.top-n.top+i,s.left=e.left-n.left),s.width=a[0].offsetWidth,o.$bsContainer.css(s)};this.$button.on("click.bs.dropdown.data-api",function(){o.isDisabled()||(a(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(R.SHOW,!o.$button.hasClass(R.SHOW)).append(o.$menu))}),t(window).off("resize.bs.select."+this.selectId+" scroll"+L+"."+this.selectId).on("resize.bs.select."+this.selectId+" scroll"+L+"."+this.selectId,function(){o.$newElement.hasClass(R.SHOW)&&a(o.$newElement)}),this.$element.on("hide.bs.select",function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setOptionStatus:function(t){var e=this;if(e.noScroll=!1,e.selectpicker.view.visibleElements&&e.selectpicker.view.visibleElements.length)for(var n=0;n<e.selectpicker.view.visibleElements.length;n++){var i=e.selectpicker.current.data[n+e.selectpicker.view.position0],o=i.option;o&&(!0!==t&&e.setDisabled(i.index,i.disabled),e.setSelected(i.index,o.selected))}},setSelected:function(t,e){var n,i,o=this.selectpicker.main.elements[t],r=this.selectpicker.main.data[t],a=void 0!==this.activeIndex,s=this.activeIndex===t,l=s||e&&!this.multiple&&!a;r.selected=e,i=o.firstChild,e&&(this.selectedIndex=t),o.classList.toggle("selected",e),l?(this.focusItem(o,r),this.selectpicker.view.currentActive=o,this.activeIndex=t):this.defocusItem(o),i&&(i.classList.toggle("selected",e),e?i.setAttribute("aria-selected",!0):this.multiple?i.setAttribute("aria-selected",!1):i.removeAttribute("aria-selected")),l||a||!e||void 0===this.prevActiveIndex||(n=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(n))},setDisabled:function(t,e){var n,i=this.selectpicker.main.elements[t];this.selectpicker.main.data[t].disabled=e,n=i.firstChild,i.classList.toggle(R.DISABLED,e),n&&("4"===I.major&&n.classList.toggle(R.DISABLED,e),e?(n.setAttribute("aria-disabled",e),n.setAttribute("tabindex",-1)):(n.removeAttribute("aria-disabled"),n.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var t=this;this.isDisabled()?(this.$newElement[0].classList.add(R.DISABLED),this.$button.addClass(R.DISABLED).attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button[0].classList.contains(R.DISABLED)&&(this.$newElement[0].classList.remove(R.DISABLED),this.$button.removeClass(R.DISABLED).attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.on("click",function(){return!t.isDisabled()})},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){function e(){i.options.liveSearch?i.$searchbox.trigger("focus"):i.$menuInner.trigger("focus")}function n(){i.dropdown&&i.dropdown._popper&&i.dropdown._popper.state.isCreated?e():requestAnimationFrame(n)}var i=this,o=t(document);o.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&o.data("spaceSelect")&&(t.preventDefault(),o.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){I.major>3&&!i.dropdown&&(i.dropdown=i.$button.data("bs.dropdown"),i.dropdown._menu=i.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){i.$newElement.hasClass(R.SHOW)||i.setSize()}),this.$element.on("shown.bs.select",function(){i.$menuInner[0].scrollTop!==i.selectpicker.view.scrollTop&&(i.$menuInner[0].scrollTop=i.selectpicker.view.scrollTop),I.major>3?requestAnimationFrame(n):e()}),this.$menuInner.on("mouseenter","li a",function(t){var e=this.parentElement,n=i.isVirtual()?i.selectpicker.view.position0:0,o=Array.prototype.indexOf.call(e.parentElement.children,e),r=i.selectpicker.current.data[o+n];i.focusItem(e,r,!0)}),this.$menuInner.on("click","li a",function(e,n){var o=t(this),a=i.$element[0],s=i.isVirtual()?i.selectpicker.view.position0:0,l=i.selectpicker.current.data[o.parent().index()+s],u=l.index,c=r(a),d=a.selectedIndex,h=a.options[d],f=!0;if(i.multiple&&1!==i.options.maxOptions&&e.stopPropagation(),e.preventDefault(),!i.isDisabled()&&!o.parent().hasClass(R.DISABLED)){var p=i.$element.find("option"),m=l.option,g=t(m),v=m.selected,y=g.parent("optgroup"),b=y.find("option"),w=i.options.maxOptions,x=y.data("maxOptions")||!1;if(u===i.activeIndex&&(n=!0),n||(i.prevActiveIndex=i.activeIndex,i.activeIndex=void 0),i.multiple){if(m.selected=!v,i.setSelected(u,!v),o.trigger("blur"),!1!==w||!1!==x){var D=w<p.filter(":selected").length,k=x<y.find("option:selected").length;if(w&&D||x&&k)if(w&&1==w){p.prop("selected",!1),g.prop("selected",!0);for(var S=0;S<p.length;S++)i.setSelected(S,!1);i.setSelected(u,!0)}else if(x&&1==x){y.find("option:selected").prop("selected",!1),g.prop("selected",!0);for(var S=0;S<b.length;S++){var m=b[S];i.setSelected(p.index(m),!1)}i.setSelected(u,!0)}else{var C="string"==typeof i.options.maxOptionsText?[i.options.maxOptionsText,i.options.maxOptionsText]:i.options.maxOptionsText,M="function"==typeof C?C(w,x):C,T=M[0].replace("{n}",w),E=M[1].replace("{n}",x),P=t('<div class="notify"></div>');M[2]&&(T=T.replace("{var}",M[2][w>1?0:1]),E=E.replace("{var}",M[2][x>1?0:1])),g.prop("selected",!1),i.$menu.append(P),w&&D&&(P.append(t("<div>"+T+"</div>")),f=!1,i.$element.trigger("maxReached.bs.select")),x&&k&&(P.append(t("<div>"+E+"</div>")),f=!1,i.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){i.setSelected(u,!1)},10),P.delay(750).fadeOut(300,function(){t(this).remove()})}}}else h.selected=!1,m.selected=!0,i.setSelected(u,!0);!i.multiple||i.multiple&&1===i.options.maxOptions?i.$button.trigger("focus"):i.options.liveSearch&&i.$searchbox.trigger("focus"),f&&(i.multiple||d!==a.selectedIndex)&&(_=[m.index,g.prop("selected"),c],i.$element.triggerNative("change"))}}),this.$menu.on("click","li."+R.DISABLED+" a, ."+R.POPOVERHEADER+", ."+R.POPOVERHEADER+" :not(.close)",function(e){e.currentTarget==this&&(e.preventDefault(),e.stopPropagation(),i.options.liveSearch&&!t(e.target).hasClass("close")?i.$searchbox.trigger("focus"):i.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),i.options.liveSearch?i.$searchbox.trigger("focus"):i.$button.trigger("focus")}),this.$menu.on("click","."+R.POPOVERHEADER+" .close",function(){i.$button.trigger("click")}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(e){i.options.liveSearch?i.$searchbox.trigger("focus"):i.$button.trigger("focus"),e.preventDefault(),e.stopPropagation(),t(this).hasClass("bs-select-all")?i.selectAll():i.deselectAll()}),this.$element.on("change.bs.select",function(){i.render(),i.$element.trigger("changed.bs.select",_),_=null}).on("focus.bs.select",function(){i.options.mobile||i.$button.trigger("focus")})},liveSearchListener:function(){var t=this,e=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){t.$searchbox.val()&&t.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var n=t.$searchbox.val();if(t.selectpicker.search.elements=[],t.selectpicker.search.data=[],n){var i,o=[],r=n.toUpperCase(),s={},l=[],c=t._searchStyle(),d=t.options.liveSearchNormalize;d&&(r=u(r)),t._$lisSelected=t.$menuInner.find(".selected");for(var i=0;i<t.selectpicker.main.data.length;i++){var h=t.selectpicker.main.data[i];s[i]||(s[i]=a(h,r,c,d)),s[i]&&void 0!==h.headerIndex&&-1===l.indexOf(h.headerIndex)&&(h.headerIndex>0&&(s[h.headerIndex-1]=!0,l.push(h.headerIndex-1)),s[h.headerIndex]=!0,l.push(h.headerIndex),s[h.lastIndex+1]=!0),s[i]&&"optgroup-label"!==h.type&&l.push(i)}for(var i=0,f=l.length;i<f;i++){var p=l[i],m=l[i-1],h=t.selectpicker.main.data[p],g=t.selectpicker.main.data[m];("divider"!==h.type||"divider"===h.type&&g&&"divider"!==g.type&&f-1!==i)&&(t.selectpicker.search.data.push(h),o.push(t.selectpicker.main.elements[p]))}t.activeIndex=void 0,t.noScroll=!0,t.$menuInner.scrollTop(0),t.selectpicker.search.elements=o,t.createView(!0),o.length||(e.className="no-results",e.innerHTML=t.options.noneResultsText.replace("{0}",'"'+T(n)+'"'),t.$menuInner[0].firstChild.appendChild(e))}else t.$menuInner.scrollTop(0),t.createView(!1)})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(t){var e=this.$element[0];if(void 0!==t){var n=r(e);if(_=[null,null,n],this.$element.val(t).trigger("changed.bs.select",_),this.$newElement.hasClass(R.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var i=(e.options[e.selectedIndex]||{}).liIndex;"number"==typeof i&&(this.setSelected(this.selectedIndex,!1),this.setSelected(i,!0))}return this.render(),_=null,this.$element}return this.$element.val()},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0);var e=this.$element[0],n=0,i=0,o=r(e);e.classList.add("bs-select-hidden");for(var a=0,s=this.selectpicker.current.elements.length;a<s;a++){var l=this.selectpicker.current.data[a],u=l.option;u&&!l.disabled&&"divider"!==l.type&&(l.selected&&n++,u.selected=t,t&&i++)}e.classList.remove("bs-select-hidden"),n!==i&&(this.setOptionStatus(),_=[null,null,o],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){t=t||window.event,t&&t.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(e){var n,i,o,r,s,l=t(this),u=l.hasClass("dropdown-toggle"),c=u?l.closest(".dropdown"):l.closest(A.MENU),d=c.data("this"),h=d.findLis(),f=!1,p=e.which===P.TAB&&!u&&!d.options.selectOnTab,m=N.test(e.which)||p,g=d.$menuInner[0].scrollTop,v=d.isVirtual(),y=!0===v?d.selectpicker.view.position0:0;if(!(i=d.$newElement.hasClass(R.SHOW))&&(m||e.which>=48&&e.which<=57||e.which>=96&&e.which<=105||e.which>=65&&e.which<=90)&&(d.$button.trigger("click.bs.dropdown.data-api"),d.options.liveSearch))return void d.$searchbox.trigger("focus");if(e.which===P.ESCAPE&&i&&(e.preventDefault(),d.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),m){if(!h.length)return;o=d.selectpicker.main.elements[d.activeIndex],n=o?Array.prototype.indexOf.call(o.parentElement.children,o):-1,-1!==n&&d.defocusItem(o),e.which===P.ARROW_UP?(-1!==n&&n--,n+y<0&&(n+=h.length),d.selectpicker.view.canHighlight[n+y]||-1===(n=d.selectpicker.view.canHighlight.slice(0,n+y).lastIndexOf(!0)-y)&&(n=h.length-1)):(e.which===P.ARROW_DOWN||p)&&(n++,n+y>=d.selectpicker.view.canHighlight.length&&(n=0),d.selectpicker.view.canHighlight[n+y]||(n=n+1+d.selectpicker.view.canHighlight.slice(n+y+1).indexOf(!0))),e.preventDefault();var b=y+n;e.which===P.ARROW_UP?0===y&&n===h.length-1?(d.$menuInner[0].scrollTop=d.$menuInner[0].scrollHeight,b=d.selectpicker.current.elements.length-1):(r=d.selectpicker.current.data[b],s=r.position-r.height,f=s<g):(e.which===P.ARROW_DOWN||p)&&(0===n?(d.$menuInner[0].scrollTop=0,b=0):(r=d.selectpicker.current.data[b],s=r.position-d.sizeInfo.menuInnerHeight,f=s>g)),o=d.selectpicker.current.elements[b],d.activeIndex=d.selectpicker.current.data[b].index,d.focusItem(o),d.selectpicker.view.currentActive=o,f&&(d.$menuInner[0].scrollTop=s),d.options.liveSearch?d.$searchbox.trigger("focus"):l.trigger("focus")}else if(!l.is("input")&&!F.test(e.which)||e.which===P.SPACE&&d.selectpicker.keydown.keyHistory){var w,x,_=[];e.preventDefault(),d.selectpicker.keydown.keyHistory+=E[e.which],d.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(d.selectpicker.keydown.resetKeyHistory.cancel),d.selectpicker.keydown.resetKeyHistory.cancel=d.selectpicker.keydown.resetKeyHistory.start(),x=d.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(x)&&(x=x.charAt(0));for(var D=0;D<d.selectpicker.current.data.length;D++){var k,S=d.selectpicker.current.data[D];k=a(S,x,"startsWith",!0),k&&d.selectpicker.view.canHighlight[D]&&_.push(S.index)}if(_.length){var C=0;h.removeClass("active").find("a").removeClass("active"),1===x.length&&(C=_.indexOf(d.activeIndex),-1===C||C===_.length-1?C=0:C++),w=_[C],r=d.selectpicker.main.data[w],g-r.position>0?(s=r.position-r.height,f=!0):(s=r.position-d.sizeInfo.menuInnerHeight,f=r.position>g+d.sizeInfo.menuInnerHeight),o=d.selectpicker.main.elements[w],d.activeIndex=_[C],d.focusItem(o),o&&o.firstChild.focus(),f&&(d.$menuInner[0].scrollTop=s),l.trigger("focus")}}i&&(e.which===P.SPACE&&!d.selectpicker.keydown.keyHistory||e.which===P.ENTER||e.which===P.TAB&&d.options.selectOnTab)&&(e.which!==P.SPACE&&e.preventDefault(),d.options.liveSearch&&e.which===P.SPACE||(d.$menuInner.find(".active a").trigger("click",!0),l.trigger("focus"),d.options.liveSearch||(e.preventDefault(),t(document).data("spaceSelect",!0))))},mobile:function(){this.$element[0].classList.add("mobile-device")},refresh:function(){var e=t.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.setStyle(),this.render(),this.createLi(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(L).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),t(window).off(".bs.select."+this.selectId)}};var z=t.fn.selectpicker;t.fn.selectpicker=c,t.fn.selectpicker.Constructor=j,t.fn.selectpicker.noConflict=function(){return t.fn.selectpicker=z,this},t(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.select",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',j.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),t(window).on("load.bs.select.data-api",function(){t(".selectpicker").each(function(){var e=t(this);c.call(e,e.data())})})}(t)})},tqWD:function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=201)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},201:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(202);var i=n(1);i.datepickerLocale("sv","sv",{closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"v. ",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("sv",{buttonText:{month:"Månad",week:"Vecka",day:"Dag",list:"Program"},allDayText:"Heldag",eventLimitText:"till",noEventsMessage:"Inga händelser att visa"})},202:function(t,e,n){!function(t,e){!function(t){t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e")},week:{dow:1,doy:4}})}(n(0))}()}})})},tzHd:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})},ucxI:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("4klR"),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),s(e,[{key:"init",value:function(){var t=this;document.addEventListener("click",function(e){for(var n=e.target;null!==n&&!n.matches("body");){if(n.classList.contains(t.selector)){var i=document.querySelector("div.toolbar form.navbar-form");if(null===i)return;var o=i.action,r=i.method;i.target="_blank",i.action=n.href,void 0!==n.dataset.method&&(i.method=n.dataset.method),i.submit(),i.target="",i.action=o,i.method=r,e.preventDefault(),e.stopPropagation()}n=n.parentNode}})}}]),e}(a.a);e.a=l},ulq9:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var o={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",MM:есяц_месяцаесяцев",yy:"год_годает"};return"m"===i?n?"минута":"минуту":t+" "+e(o[i],+t)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})})},"x/W5":function(t,e,n){!function(e,i){t.exports=i(n("PJh5"),n("olwm"))}("undefined"!=typeof self&&self,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=135)}({0:function(e,n){e.exports=t},1:function(t,n){t.exports=e},135:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),n(136);var i=n(1);i.datepickerLocale("fr","fr",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),i.locale("fr",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})},136:function(t,e,n){!function(t,e){!function(t){t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(0))}()}})})},"xne+":function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n,i){var o=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return o+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return o+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return o+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return o+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return o+(i||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+i[this.day()]+"] LT[-kor]"}var i="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},y84T:function(t,e,n){"use strict";(function(t){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("7t+N"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(e){function n(t){i(this,n);var e=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return e.selector=t,e}return r(n,e),u(n,[{key:"init",value:function(){this.activateAutocomplete(this.selector)}},{key:"getId",value:function(){return"autocomplete"}},{key:"splitTagList",value:function(t){return t.split(/,\s*/)}},{key:"extractLastTag",value:function(t){return this.splitTagList(t).pop()}},{key:"activateAutocomplete",value:function(e){var n=s()(e).attr("data-autocomplete-url"),i=this,o=i.getContainer().getPlugin("api");s()(e).on("keydown",function(t){t.keyCode===s.a.ui.keyCode.TAB&&s()(this).autocomplete("instance").menu.active&&t.preventDefault()}).autocomplete({source:function(t,e){var r=i.extractLastTag(t.term);o.get(n,{name:r},function(t){e(t)})},search:function(){if(i.extractLastTag(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var o=i.splitTagList(this.value);return o.pop(),o.includes(n.item.value)||o.push(n.item.value),o.push(""),this.value=o.join(", "),t(this).trigger("change"),!1}})}}]),n}(l.a);e.a=c}).call(e,n("7t+N"))},z1kw:function(t,e,n){var i,o,r;/*!
* jQuery UI Widget 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(a){o=[n("7t+N"),n("UZ9c")],i=a,void 0!==(r="function"==typeof i?i.apply(e,o):i)&&(t.exports=r)}(function(t){var e=0,n=Array.prototype.slice;return t.cleanData=function(e){return function(n){var i,o,r;for(r=0;null!=(o=n[r]);r++)try{i=t._data(o,"events"),i&&i.remove&&t(o).triggerHandler("remove")}catch(t){}e(n)}}(t.cleanData),t.widget=function(e,n,i){var o,r,a,s={},l=e.split(".")[0];e=e.split(".")[1];var u=l+"-"+e;return i||(i=n,n=t.Widget),t.isArray(i)&&(i=t.extend.apply(null,[{}].concat(i))),t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},o=t[l][e],r=t[l][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,o,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),a=new n,a.options=t.widget.extend({},a.options),t.each(i,function(e,i){if(!t.isFunction(i))return void(s[e]=i);s[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,r=this._superApply;return this._super=t,this._superApply=o,e=i.apply(this,arguments),this._super=n,this._superApply=r,e}}()}),r.prototype=t.widget.extend(a,{widgetEventPrefix:o?a.widgetEventPrefix||e:e},s,{constructor:r,namespace:l,widgetName:e,widgetFullName:u}),o?(t.each(o._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,r,n._proto)}),delete o._childConstructors):n._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var i,o,r=n.call(arguments,1),a=0,s=r.length;a<s;a++)for(i in r[a])o=r[a][i],r[a].hasOwnProperty(i)&&void 0!==o&&(t.isPlainObject(o)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):e[i]=o);return e},t.widget.bridge=function(e,i){var o=i.prototype.widgetFullName||e;t.fn[e]=function(r){var a="string"==typeof r,s=n.call(arguments,1),l=this;return a?this.length||"instance"!==r?this.each(function(){var n,i=t.data(this,o);return"instance"===r?(l=i,!1):i?t.isFunction(i[r])&&"_"!==r.charAt(0)?(n=i[r].apply(i,s),n!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0):t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(s.length&&(r=t.widget.extend.apply(null,[r].concat(s))),this.each(function(){var e=t.data(this,o);e?(e.option(r||{}),e._init&&e._init()):t.data(this,o,new i(r,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,o,r,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},i=e.split("."),e=i.shift(),i.length){for(o=a[e]=t.widget.extend({},this.options[e]),r=0;r<i.length-1;r++)o[i[r]]=o[i[r]]||{},o=o[i[r]];if(e=i.pop(),1===arguments.length)return void 0===o[e]?null:o[e];o[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,i,o;for(n in e)o=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&o&&o.length&&(i=t(o.get()),this._removeClass(o,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,r){var a,s;for(s=0;s<n.length;s++)a=o.classesElementLookup[n[s]]||t(),a=t(e.add?t.unique(a.get().concat(e.element.get())):a.not(e.element).get()),o.classesElementLookup[n[s]]=a,i.push(n[s]),r&&e.classes[n[s]]&&i.push(e.classes[n[s]])}var i=[],o=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(i,o){-1!==t.inArray(e.target,o)&&(n.classesElementLookup[i]=t(o.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,i){i="boolean"==typeof i?i:n;var o="string"==typeof t||null===t,r={extra:o?e:n,keys:o?t:e,element:o?this.element:t,add:i};return r.element.toggleClass(this._classes(r),i),this},_on:function(e,n,i){var o,r=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=o=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,o=this.widget()),t.each(i,function(i,a){function s(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?r[a]:a).apply(r,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?o.on(u,c,s):n.on(u,s)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function n(){return("string"==typeof t?i[t]:t).apply(i,arguments)}var i=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,i){var o,r,a=this.options[e];if(i=i||{},n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],r=n.originalEvent)for(o in r)o in n||(n[o]=r[o]);return this.element.trigger(n,i),!(t.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,o,r){"string"==typeof o&&(o={effect:o});var a,s=o?!0===o||"number"==typeof o?n:o.effect||n:e;o=o||{},"number"==typeof o&&(o={duration:o}),a=!t.isEmptyObject(o),o.complete=r,o.delay&&i.delay(o.delay),a&&t.effects&&t.effects.effect[s]?i[e](o):s!==e&&i[s]?i[s](o.duration,o.easing,r):i.queue(function(n){t(this)[e](),r&&r.call(i[0]),n()})}}),t.widget})},ztJp:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n("PJh5"),s=n.n(a),l=n("4klR"),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.selector=t,n}return r(e,t),u(e,[{key:"getId",value:function(){return"timesheet-duration"}},{key:"init",value:function(){this.updateRecords();var t=this,e=function(){t.updateRecords()};this._updatesHandler=setInterval(e,1e4),document.addEventListener("kimai.timesheetUpdate",e)}},{key:"unregisterUpdates",value:function(){clearInterval(this._updatesHandler)}},{key:"updateRecords",value:function(){var t=[],e=document.querySelectorAll(this.selector);if(0===e.length)return void(document.title=document.querySelector("body").dataset.title);var n=!0,i=!1,o=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var s=r.value,l=s.getAttribute("data-since"),u=s.getAttribute("data-format"),c=this.formatDuration(l,u);null!==s.getAttribute("data-title")&&t.push(c),s.textContent=c}}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}if(0!==t.length){var d=t.shift(),h=!0,f=!1,p=void 0;try{for(var m,g=t.slice(0,2)[Symbol.iterator]();!(h=(m=g.next()).done);h=!0){var c=m.value;d+=" | "+c}}catch(t){f=!0,p=t}finally{try{!h&&g.return&&g.return()}finally{if(f)throw p}}document.title=d}}},{key:"formatDuration",value:function(t,e){var n=s.a.duration(s()(new Date).diff(s()(t))),i=parseInt(n.asHours()).toString(),o=n.minutes(),r=n.seconds();return 1===i.length&&(i="0"+i),e.replace("%h",i).replace("%m",("0"+o).substr(-2)).replace("%s",("0"+r).substr(-2))}}]),e}(l.a);e.a=c}});