/*! For license information please see runtime.c64540257102d38a50b3.js.LICENSE.txt */ (function(){var __webpack_modules__={97411:function(e,t,n){var r=n(87555),i=n(31730),o=n(9669);e.exports=function(e){var t=o.CancelToken.source(),n=i({cancelToken:t.token},e);return new r((function(e,r){return o(n).then(r).catch(e),t.cancel.bind(t)}))}},87555:function(e,t,n){var r=n(79862),i=n(91486),o=n(22876).type("Async"),a=n(22876).typeFn(o(),5),s=n(92244),u=n(91469),l=n(84449),c=n(57598),d=n(91508),f=n(8317),p=n(57778),h=n(23092),m=n(52387),v=n(83606),g=n(28950),y=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=y,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},u=e(s.bind(null,t),s.bind(null,n)),l=h(u)?u:d;return c((function(){return a((l(),void(i=!0)))}))}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,l(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(l(e,t),l(r,n))}))}}function m(e){return function(t){if(!g(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=d,i=d;return r=u((function(){i=t.fork(e,n)}),n),c((function(){return i(r())}))}))}}function v(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=d,o=d;return i=u(n,(function(i){var a=t(i);if(!g(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),c((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=c((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(r,t))}))},ap:function(e){if(!g(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=c(t);function f(){!s&&o&&a&&l(n,r)(i)}var p=u(d,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()})),m=e.fork(d,(function(e){a=!0,i=e,f()}));return function(){p(),m(),s=!0}}))},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),c((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=y,b.type=o,b[s.of]=y,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=y,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&g(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},91508:function(e){e.exports=Function.prototype},60068:function(e,t,n){var r=n(61510),i=n(55769);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},91469:function(e,t,n){var r=n(62497),i=n(8317),o=n(34281),a=n(23092),s=n(28950),u=n(85504),l=n(60068),c=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return d([e])}),a)):a.map((function(e){return d([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=l(e);return t.reduceRight(f("sequence",c),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=l(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},84449:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},92955:function(e,t,n){var r=n(23092);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){var n=r(arguments),a=n.length?n:[void 0];if(a.length0;)t[n]=arguments[n+1];var i=function(e){var n=typeof e;return"function"===n?e.apply(void 0,t):e&&"object"===n?o.apply(void 0,[e].concat(t)):e};return r(i,e)};e.exports=i(o)},37990:function(e,t,n){var r=n(87988),i=n(79762),o=n(54456),a=n(44216);e.exports=a(3,(function(e,t){return i(r(e),[t,o])}))},30449:function(e,t,n){var r=n(12637),i=n(15866),o=n(96323),a=n(48215),s=n(48283),u=n(4240),l=n(81250),c=n(47929),d=n(3189),f=o((function(e,t){return typeof t===e})),p=function(e){return c(u(h),Math.max,0,d(e))},h=i([[f("object"),p],[f("function"),s],[l,r(0)]]);e.exports=o((function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=p(t),o=a(i+1,e);return 0===n.length?0===i?function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return o.apply(void 0,[t].concat(e))}:o(t):o.apply(void 0,[t].concat(n))}))},8727:function(e,t,n){var r=n(87988),i=n(79762),o=n(69868),a=n(26039),s=n(3273),u=n(44216),l=n(45724);e.exports=u(3,(function(e,t){return l(a(e),i(r(t),[s(e),o(e)]))}))},62023:function(e,t,n){var r=n(96323),i=function(e,t){for(var n in t=Object.assign({},t),e)if(n in t){var r=e[n];"object"==typeof r?t[n]=i(r,t[n]):(t[r]=t[n],delete t[n])}return t};e.exports=r(i)},81250:function(e,t,n){var r=n(12637)(!0);e.exports=r},12637:function(e,t,n){var r=n(38151)((function(e){return function(){return e}}));e.exports=r},87988:function(e,t,n){var r=n(34525)((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}));e.exports=r},61232:function(e,t,n){var r=n(65102),i=n(22909)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},15866:function(e,t,n){var r=n(65102),i=n(38151),o=n(4240),a=n(26188),s=n(74203),u=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},5083:function(e,t,n){var r=n(66417),i=n(96573);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s=0&&"[object Array]"===Object.prototype.toString.call(e)}},29230:function(e,t,n){var r=n(38151),i=n(66417),o=n(56479),a=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=a},5366:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},14816:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},56479:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},96573:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},48624:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n=0;)i(t=s[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=c},48283:function(e,t,n){var r=n(38151),i=n(5366),o=r((function(e){return null!=e&&i(e.length)?e.length:NaN}));e.exports=o},4240:function(e,t,n){var r=n(22909),i=n(5083),o=n(48624),a=n(36258),s=n(85833),u=n(48215),l=n(83444),c=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},l(t));default:return o(e,t)}})));e.exports=c},26188:function(e,t,n){var r=n(22909)((function(e,t){return t>e?t:e}));e.exports=r},47229:function(e,t,n){var r=n(22909)((function(e,t){for(var n=t,r=0;r=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},64430:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("IO"),a=n(49761).typeFn(o(),2),s=n(70911),u=n(2167),l=n(48326),c=n(32126),d=function(e){return f((function(){return e}))};function f(e){var t;if(!l(e))throw new TypeError("IO: Must wrap a function");var n=d,r=function(){return"IO"+i(e)};function p(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f(u(n,e))}}function h(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f((function(){var r=n(e());if(!c(f,r))throw new TypeError("IO."+t+": Function must return an IO");return r.run()}))}}return(t={inspect:r,toString:r,run:e,type:o,ap:function(t){if(!c(f,t))throw new TypeError("IO.ap: IO required");return f((function(){var n=e();if(!l(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()}))},of:n,map:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},89411:function(e){e.exports=Function.prototype},31646:function(e,t,n){var r=n(67158),i=n(60060);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},64388:function(e,t,n){var r=n(86827),i=n(19380),o=n(30191),a=n(48326),s=n(32126),u=n(33748),l=n(31646),c=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return d([e])}),a)):a.map((function(e){return d([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=l(e);return t.reduceRight(f("sequence",c),n([]))},traverse:function(e,t,n){var r=l(e);return n.reduceRight(f("traverse",t),r([]))}}},2167:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},37989:function(e,t,n){var r=n(48326);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},79178:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},12269:function(e,t,n){var r=n(45018)((function(e,t){return t>e?t:e}));e.exports=r},53592:function(e,t,n){e.exports=n(27385)},78363:function(e,t,n){e.exports=n(81522)},19996:function(e,t,n){e.exports=n(32209)},51445:function(e,t,n){e.exports=n(14122)},88066:function(e,t,n){e.exports=n(21086)},53701:function(e,t,n){e.exports=n(47895)},60415:function(e,t,n){e.exports=n(27759)},72895:function(e,t,n){e.exports=n(32726)},30699:function(e,t,n){e.exports=n(44442)},33610:function(e,t,n){e.exports=n(57478)},98882:function(e,t,n){e.exports=n(2636)},44721:function(e,t,n){e.exports=n(11408)},95683:function(e,t,n){e.exports=n(69447)},60488:function(e,t,n){e.exports=n(56211)},50047:function(e,t,n){e.exports=n(86942)},11515:function(e,t,n){e.exports=n(66594)},60355:function(e,t,n){e.exports=n(17579)},95238:function(e,t,n){e.exports=n(81493)},47648:function(e,t,n){e.exports=n(72858)},51614:function(e,t,n){e.exports=n(75319)},59104:function(e,t,n){e.exports=n(75425)},54991:function(e,t,n){e.exports=n(99465)},42825:function(e,t,n){e.exports=n(52740)},90:function(e,t,n){e.exports=n(86672)},48150:function(e,t,n){e.exports=n(23456)},66242:function(e,t,n){e.exports=n(40691)},56524:function(e,t,n){e.exports=n(75632)},12088:function(e,t,n){e.exports=n(60269)},189:function(e,t,n){e.exports=n(76094)},44341:function(e,t,n){e.exports=n(73685)},64150:function(e,t,n){e.exports=n(36785)},58377:function(e,t,n){e.exports=n(27533)},13038:function(e,t,n){e.exports=n(39057)},63263:function(e,t,n){e.exports=n(84710)},24889:function(e,t,n){e.exports=n(74303)},36202:function(e,t,n){e.exports=n(9673)},89356:function(e,t,n){e.exports=n(93799)},79542:function(e,t,n){e.exports=n(55122)},6538:function(e,t,n){e.exports=n(54437)},69798:function(e,t,n){e.exports=n(29531)},13535:function(e,t,n){e.exports=n(10856)},83863:function(e,t,n){e.exports=n(31524)},17997:function(e,t,n){e.exports=n(65743)},51446:function(e,t,n){e.exports=n(86600)},46393:function(e,t,n){e.exports=n(55174)},23882:function(e,t,n){e.exports=n(9759)},61577:function(e,t,n){e.exports=n(52236)},79927:function(e,t,n){e.exports=n(87740)},16944:function(e,t,n){e.exports=n(58714)},80373:function(e,t,n){e.exports=n(82790)},23765:function(e,t,n){var r=n(51446),i=n(23882);function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},3707:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=c;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===c)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?p:d,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var c="suspendedStart",d="suspendedYield",f="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(A([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e,t){function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},63109:function(e,t,n){e.exports=n(3707)},67154:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t0&&(c=setTimeout((function(){if(!u){u=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),l.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&l.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(l.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(l),l.send(p||null),l}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},64867:function(e,t,n){"use strict";var r=n(91849),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n=this.getViewportTop()&&e<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(e){return ethis.getViewportBottom()}},{key:"inViewport",value:function(e,t){return this.isInViewport(e)||this.isInViewport(t)||this.isAboveViewport(e)&&this.isBelowViewport(t)}},{key:"onScreen",value:function(e,t){return!this.isAboveScreen(t)&&!this.isBelowScreen(e)}},{key:"isAboveScreen",value:function(e){return ethis.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var e=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),t=e+this.node.clientHeight,n=this.inViewport(e,t);return{aboveViewport:this.isAboveViewport(e),belowViewport:this.isBelowViewport(e),inViewport:n,onScreen:this.onScreen(e,t)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var e=this.props.scrollableParentSelector;this.scrollableParent=e?document.querySelector(e):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.handleScroll()}}},{key:"componentWillUnmount",value:function(){this.cleanup()}},{key:"cleanup",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(e,t){return e.inViewport!==t.inViewport||e.onScreen!==t.onScreen}},{key:"captureRef",value:function(e){e&&(this.node=e.animateRef?e.animateRef:e)}},{key:"animate",value:function(e,t){var n=this;this.delayedAnimationTimeout=setTimeout((function(){n.animating=!0,n.setState({classes:"animated "+e,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=setTimeout(t,1e3*n.props.duration)}),this.props.delay)}},{key:"animateIn",value:function(e){var t=this;this.animate(this.props.animateIn,(function(){t.props.animateOnce||(t.setState({style:{animationDuration:t.props.duration+"s",opacity:1}}),t.animating=!1);var n=t.getVisibility();e&&e(n)}))}},{key:"animateOut",value:function(e){var t=this;this.animate(this.props.animateOut,(function(){t.setState({classes:"animated",style:{animationDuration:t.props.duration+"s",opacity:0}});var n=t.getVisibility();n.inViewport&&t.props.animateIn?t.animateIn(t.props.afterAnimatedIn):t.animating=!1,e&&e(n)}))}},{key:"shouldNotAnimate",value:function(e){return this.props.animateIn&&this.props.animateOut?!e.onScreen:this.props.animateIn?!e.onScreen&&!e.aboveViewport:!e.onScreen&&!e.belowViewport}},{key:"shouldAnimateIn",value:function(e){return!!this.props.animateIn&&(this.props.animateOut?e.inViewport:e.inViewport||e.aboveViewport)}},{key:"shouldAnimateOut",value:function(e){return!(!this.props.animateOut||!e.onScreen||1!==this.state.style.opacity)&&(this.props.animateIn?e.inViewport:e.inViewport||e.belowViewport)}},{key:"handleScroll",value:function(){if(!this.animating){if(!this.node)return this.cleanup(),!0;var e=this.getVisibility();this.visibilityHasChanged(this.visibility,e)&&(clearTimeout(this.delayedAnimationTimeout),this.shouldNotAnimate(e)?this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}):this.shouldAnimateIn(e)?this.animateIn(this.props.afterAnimatedIn):this.shouldAnimateOut(e)&&this.animateOut(this.props.afterAnimatedOut),this.visibility=e)}}},{key:"renderChild",value:function(e,t){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2],r=this.props,i=r.initiallyVisible,o=r.keepStructure,a=r.siblingDelay,u=a*n,l=s({},this.state.style,this.props.style,{animationDelay:u+"s"});return g.default.createElement(w,{classes:t,initiallyVisible:i,keepStructure:o,key:n,style:l},e)}},{key:"renderChildren",value:function(e,t){var n,r,i,o=this,s=this.props,d=s.children,f=s.siblingDelay,p=Array.isArray(t)?t:d;return f&&Array.isArray(p)?u(n=l(r=[]).call(r,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},29466:function(e,t,n){var r=n(95238),i=n(46102),o=n(90659);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u=0;){if(n[l]===e)return i[l]===t;l-=1}switch(u){case"Map":return e.size===t.size&&m(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&m(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var g=p(e);if(g.length!==p(t).length)return!1;var y=a(n).call(n,[e]),b=a(i).call(i,[t]);for(l=g.length-1;l>=0;){var _=g[l];if(!d(_,t)||!v(t[_],e[_],y,b))return!1;l-=1}return!0}e.exports=v},78276:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n=0}},82514:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r=0&&"[object Array]"===Object.prototype.toString.call(e)}},7721:function(e,t,n){var r=n(23765),i=n(83499),o=n(46102),a=n(86486),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},78041:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},83294:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},27695:function(e,t,n){var r=n(23765);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},86486:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},90659:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},18096:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n":e(r,o)},m=function(e,t){var n;return u((function(t){return l(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,m(t,f((function(e){return/^\d+$/.test(e)}),d(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):l(c(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":l(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var v=t.toString();if("[object Object]"!==v)return v}return"{"+m(t,d(t)).join(", ")+"}"}}},95882:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},45991:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},69332:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},36098:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},37022:function(e,t,n){var r=n(95238),i=n(84889),o=n(78041),a=n(70717),s=n(21871),u=i((function(e,t){return a(e+1,(function(){var n=arguments[e];if(null!=n&&o(n[t]))return n[t].apply(n,r(Array.prototype).call(arguments,0,e));throw new TypeError(s(n)+' does not have a method named "'+t+'"')}))}));e.exports=u},2507:function(e,t,n){var r=n(37022)(1,"join");e.exports=r},83669:function(e,t,n){var r=n(89356),i=n(83499),o=n(9861),a=n(64013),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],l=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),c=function(e,t){for(var n=0;n=0;)o(t=u[n],e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=d},19206:function(e,t,n){var r=n(84889),i=n(29466),o=n(18096),a=n(73506),s=n(69332),u=n(70717),l=n(83669),c=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},l(t));default:return o(e,t)}})));e.exports=c},40636:function(e,t,n){var r=n(84889)((function(e,t){return e*t}));e.exports=r},92148:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r={},i=0,o=e.length;i=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},82391:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},15417:function(e,t,n){var r=n(23765),i=n(32902),o=n(82391),a=n(96974),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},72209:function(e,t,n){var r=n(23765);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},96974:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},27099:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},56506:function(e,t,n){var r=n(51446),i=n(23882),o=n(15417),a=n(17904),s=n(67621);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function l(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var c=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return k((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},k.resolveAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return k((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},k["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=k},35606:function(e){e.exports=Function.prototype},62966:function(e,t,n){var r=n(96049),i=n(77847);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},76315:function(e,t,n){var r=n(88066),i=n(50047),o=n(95238),a=n(1377),s=n(22452),u=n(87738),l=n(12384),c=n(17430),d=n(44340),f=n(62966),p=function(e){return e},h=function(e){return function(t){return r(e).call(e,t)}};function m(e,t){return function(n,r){var o=t(r);if(!a(n)&&!s(n)||!c(n,o))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return s(o)?g(n,v((function(e){return h([e])}),o)):i(o).call(o,(function(e){return h([e])})).ap(n)}}var v=function(e,t){return i(t).call(t,(function(t){return e(t)}))};function g(e,t){if(!t.length||!t.reduce((function(e,t){return e&&l(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return r(t).call(t,v(n,e))}),[])}e.exports={ap:g,chain:function(e,t){return t.reduce((function(t,n){var i=e(n);if(!s(i))throw new TypeError("Array.chain: Function must return an Array");return r(t).call(t,i)}),[])},fold:function(e){if(u(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!d(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!c(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return r(e).call(e,t)}))},foldMap:function(e,t){if(u(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!d(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:o(t).call(t,1).reduce((function(t,n){var i=e(n);if(!c(t,i)||!d(i))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return r(t).call(t,i)}),n)},map:v,sequence:function(e,t){var n=f(e);return t.reduceRight(m("sequence",p),n([]))},set:function(e,t,n){var r=o(n).call(n);return r[e]=t,r},traverse:function(e,t,n){var r=f(e);return n.reduceRight(m("traverse",t),r([]))},unset:function(e,t){var n;return r(n=o(t).call(t,0,e)).call(n,o(t).call(t,e+1))}}},54800:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},94233:function(e,t,n){var r=n(88066),i=n(12384);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var s,u=n.length?n:[void 0];if(u.length0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;su?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},22175:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var i={ns:"",el:"__",mod:"_",modValue:"_"},o=function(e){return"string"==typeof e},a=function(e){return"string"!=typeof e},s=function(e,t){for(var n=[],i=2;i=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},52818:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},1254:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(70420))},32230:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},11365:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},69573:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(70420))},10462:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},16515:function(e,t,n){var r={"./en-au":52818,"./en-au.js":52818,"./en-ca":1254,"./en-ca.js":1254,"./en-gb":32230,"./en-gb.js":32230,"./en-ie":11365,"./en-ie.js":11365,"./en-il":69573,"./en-il.js":69573,"./en-nz":10462,"./en-nz.js":10462};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=16515},70420:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0,r=0;r0)for(n=0;n<_.length;n++)l(i=t[r=_[n]])||(e[r]=i);return e}var k=!1;function E(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,i.updateOffset(this),k=!1)}function x(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function T(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}var Z={};function X(e,t){var n=e.toLowerCase();Z[n]=Z[n+"s"]=Z[t]=e}function $(e){return"string"==typeof e?Z[e]||Z[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var J={};function ee(e,t){J[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return ne(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ue(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function le(e){var t,n,r=e.match(re);for(t=0,n=r.length;t=0&&ie.test(e);)e=e.replace(ie,r),ie.lastIndex=0,n-=1;return e}var fe=/\d/,pe=/\d\d/,he=/\d{3}/,me=/\d{4}/,ve=/[+-]?\d{6}/,ge=/\d\d?/,ye=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,ke=/[+-]?\d{1,6}/,Ee=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ae=/[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,Oe={};function Ne(e,t,n){Oe[e]=L(t)?t:function(e,r){return e&&n?n:t}}function Pe(e,t){return p(Oe,e)?Oe[e](t._strict,t._locale):new RegExp(Me(e))}function Me(e){return Le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ie={};function Re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n68?1900:2e3)};var Ze,Xe=Qe("FullYear",!0);function $e(){return Ke(this.year())}function Qe(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),it(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return L(this[e=$(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Q(e)),r=0;r=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function kt(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function Et(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+kt(e,r,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=kt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+St(i=e.year()-1,t,n):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=kt(e,t,n),i=kt(e+1,t,n);return(Ge(e)-r+i)/7}function Tt(e){return xt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),X("week","w"),X("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ne("w",ge),Ne("ww",ge,pe),Ne("W",ge),Ne("WW",ge,pe),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=T(e)}));var Ct={dow:0,doy:6};function At(){return this._week.dow}function Ot(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Mt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),X("day","d"),X("weekday","e"),X("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ne("d",ge),Ne("e",ge),Ne("E",ge),Ne("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ne("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ne("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=T(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function qt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Bt(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Mt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Wt=Ae;function Yt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Gt=Ae;function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Zt=Ae;function Xt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $t(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=Le(s[t]),u[t]=Le(u[t]),l[t]=Le(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Qt),se("k",["kk",2],0,Jt),se("hmm",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),X("hour","h"),ee("hour",13),Ne("a",tn),Ne("A",tn),Ne("H",ge),Ne("h",ge),Ne("k",ge),Ne("HH",ge,pe),Ne("hh",ge,pe),Ne("kk",ge,pe),Ne("hmm",ye),Ne("hmmss",be),Ne("Hmm",ye),Ne("Hmmss",be),Re(["H","HH"],Ue),Re(["k","kk"],(function(e,t,n){var r=T(e);t[Ue]=24===r?0:r})),Re(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Re(["h","hh"],(function(e,t,n){t[Ue]=T(e),g(n).bigHour=!0})),Re("hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r)),g(n).bigHour=!0})),Re("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i)),g(n).bigHour=!0})),Re("Hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r))})),Re("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Qe("Hours",!0),un={calendar:q,longDateFormat:B,invalidDate:U,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:Y,months:at,monthsShort:ut,week:Ct,weekdays:It,weekdaysMin:jt,weekdaysShort:Dt,meridiemParse:rn},ln={},cn={};function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,i,o=0;o0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return an}function pn(t){var r=null;if(!ln[t]&&e&&e.exports)try{r=an._abbr,n(16515)("./"+t),hn(r)}catch(e){}return ln[t]}function hn(e,t){var n;return e&&((n=l(t)?gn(e):mn(e,t))?an=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function mn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])M("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."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new D(R(r,t)),cn[e]&&cn[e].forEach((function(e){mn(e.name,e.config)})),hn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,i=un;null!=(r=pn(e))&&(i=r._config),(n=new D(t=R(i,t))).parentLocale=ln[e],ln[e]=n,hn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?ln[e]=ln[e].parentLocale:null!=ln[e]&&delete ln[e]);return ln[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function yn(){return N(ln)}function bn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Be]<0||n[Be]>11?Be:n[Fe]<1||n[Fe]>it(n[je],n[Be])?Fe:n[Ue]<0||n[Ue]>24||24===n[Ue]&&(0!==n[ze]||0!==n[He]||0!==n[Ve])?Ue:n[ze]<0||n[ze]>59?ze:n[He]<0||n[He]>59?He:n[Ve]<0||n[Ve]>999?Ve:-1,g(e)._overflowDayOfYear&&(tFe)&&(t=Fe),g(e)._overflowWeeks&&-1===t&&(t=We),g(e)._overflowWeekday&&-1===t&&(t=Ye),g(e).overflow=t),e}function _n(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function kn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=wn(e),e._w&&null==e._a[Fe]&&null==e._a[Be]&&En(e),null!=e._dayOfYear&&(o=_n(e._a[je],r[je]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Be]=n.getUTCMonth(),e._a[Fe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ue]&&0===e._a[ze]&&0===e._a[He]&&0===e._a[Ve]&&(e._nextDay=!0,e._a[Ue]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ue]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function En(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=_n(t.GG,e._a[je],xt(Kn(),1,4).year),r=_n(t.W,1),((i=_n(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=xt(Kn(),o,a);n=_n(t.gg,e._a[je],l.year),r=_n(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(s=Et(n,r,i,o,a),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}var xn=/^\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)?)?$/,Sn=/^\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)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["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}/]],An=[["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/]],On=/^\/?Date\((\-?\d+)/i;function Nn(e){var t,n,r,i,o,a,s=e._i,u=xn.exec(s)||Sn.exec(s);if(u){for(g(e).iso=!0,t=0,n=Cn.length;t0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),qe(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-l,s.length>0&&g(e).unusedInput.push(s),e._a[Ue]<=12&&!0===g(e).bigHour&&e._a[Ue]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ue]=Un(e._locale,e._a[Ue],e._meridiem),kn(e),bn(e)}else jn(e);else Nn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,i,o;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:b()}));function $n(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Wn(e))._a){var t=e._isUTC?m(e._a):Kn(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var xr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=xr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:T(a[Fe])*n,h:T(a[Ue])*n,m:T(a[ze])*n,s:T(a[He])*n,ms:T(sr(1e3*a[Ve]))*n}):(a=Sr.exec(e))?(n="-"===a[1]?-1:1,o={y:Cr(a[2],n),M:Cr(a[3],n),w:Cr(a[4],n),d:Cr(a[5],n),h:Cr(a[6],n),m:Cr(a[7],n),s:Cr(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Or(Kn(o.from),Kn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&p(e,"_locale")&&(r._locale=e._locale),r}function Cr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ar(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Or(e,t){var n;return e.isValid()&&t.isValid()?(t=dr(t,e),e.isBefore(t)?n=Ar(e,t):((n=Ar(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Pr(this,Tr(n="string"==typeof n?+n:n,r),e),this}}function Pr(e,t,n,r){var o=t._milliseconds,a=sr(t._days),s=sr(t._months);e.isValid()&&(r=null==r||r,s&&ft(e,Je(e,"Month")+s*n),a&&et(e,"Date",Je(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Tr.fn=or.prototype,Tr.invalid=ir;var Mr=Nr(1,"add"),Lr=Nr(-1,"subtract");function Ir(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Rr(e,t){var n=e||Kn(),r=dr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(L(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Kn(n)))}function Dr(){return new E(this)}function qr(e,t){var n=x(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?ce(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ce(n,"Z")):ce(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Gr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function Kr(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=ce(this,e);return this.localeData().postformat(t)}function Zr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Xr(e){return this.from(Kn(),e)}function $r(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qr(e){return this.to(Kn(),e)}function Jr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ti(){return this._locale}function ni(e){switch(e=$(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ri(e){return void 0===(e=$(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function ii(){return this._d.valueOf()-6e4*(this._offset||0)}function oi(){return Math.floor(this.valueOf()/1e3)}function ai(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ui(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function li(){return this.isValid()?this.toISOString():null}function ci(){return y(this)}function di(){return h({},g(this))}function fi(){return g(this).overflow}function pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function hi(e,t){se(0,[e,e.length],0,t)}function mi(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function vi(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function gi(){return St(this.year(),1,4)}function yi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function bi(e,t,n,r,i){var o;return null==e?xt(this,r,i).year:(t>(o=St(e,r,i))&&(t=o),_i.call(this,e,t,n,r,i))}function _i(e,t,n,r,i){var o=Et(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),X("weekYear","gg"),X("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ne("G",xe),Ne("g",xe),Ne("GG",ge,pe),Ne("gg",ge,pe),Ne("GGGG",we,me),Ne("gggg",we,me),Ne("GGGGG",ke,ve),Ne("ggggg",ke,ve),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=T(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),X("quarter","Q"),ee("quarter",7),Ne("Q",fe),Re("Q",(function(e,t){t[Be]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),X("date","D"),ee("date",9),Ne("D",ge),Ne("DD",ge,pe),Ne("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Re(["D","DD"],Fe),Re("Do",(function(e,t){t[Fe]=T(e.match(ge)[0])}));var ki=Qe("Date",!0);function Ei(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),X("dayOfYear","DDD"),ee("dayOfYear",4),Ne("DDD",_e),Ne("DDDD",he),Re(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=T(e)})),se("m",["mm",2],0,"minute"),X("minute","m"),ee("minute",14),Ne("m",ge),Ne("mm",ge,pe),Re(["m","mm"],ze);var xi=Qe("Minutes",!1);se("s",["ss",2],0,"second"),X("second","s"),ee("second",15),Ne("s",ge),Ne("ss",ge,pe),Re(["s","ss"],He);var Si,Ti=Qe("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),X("millisecond","ms"),ee("millisecond",16),Ne("S",_e,fe),Ne("SS",_e,pe),Ne("SSS",_e,he),Si="SSSS";Si.length<=9;Si+="S")Ne(Si,Ee);function Ci(e,t){t[Ve]=T(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")Re(Si,Ci);var Ai=Qe("Milliseconds",!1);function Oi(){return this._isUTC?"UTC":""}function Ni(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pi=E.prototype;function Mi(e){return Kn(1e3*e)}function Li(){return Kn.apply(null,arguments).parseZone()}function Ii(e){return e}Pi.add=Mr,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=Hr,Pi.endOf=ri,Pi.format=Kr,Pi.from=Zr,Pi.fromNow=Xr,Pi.to=$r,Pi.toNow=Qr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=qr,Pi.isBefore=jr,Pi.isBetween=Br,Pi.isSame=Fr,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=zr,Pi.isValid=ci,Pi.lang=ei,Pi.locale=Jr,Pi.localeData=ti,Pi.max=Xn,Pi.min=Zn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Lr,Pi.toArray=si,Pi.toObject=ui,Pi.toDate=ai,Pi.toISOString=Yr,Pi.inspect=Gr,Pi.toJSON=li,Pi.toString=Wr,Pi.unix=oi,Pi.valueOf=ii,Pi.creationData=pi,Pi.year=Xe,Pi.isLeapYear=$e,Pi.weekYear=mi,Pi.isoWeekYear=vi,Pi.quarter=Pi.quarters=wi,Pi.month=pt,Pi.daysInMonth=ht,Pi.week=Pi.weeks=Nt,Pi.isoWeek=Pi.isoWeeks=Pt,Pi.weeksInYear=yi,Pi.isoWeeksInYear=gi,Pi.date=ki,Pi.day=Pi.days=zt,Pi.weekday=Ht,Pi.isoWeekday=Vt,Pi.dayOfYear=Ei,Pi.hour=Pi.hours=sn,Pi.minute=Pi.minutes=xi,Pi.second=Pi.seconds=Ti,Pi.millisecond=Pi.milliseconds=Ai,Pi.utcOffset=pr,Pi.utc=mr,Pi.local=vr,Pi.parseZone=gr,Pi.hasAlignedHourOffset=yr,Pi.isDST=br,Pi.isLocal=wr,Pi.isUtcOffset=kr,Pi.isUtc=Er,Pi.isUTC=Er,Pi.zoneAbbr=Oi,Pi.zoneName=Ni,Pi.dates=O("dates accessor is deprecated. Use date instead.",ki),Pi.months=O("months accessor is deprecated. Use month instead",pt),Pi.years=O("years accessor is deprecated. Use year instead",Xe),Pi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Pi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var Ri=D.prototype;function Di(e,t,n,r){var i=gn(),o=m().set(r,t);return i[n](o,e)}function qi(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Di(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Di(e,r,n,"month");return i}function ji(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=gn(),a=e?o._week.dow:0;if(null!=n)return Di(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Di(t,(i+a)%7,r,"day");return s}function Bi(e,t){return qi(e,t,"months")}function Fi(e,t){return qi(e,t,"monthsShort")}function Ui(e,t,n){return ji(e,t,n,"weekdays")}function zi(e,t,n){return ji(e,t,n,"weekdaysShort")}function Hi(e,t,n){return ji(e,t,n,"weekdaysMin")}Ri.calendar=j,Ri.longDateFormat=F,Ri.invalidDate=z,Ri.ordinal=W,Ri.preparse=Ii,Ri.postformat=Ii,Ri.relativeTime=G,Ri.pastFuture=K,Ri.set=I,Ri.months=st,Ri.monthsShort=lt,Ri.monthsParse=dt,Ri.monthsRegex=yt,Ri.monthsShortRegex=vt,Ri.week=Tt,Ri.firstDayOfYear=Ot,Ri.firstDayOfWeek=At,Ri.weekdays=Rt,Ri.weekdaysMin=Bt,Ri.weekdaysShort=qt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Yt,Ri.weekdaysShortRegex=Kt,Ri.weekdaysMinRegex=Xt,Ri.isPM=nn,Ri.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",gn);var Vi=Math.abs;function Wi(){var e=this._data;return this._milliseconds=Vi(this._milliseconds),this._days=Vi(this._days),this._months=Vi(this._months),e.milliseconds=Vi(e.milliseconds),e.seconds=Vi(e.seconds),e.minutes=Vi(e.minutes),e.hours=Vi(e.hours),e.months=Vi(e.months),e.years=Vi(e.years),this}function Yi(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Gi(e,t){return Yi(this,e,t,1)}function Ki(e,t){return Yi(this,e,t,-1)}function Zi(e){return e<0?Math.floor(e):Math.ceil(e)}function Xi(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Zi(Qi(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=S(o/1e3),u.seconds=e%60,t=S(e/60),u.minutes=t%60,n=S(t/60),u.hours=n%24,a+=S(n/24),s+=i=S($i(a)),a-=Zi(Qi(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function $i(e){return 4800*e/146097}function Qi(e){return 146097*e/4800}function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"year"===e)return t=this._days+r/864e5,n=this._months+$i(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),ro=to("s"),io=to("m"),oo=to("h"),ao=to("d"),so=to("w"),uo=to("M"),lo=to("y");function co(){return Tr(this)}function fo(e){return e=$(e),this.isValid()?this[e+"s"]():NaN}function po(e){return function(){return this.isValid()?this._data[e]:NaN}}var ho=po("milliseconds"),mo=po("seconds"),vo=po("minutes"),go=po("hours"),yo=po("days"),bo=po("months"),_o=po("years");function wo(){return S(this.days()/7)}var ko=Math.round,Eo={ss:44,s:45,m:45,h:22,d:26,M:11};function xo(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function So(e,t,n){var r=Tr(e).abs(),i=ko(r.as("s")),o=ko(r.as("m")),a=ko(r.as("h")),s=ko(r.as("d")),u=ko(r.as("M")),l=ko(r.as("y")),c=i<=Eo.ss&&["s",i]||i0,c[4]=n,xo.apply(null,c)}function To(e){return void 0===e?ko:"function"==typeof e&&(ko=e,!0)}function Co(e,t){return void 0!==Eo[e]&&(void 0===t?Eo[e]:(Eo[e]=t,"s"===e&&(Eo.ss=t-1),!0))}function Ao(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=So(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var Oo=Math.abs;function No(e){return(e>0)-(e<0)||+e}function Po(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Oo(this._milliseconds)/1e3,r=Oo(this._days),i=Oo(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=No(this._months)!==No(d)?"-":"",h=No(this._days)!==No(d)?"-":"",m=No(this._milliseconds)!==No(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||l||c?"T":"")+(u?m+u+"H":"")+(l?m+l+"M":"")+(c?m+c+"S":"")}var Mo=or.prototype;return Mo.isValid=rr,Mo.abs=Wi,Mo.add=Gi,Mo.subtract=Ki,Mo.as=Ji,Mo.asMilliseconds=no,Mo.asSeconds=ro,Mo.asMinutes=io,Mo.asHours=oo,Mo.asDays=ao,Mo.asWeeks=so,Mo.asMonths=uo,Mo.asYears=lo,Mo.valueOf=eo,Mo._bubble=Xi,Mo.clone=co,Mo.get=fo,Mo.milliseconds=ho,Mo.seconds=mo,Mo.minutes=vo,Mo.hours=go,Mo.days=yo,Mo.weeks=wo,Mo.months=bo,Mo.years=_o,Mo.humanize=Ao,Mo.toISOString=Po,Mo.toString=Po,Mo.toJSON=Po,Mo.locale=Jr,Mo.localeData=ti,Mo.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Mo.lang=ei,se("X",0,0,"unix"),se("x",0,0,"valueOf"),Ne("x",xe),Ne("X",Ce),Re("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),Re("x",(function(e,t,n){n._d=new Date(T(e))})),i.version="2.23.0",o(Kn),i.fn=Pi,i.min=Qn,i.max=Jn,i.now=er,i.utc=m,i.unix=Mi,i.months=Bi,i.isDate=d,i.locale=hn,i.invalid=b,i.duration=Tr,i.isMoment=x,i.weekdays=Ui,i.parseZone=Li,i.localeData=gn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=Hi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=zi,i.normalizeUnits=$,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Ir,i.prototype=Pi,i.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"},i}()},11419:function(e,t,n){var r=n(51492)();r.helpers=n(68743),n(52371)(r),r.Animation=n(20393),r.animationService=n(68762),r.defaults=n(4398),r.Element=n(20054),r.elements=n(96292),r.Interaction=n(53110),r.layouts=n(49234),r.platform=n(14511),r.plugins=n(91408),r.Scale=n(26925),r.scaleService=n(73920),r.Ticks=n(81933),r.Tooltip=n(18680),n(1210)(r),n(63946)(r),n(94979)(r),n(63318)(r),n(61503)(r),n(26524)(r),n(88759)(r),n(82172)(r),n(39914)(r),n(69486)(r),n(93547)(r),n(3643)(r),n(3843)(r),n(17340)(r),n(75084)(r),n(26295)(r),n(48133)(r),n(87362)(r),n(50498)(r),n(51653)(r),n(85610)(r),n(38563)(r);var i=n(29325);for(var o in i)i.hasOwnProperty(o)&&r.plugins.register(i[o]);r.platform.initialize(),e.exports=r,"undefined"!=typeof window&&(window.Chart=r),r.Legend=i.legend._element,r.Title=i.title._element,r.pluginService=r.plugins,r.PluginBase=r.Element.extend({}),r.canvasHelpers=r.helpers.canvas,r.layoutService=r.layouts},26295:function(e){"use strict";e.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},48133:function(e){"use strict";e.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},87362:function(e){"use strict";e.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},50498:function(e){"use strict";e.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},51653:function(e){"use strict";e.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},85610:function(e){"use strict";e.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},38563:function(e){"use strict";e.exports=function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},39914:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),r._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(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index0?Math.min(a,r-n):a,n=r;return a}(i,d):-1,{min:n,pixels:d,start:l,end:c,stackCount:a,scale:i}},calculateBarValuePixels:function(e,t){var n,r,i,o,a,s,u=this,l=u.chart,c=u.getMeta(),d=u.getValueScale(),f=l.data.datasets,p=d.getRightValue(f[e].data[t]),h=d.options.stacked,m=c.stack,v=0;if(h||void 0===h&&void 0!==m)for(n=0;n=0&&i>0)&&(v+=i));return o=d.getPixelForValue(v),{size:s=((a=d.getPixelForValue(v+p))-o)/2,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(e,t,n){var r=n.scale.options,i="flex"===r.barThickness?function(e,t,n){var r,i=t.pixels,o=i[e],a=e>0?i[e-1]:null,s=e');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o'),i[o]&&t.push(i[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r],u=s&&s.custom||{},l=o.valueAtIndexOrDefault,c=e.options.elements.arc;return{text:n,fillStyle:u.backgroundColor?u.backgroundColor:l(a.backgroundColor,r,c.backgroundColor),strokeStyle:u.borderColor?u.borderColor:l(a.borderColor,r,c.borderColor),lineWidth:u.borderWidth?u.borderWidth:l(a.borderWidth,r,c.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n=Math.PI?-1:h<-Math.PI?1:0))+p,v={x:Math.cos(h),y:Math.sin(h)},g={x:Math.cos(m),y:Math.sin(m)},y=h<=0&&m>=0||h<=2*Math.PI&&2*Math.PI<=m,b=h<=.5*Math.PI&&.5*Math.PI<=m||h<=2.5*Math.PI&&2.5*Math.PI<=m,_=h<=-Math.PI&&-Math.PI<=m||h<=Math.PI&&Math.PI<=m,w=h<=.5*-Math.PI&&.5*-Math.PI<=m||h<=1.5*Math.PI&&1.5*Math.PI<=m,k=f/100,E={x:_?-1:Math.min(v.x*(v.x<0?1:k),g.x*(g.x<0?1:k)),y:w?-1:Math.min(v.y*(v.y<0?1:k),g.y*(g.y<0?1:k))},x={x:y?1:Math.max(v.x*(v.x>0?1:k),g.x*(g.x>0?1:k)),y:b?1:Math.max(v.y*(v.y>0?1:k),g.y*(g.y>0?1:k))},S={width:.5*(x.x-E.x),height:.5*(x.y-E.y)};l=Math.min(s/S.width,u/S.height),c={x:-.5*(x.x+E.x),y:-.5*(x.y+E.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((l-n.borderWidth)/2,0),n.innerRadius=Math.max(f?n.outerRadius/100*f:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=t.calculateTotal(),t.outerRadius=n.outerRadius-n.radiusLength*t.getRingIndex(t.index),t.innerRadius=Math.max(t.outerRadius-n.radiusLength,0),o.each(d.data,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,i=r.chart,a=i.chartArea,s=i.options,u=s.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=s.rotation,f=s.rotation,p=r.getDataset(),h=n&&u.animateRotate||e.hidden?0:r.calculateCircumference(p.data[t])*(s.circumference/(2*Math.PI)),m=n&&u.animateScale?0:r.innerRadius,v=n&&u.animateScale?0:r.outerRadius,g=o.valueAtIndexOrDefault;o.extend(e,{_datasetIndex:r.index,_index:t,_model:{x:l+i.offsetX,y:c+i.offsetY,startAngle:d,endAngle:f,circumference:h,outerRadius:v,innerRadius:m,label:g(p.label,t,i.data.labels[t])}});var y=e._model,b=e.custom||{},_=o.valueAtIndexOrDefault,w=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:_(p.backgroundColor,t,w.backgroundColor),y.borderColor=b.borderColor?b.borderColor:_(p.borderColor,t,w.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:_(p.borderWidth,t,w.borderWidth),n&&u.animateRotate||(y.startAngle=0===t?s.rotation:r.getMeta().data[t-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return o.each(n.data,(function(n,i){e=t.data[i],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,i=this.index,o=e.length,a=0;a(r=t>r?t:r)?n:r;return r}})}},3643:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._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(e){function t(e,t){return o.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,update:function(e){var n,r,i,a=this,s=a.getMeta(),u=s.dataset,l=s.data||[],c=a.chart.options,d=c.elements.line,f=a.getScaleForId(s.yAxisID),p=a.getDataset(),h=t(p,c);for(h&&(i=u.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),u._scale=f,u._datasetIndex=a.index,u._children=l,u._model={spanGaps:p.spanGaps?p.spanGaps:c.spanGaps,tension:i.tension?i.tension:o.valueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:o.valueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:o.valueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode)},u.pivot()),n=0,r=l.length;n');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o'),i[o]&&t.push(i[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r].custom||{},u=o.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(a.backgroundColor,r,l.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(a.borderColor,r,l.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(a.borderWidth,r,l.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var r=Date.now();e.dropFrames+=(r-t)/e.frameDuration,e.animations.length>0&&e.requestAnimationFrame()},advance:function(e){for(var t,n,r=this.animations,o=0;o=t.numSteps?(i.callback(t.onAnimationComplete,[t],n),n.animating=!1,r.splice(o,1)):++o}}},1210:function(e,t,n){"use strict";var r=n(20393),i=n(68762),o=n(4398),a=n(68743),s=n(53110),u=n(49234),l=n(14511),c=n(91408),d=n(73920),f=n(18680);e.exports=function(e){function t(t){var n=t.options;a.each(t.scales,(function(e){u.removeBox(t,e)})),n=a.configMerge(e.defaults.global,e.defaults[t.config.type],n),t.options=t.config.options=n,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=n.tooltips,t.tooltip.initialize()}function n(e){return"top"===e||"bottom"===e}e.types={},e.instances={},e.controllers={},a.extend(e.prototype,{construct:function(t,n){var r=this;n=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=a.configMerge(o.global,o[e.type],e.options||{}),e}(n);var i=l.acquireContext(t,n),s=i&&i.canvas,u=s&&s.height,c=s&&s.width;r.id=a.uid(),r.ctx=i,r.canvas=s,r.config=n,r.width=c,r.height=u,r.aspectRatio=u?c/u:null,r.options=n.options,r._bufferedRender=!1,r.chart=r,r.controller=r,e.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(e){r.config.data=e}}),i&&s?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return c.notify(e,"beforeInit"),a.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),c.notify(e,"afterInit"),e},clear:function(){return a.canvas.clear(this),this},stop:function(){return i.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(a.getMaximumWidth(r))),s=Math.max(0,Math.floor(i?o/i:a.getMaximumHeight(r)));if((t.width!==o||t.height!==s)&&(r.width=t.width=o,r.height=t.height=s,r.style.width=o+"px",r.style.height=s+"px",a.retinaScale(t,n.devicePixelRatio),!e)){var u={width:o,height:s};c.notify(t,"resize",[u]),t.options.onResize&&t.options.onResize(t,u),t.stop(),t.update({duration:t.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;a.each(t.xAxes,(function(e,t){e.id=e.id||"x-axis-"+t})),a.each(t.yAxes,(function(e,t){e.id=e.id||"y-axis-"+t})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,r=e.scales||{},i=[],o=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(i,(function(t){var i=t.options,s=i.id,u=a.valueOrDefault(i.type,t.dtype);n(i.position)!==n(t.dposition)&&(i.position=t.dposition),o[s]=!0;var l=null;if(s in r&&r[s].type===u)(l=r[s]).options=i,l.ctx=e.ctx,l.chart=e;else{var c=d.getScaleConstructor(u);if(!c)return;l=new c({id:s,type:u,options:i,ctx:e.ctx,chart:e}),r[l.id]=l}l.mergeTicksOptions(),t.isDefault&&(e.scale=l)})),a.each(o,(function(e,t){e||delete r[t]})),e.scales=r,d.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,n=[],r=[];return a.each(t.data.datasets,(function(i,o){var a=t.getDatasetMeta(o),s=i.type||t.config.type;if(a.type&&a.type!==s&&(t.destroyDatasetMeta(o),a=t.getDatasetMeta(o)),a.type=s,n.push(a.type),a.controller)a.controller.updateIndex(o),a.controller.linkScales();else{var u=e.controllers[a.type];if(void 0===u)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new u(t,o),r.push(a.controller)}}),t),r},resetElements:function(){var e=this;a.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var n=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),t(n),c._invalidate(n),!1!==c.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();a.each(n.data.datasets,(function(e,t){n.getDatasetMeta(t).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&a.each(r,(function(e){e.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],c.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){var e=this;!1!==c.notify(e,"beforeLayout")&&(u.update(this,this.width,this.height),c.notify(e,"afterScaleUpdate"),c.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==c.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);c.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r=n.getDatasetMeta(e),i={meta:r,index:e,easingValue:t};!1!==c.notify(n,"beforeDatasetDraw",[i])&&(r.controller.draw(t),c.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==c.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),c.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return s.modes.single(this,e)},getElementsAtEvent:function(e){return s.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return s.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=s.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return s.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t0||(t.forEach((function(t){delete e[t]})),delete e._chartjs)}}e.DatasetController=function(e,t){this.initialize(e,t)},r.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),i=n.getDataset().data||[],o=r.data;for(e=0,t=i.length;er&&e.insertElements(r,i-r)},insertElements:function(e,t){for(var n=0;n=t[e].length&&t[e].push({}),!t[e][i].type||u.type&&u.type!==t[e][i].type?o.merge(t[e][i],[a.getScaleDefaults(s),u]):o.merge(t[e][i],u)}else o._merger(e,t,n,r)}})},o.where=function(e,t){if(o.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return o.each(e,(function(e){t(e)&&n.push(e)})),n},o.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r=0;r--){var i=e[r];if(t(i))return i}},o.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},o.almostEquals=function(e,t,n){return Math.abs(e-t)e},o.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},o.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},o.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},o.toRadians=function(e){return e*(Math.PI/180)},o.toDegrees=function(e){return e*(180/Math.PI)},o.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},o.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},o.aliasPixel=function(e){return e%2==0?0:.5},o.splineCurve=function(e,t,n,r){var i=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),u=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),l=s/(s+u),c=u/(s+u),d=r*(l=isNaN(l)?0:l),f=r*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(e){var t,n,r,i,a,s,u,l,c,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),f=d.length;for(t=0;t0?d[t-1]:null,(i=t0?d[t-1]:null,i=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},o.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},o.niceNum=function(e,t){var n=Math.floor(o.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},o.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,s=a.getBoundingClientRect(),u=i.touches;u&&u.length>0?(n=u[0].clientX,r=u[0].clientY):(n=i.clientX,r=i.clientY);var l=parseFloat(o.getStyle(a,"padding-left")),c=parseFloat(o.getStyle(a,"padding-top")),d=parseFloat(o.getStyle(a,"padding-right")),f=parseFloat(o.getStyle(a,"padding-bottom")),p=s.right-s.left-l-d,h=s.bottom-s.top-c-f;return{x:n=Math.round((n-s.left-l)/p*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-c)/h*a.height/t.currentDevicePixelRatio)}},o.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},o.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},o._calculatePadding=function(e,t,n){return(t=o.getStyle(e,t)).indexOf("%")>-1?n/parseInt(t,10):parseInt(t,10)},o._getParentNode=function(e){var t=e.parentNode;return t&&t.host&&(t=t.host),t},o.getMaximumWidth=function(e){var t=o._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-o._calculatePadding(t,"padding-left",n)-o._calculatePadding(t,"padding-right",n),i=o.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},o.getMaximumHeight=function(e){var t=o._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-o._calculatePadding(t,"padding-top",n)-o._calculatePadding(t,"padding-bottom",n),i=o.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},o.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},o.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,o=e.width;r.height=i*n,r.width=o*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},o.fontString=function(e,t,n){return t+" "+e+"px "+n},o.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var s=0;o.each(n,(function(t){null!=t&&!0!==o.isArray(t)?s=o.measureText(e,i,a,s,t):o.isArray(t)&&o.each(t,(function(t){null==t||o.isArray(t)||(s=o.measureText(e,i,a,s,t))}))}));var u=a.length/2;if(u>n.length){for(var l=0;lr&&(r=o),r},o.numberOfLabelLines=function(e){var t=1;return o.each(e,(function(e){o.isArray(e)&&e.length>t&&(t=e.length)})),t},o.color=r?function(e){return e instanceof CanvasGradient&&(e=i.global.defaultColor),r(e)}:function(e){return console.error("Color.js not found!"),e},o.getHoverColor=function(e){return e instanceof CanvasPattern?e:o.color(e).saturate(.5).darken(.1).rgbString()}}},53110:function(e,t,n){"use strict";var r=n(68743);function i(e,t){return e.native?{x:e.x,y:e.y}:r.getRelativePosition(e,t)}function o(e,t){var n,r,i,o,a;for(r=0,o=e.data.datasets.length;r0&&(l=e.getDatasetMeta(l[0]._datasetIndex).data),l},"x-axis":function(e,t){return l(e,t,{intersect:!1})},point:function(e,t){return a(e,i(t,e))},nearest:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=u(n.axis),a=s(e,r,n.intersect,o);return a.length>1&&a.sort((function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n})),a.slice(0,1)},x:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)})),n.intersect&&!s&&(a=[]),a},y:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)})),n.intersect&&!s&&(a=[]),a}}}},51492:function(e,t,n){"use strict";n(4398)._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 e=function(e,t){return this.construct(e,t),this};return e.Chart=e,e}},49234:function(e,t,n){"use strict";var r=n(68743);function i(e,t){return r.where(e,(function(e){return e.position===t}))}function o(e,t){e.forEach((function(e,t){return e._tmpIndex_=t,e})),e.sort((function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r._tmpIndex_-i._tmpIndex_:r.weight-i.weight})),e.forEach((function(e){delete e._tmpIndex_}))}e.exports={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],o=i.length,a=0;af&&ae.maxHeight){a--;break}a++,d=u*l}e.labelRotation=a},afterCalculateTickRotation:function(){o.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){o.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=s(e._ticks),r=e.options,i=r.ticks,a=r.scaleLabel,u=r.gridLines,f=r.display,p=e.isHorizontal(),h=c(i),m=r.gridLines.tickMarkLength;if(t.width=p?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:f&&u.drawTicks?m:0,t.height=p?f&&u.drawTicks?m:0:e.maxHeight,a.display&&f){var v=d(a)+o.options.toPadding(a.padding).height;p?t.height+=v:t.width+=v}if(i.display&&f){var g=o.longestText(e.ctx,h.font,n,e.longestTextCache),y=o.numberOfLabelLines(n),b=.5*h.size,_=e.options.ticks.padding;if(p){e.longestLabelWidth=g;var w=o.toRadians(e.labelRotation),k=Math.cos(w),E=Math.sin(w)*g+h.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+E+_),e.ctx.font=h.font;var x=l(e.ctx,n[0],h.font),S=l(e.ctx,n[n.length-1],h.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?k*x+3:k*b+3,e.paddingRight="bottom"===r.position?k*b+3:k*S+3):(e.paddingLeft=x/2+3,e.paddingRight=S/2+3)}else i.mirror?g=0:g+=_+b,t.width=Math.min(e.maxWidth,t.width+g),e.paddingTop=h.size/2,e.paddingBottom=h.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(o.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var r=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),i=r*e+t.paddingLeft;n&&(i+=r/2);var o=t.left+Math.round(i);return o+=t.isFullWidth()?t.margins.left:0}var a=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(a/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,r=t.left+Math.round(n);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,i,a=this,s=a.isHorizontal(),u=a.options.ticks.minor,l=e.length,c=o.toRadians(a.labelRotation),d=Math.cos(c),f=a.longestLabelWidth*d,p=[];for(u.maxTicksLimit&&(i=u.maxTicksLimit),s&&(t=!1,(f+u.autoSkipPadding)*l>a.width-(a.paddingLeft+a.paddingRight)&&(t=1+Math.floor((f+u.autoSkipPadding)*l/(a.width-(a.paddingLeft+a.paddingRight)))),i&&l>i&&(t=Math.max(t,Math.floor(l/i)))),n=0;n1&&n%t>0||n%t==0&&n+t>=l)&&n!==l-1&&delete r.label,p.push(r);return p},draw:function(e){var t=this,n=t.options;if(n.display){var i=t.ctx,a=r.global,s=n.ticks.minor,l=n.ticks.major||s,f=n.gridLines,p=n.scaleLabel,h=0!==t.labelRotation,m=t.isHorizontal(),v=s.autoSkip?t._autoSkip(t.getTicks()):t.getTicks(),g=o.valueOrDefault(s.fontColor,a.defaultFontColor),y=c(s),b=o.valueOrDefault(l.fontColor,a.defaultFontColor),_=c(l),w=f.drawTicks?f.tickMarkLength:0,k=o.valueOrDefault(p.fontColor,a.defaultFontColor),E=c(p),x=o.options.toPadding(p.padding),S=o.toRadians(t.labelRotation),T=[],C=t.options.gridLines.lineWidth,A="right"===n.position?t.left:t.right-C-w,O="right"===n.position?t.left+w:t.right,N="bottom"===n.position?t.top+C:t.bottom-w-C,P="bottom"===n.position?t.top+C+w:t.bottom+C;if(o.each(v,(function(r,i){if(!o.isNullOrUndef(r.label)){var l,c,d,p,g,y,b,_,k,E,x,M,L,I,R=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(l=f.zeroLineWidth,c=f.zeroLineColor,d=f.zeroLineBorderDash,p=f.zeroLineBorderDashOffset):(l=o.valueAtIndexOrDefault(f.lineWidth,i),c=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),p=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var D="middle",q="middle",j=s.padding;if(m){var B=w+j;"bottom"===n.position?(q=h?"middle":"top",D=h?"right":"center",I=t.top+B):(q=h?"middle":"bottom",D=h?"left":"center",I=t.bottom-B);var F=u(t,i,f.offsetGridLines&&v.length>1);F1);H3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var o=r.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var s=r.log10(Math.abs(e));a=e.toExponential(Math.floor(s)-Math.floor(o))}else{var u=-1*Math.floor(o);u=Math.max(Math.min(u,20),0),a=e.toFixed(u)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(r.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}}},18680:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743);r._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:o.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var o=e[0];o.xLabel?n=o.xLabel:i>0&&o.index-1?e.split("\n"):e}function c(e){var t=r.global,n=o.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function d(e){return u([],l(e))}var f=e.exports=i.extend({initialize:function(){this._model=c(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),i=n.title.apply(e,arguments),o=n.afterTitle.apply(e,arguments),a=[];return a=u(a,l(r)),a=u(a,l(i)),a=u(a,l(o))},getBeforeBody:function(){return d(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,i=[];return o.each(e,(function(e){var o={before:[],lines:[],after:[]};u(o.before,l(r.beforeLabel.call(n,e,t))),u(o.lines,r.label.call(n,e,t)),u(o.after,l(r.afterLabel.call(n,e,t))),i.push(o)})),i},getAfterBody:function(){return d(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),i=t.afterFooter.apply(e,arguments),o=[];return o=u(o,l(n)),o=u(o,l(r)),o=u(o,l(i))},update:function(e){var t,n,r,i,s,u,l,d=this,f=d._options,p=d._model,h=d._model=c(f),m=d._active,v=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},b={width:p.width,height:p.height},_={x:p.caretX,y:p.caretY};if(m.length){h.opacity=1;var w=[],k=[];_=a[f.position].call(d,m,d._eventPosition);var E=[];for(t=0,n=m.length;tu.height-t.height&&(d="bottom");var f=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===d?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=u.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>u.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=p?"top":"bottom"},n(s.x)?(c="left",i(s.x)&&(c="center",d=a(s.y))):r(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:c,yAlign:h.yAlign?h.yAlign:d}}(this,b),y=function(e,t,n,r){var i=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,u=e.cornerRadius,l=n.xAlign,c=n.yAlign,d=a+s,f=u+s;return"right"===l?i-=t.width:"center"===l&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===c?o+=d:o-="bottom"===c?t.height+d:t.height/2,"center"===c?"left"===l?i+=d:"right"===l&&(i-=d):"left"===l?i-=f:"right"===l&&(i+=f),{x:i,y:o}}(h,b,g,d._chart)}else h.opacity=0;return h.xAlign=g.xAlign,h.yAlign=g.yAlign,h.x=y.x,h.y=y.y,h.width=b.width,h.height=b.height,h.caretX=_.x,h.caretY=_.y,d._model=h,e&&f.custom&&f.custom.call(d,h),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,o,a,s,u,l=n.caretSize,c=n.cornerRadius,d=n.xAlign,f=n.yAlign,p=e.x,h=e.y,m=t.width,v=t.height;if("center"===f)s=h+v/2,"left"===d?(i=(r=p)-l,o=r,a=s+l,u=s-l):(i=(r=p+m)+l,o=r,a=s-l,u=s+l);else if("left"===d?(r=(i=p+c+l)-l,o=i+l):"right"===d?(r=(i=p+m-c-l)-l,o=i+l):(r=(i=n.caretX)-l,o=i+l),"top"===f)s=(a=h)-l,u=a;else{s=(a=h+v)+l,u=a;var g=o;o=r,r=g}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:u}},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var a,u,l=t.titleFontSize,c=t.titleSpacing;for(n.fillStyle=s(t.titleFontColor,r),n.font=o.fontString(l,t._titleFontStyle,t._titleFontFamily),a=0,u=i.length;a0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(this.drawBackground(r,t,e,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i))}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),(t=!o.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}});f.positioners=a},2880:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743);r._set("global",{elements:{arc:{backgroundColor:r.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=i.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)u;)i-=2*Math.PI;for(;i=s&&i<=u,c=a>=n.innerRadius&&a<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,r=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,r),e.arc(t.x,t.y,t.innerRadius,r,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},43693:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=r.global;r._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=i.extend({draw:function(){var e,t,n,r,i=this,s=i._view,u=i._chart.ctx,l=s.spanGaps,c=i._children.slice(),d=a.elements.line,f=-1;for(i._loop&&c.length&&c.push(c[0]),u.save(),u.lineCap=s.borderCapStyle||d.borderCapStyle,u.setLineDash&&u.setLineDash(s.borderDash||d.borderDash),u.lineDashOffset=s.borderDashOffset||d.borderDashOffset,u.lineJoin=s.borderJoinStyle||d.borderJoinStyle,u.lineWidth=s.borderWidth||d.borderWidth,u.strokeStyle=s.borderColor||a.defaultColor,u.beginPath(),f=-1,e=0;e=e.left&&1.01*e.right>=n.x&&n.y>=e.top&&1.01*e.bottom>=n.y)&&(i.strokeStyle=t.borderColor||a,i.lineWidth=o.valueOrDefault(t.borderWidth,r.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||a,o.canvas.drawPoint(i,s,l,c,d,u))}})},40547:function(e,t,n){"use strict";var r=n(4398),i=n(20054);function o(e){return void 0!==e._view.width}function a(e){var t,n,r,i,a=e._view;if(o(e)){var s=a.width/2;t=a.x-s,n=a.x+s,r=Math.min(a.y,a.base),i=Math.max(a.y,a.base)}else{var u=a.height/2;t=Math.min(a.x,a.base),n=Math.max(a.x,a.base),r=a.y-u,i=a.y+u}return{left:t,top:r,right:n,bottom:i}}r._set("global",{elements:{rectangle:{backgroundColor:r.global.defaultColor,borderColor:r.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=i.extend({draw:function(){var e,t,n,r,i,o,a,s=this._chart.ctx,u=this._view,l=u.borderWidth;if(u.horizontal?(e=u.base,t=u.x,n=u.y-u.height/2,r=u.y+u.height/2,i=t>e?1:-1,o=1,a=u.borderSkipped||"left"):(e=u.x-u.width/2,t=u.x+u.width/2,n=u.y,i=1,o=(r=u.base)>n?1:-1,a=u.borderSkipped||"bottom"),l){var c=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(l=l>c?c:l)/2,f=e+("left"!==a?d*i:0),p=t+("right"!==a?-d*i:0),h=n+("top"!==a?d*o:0),m=r+("bottom"!==a?-d*o:0);f!==p&&(n=h,r=m),h!==m&&(e=f,t=p)}s.beginPath(),s.fillStyle=u.backgroundColor,s.strokeStyle=u.borderColor,s.lineWidth=l;var v=[[e,r],[e,n],[t,n],[t,r]],g=["bottom","left","top","right"].indexOf(a,0);function y(e){return v[(g+e)%4]}-1===g&&(g=0);var b=y(0);s.moveTo(b[0],b[1]);for(var _=1;_<4;_++)b=y(_),s.lineTo(b[0],b[1]);s.fill(),l&&s.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var r=a(this);n=e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom}return n},inLabelRange:function(e,t){var n=this;if(!n._view)return!1;var r=a(n);return o(n)?e>=r.left&&e<=r.right:t>=r.top&&t<=r.bottom},inXRange:function(e){var t=a(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=a(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return o(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},96292:function(e,t,n){"use strict";e.exports={},e.exports.Arc=n(2880),e.exports.Line=n(43693),e.exports.Point=n(95682),e.exports.Rectangle=n(40547)},15791:function(e,t,n){"use strict";var r=n(17767),i=e.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,o){if(o){var a=Math.min(o,i/2-1e-7,r/2-1e-7);e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.arcTo(t+r,n,t+r,n+a,a),e.lineTo(t+r,n+i-a),e.arcTo(t+r,n+i,t+r-a,n+i,a),e.lineTo(t+a,n+i),e.arcTo(t,n+i,t,n+i-a,a),e.lineTo(t,n+a),e.arcTo(t,n,t+a,n,a),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,o){var a,s,u,l,c,d;if(o=o||0,!t||"object"!=typeof t||"[object HTMLImageElement]"!==(a=t.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(e.save(),e.translate(r,i),e.rotate(o*Math.PI/180),e.beginPath(),t){default:e.arc(0,0,n,0,2*Math.PI),e.closePath();break;case"triangle":c=(s=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(-s/2,c/3),e.lineTo(s/2,c/3),e.lineTo(0,-2*c/3),e.closePath();break;case"rect":d=1/Math.SQRT2*n,e.rect(-d,-d,2*d,2*d);break;case"rectRounded":var f=n/Math.SQRT2,p=-f,h=-f,m=Math.SQRT2*n;this.roundedRect(e,p,h,m,m,.425*n);break;case"rectRot":d=1/Math.SQRT2*n,e.moveTo(-d,0),e.lineTo(0,d),e.lineTo(d,0),e.lineTo(0,-d),e.closePath();break;case"cross":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0);break;case"crossRot":u=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(-u,-l),e.lineTo(u,l),e.moveTo(-u,l),e.lineTo(u,-l);break;case"star":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0),u=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(-u,-l),e.lineTo(u,l),e.moveTo(-u,l),e.lineTo(u,-l);break;case"line":e.moveTo(-n,0),e.lineTo(n,0);break;case"dash":e.moveTo(0,0),e.lineTo(n,0)}e.fill(),e.stroke(),e.restore()}}else e.drawImage(t,r-t.width/2,i-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){if(n.steppedLine)return"after"===n.steppedLine&&!r||"after"!==n.steppedLine&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}};r.clear=i.clear,r.drawRoundedRectangle=function(e){e.beginPath(),i.roundedRect.apply(i,arguments)}},17767:function(e){"use strict";var t,n={noop:function(){},uid:(t=0,function(){return t++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,r){return n.valueOrDefault(n.isArray(e)?e[t]:e,r)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,r,i){var o,a,s;if(n.isArray(e))if(a=e.length,i)for(o=a-1;o>=0;o--)t.call(r,e[o],o);else for(o=0;o=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-i.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*i.easeInBounce(2*e):.5*i.easeOutBounce(2*e-1)+.5}};e.exports={effects:i},r.easingEffects=i},67684:function(e,t,n){"use strict";var r=n(17767);e.exports={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,o;return r.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,o=+e.left||0):t=n=i=o=+e||0,{top:t,right:n,bottom:i,left:o,height:t+i,width:o+n}},resolve:function(e,t,n){var i,o,a;for(i=0,o=e.length;i
';var o=t.childNodes[0],a=t.childNodes[1];t._reset=function(){o.scrollLeft=r,o.scrollTop=r,a.scrollLeft=r,a.scrollTop=r};var s=function(){t._reset(),e()};return c(o,"scroll",s.bind(o,"expand")),c(a,"scroll",s.bind(a,"shrink")),t}((s=function(){if(p.resizer)return t(f("resize",n))},l=!1,d=[],function(){d=Array.prototype.slice.call(arguments),u=u||this,l||(l=!0,r.requestAnimFrame.call(window,(function(){l=!1,s.apply(u,d)})))}));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),s=n.renderProxy=function(e){e.animationName===o&&t()};r.each(a,(function(t){c(e,t,s)})),n.reflow=!!e.offsetParent,e.classList.add(i)}(e,(function(){if(p.resizer){var t=e.parentNode;t&&t!==h.parentNode&&t.insertBefore(h,t.firstChild),h._reset()}}))}function h(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(r.each(a,(function(t){d(e,t,n)})),delete t.renderProxy),e.classList.remove(i)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,r="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes chartjs-render-animation{"+r+"}@keyframes "+o+"{"+r+"}."+i+"{-webkit-animation:"+o+" 0.001s;animation:"+o+" 0.001s;}",n=(e=this)._style||document.createElement("style"),e._style||(e._style=n,t="/* Chart.js */\n"+t,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var o=u(e,"width");void 0!==o&&(e.width=o)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=u(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];r.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),r.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var o=n.$chartjs||(n.$chartjs={}),a=(o.proxies||(o.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=s[e.type]||e.type,i=r.getRelativePosition(e,t);return f(n,t,i.x,i.y,e)}(t,e))};c(i,t,a)}else p(i,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];i&&d(r,t,i)}else h(r)}},r.addEvent=c,r.removeEvent=d},14511:function(e,t,n){"use strict";var r=n(68743),i=n(40204),o=n(25293),a=o._enabled?o:i;e.exports=r.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},29325:function(e,t,n){"use strict";e.exports={},e.exports.filler=n(24687),e.exports.legend=n(26486),e.exports.title=n(47060)},24687:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("global",{plugins:{filler:{propagate:!0}}});var a={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],o=i.length||0;return o?function(e,t){return t=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function u(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePosition?o=r.getBasePosition():r.getBasePixel&&(o=r.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(t=r.isHorizontal())?o:null,y:t?null:o}}return null}function l(e,t,n){var r,i=e[t].fill,o=[t];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function c(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),a[n](e))}function d(e){return e&&!e.skip}function f(e,t,n,r,i){var a;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a0;--a)o.canvas.lineTo(e,n[a],n[a-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,o,a,d=(e.data.datasets||[]).length,f=t.propagate,p=[];for(r=0;r');for(var n=0;n'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("");return t.push(""),t.join("")}});var l=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var e=this,t=e.options.labels||{},n=o.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,a=e.ctx,s=r.global,l=o.valueOrDefault,c=l(n.fontSize,s.defaultFontSize),d=l(n.fontStyle,s.defaultFontStyle),f=l(n.fontFamily,s.defaultFontFamily),p=o.fontString(c,d,f),h=e.legendHitBoxes=[],m=e.minSize,v=e.isHorizontal();if(v?(m.width=e.maxWidth,m.height=i?10:0):(m.width=i?10:0,m.height=e.maxHeight),i)if(a.font=p,v){var g=e.lineWidths=[0],y=e.legendItems.length?c+n.padding:0;a.textAlign="left",a.textBaseline="top",o.each(e.legendItems,(function(t,r){var i=u(n,c)+c/2+a.measureText(t.text).width;g[g.length-1]+i+n.padding>=e.width&&(y+=c+n.padding,g[g.length]=e.left),h[r]={left:0,top:0,width:i,height:c},g[g.length-1]+=i+n.padding})),m.height+=y}else{var b=n.padding,_=e.columnWidths=[],w=n.padding,k=0,E=0,x=c+b;o.each(e.legendItems,(function(e,t){var r=u(n,c)+c/2+a.measureText(e.text).width;E+x>m.height&&(w+=k+n.padding,_.push(k),k=0,E=0),k=Math.max(k,r),E+=x,h[t]={left:0,top:0,width:r,height:c}})),w+=k,_.push(k),m.width+=w}e.width=m.width,e.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=r.global,a=i.elements.line,s=e.width,l=e.lineWidths;if(t.display){var c,d=e.ctx,f=o.valueOrDefault,p=f(n.fontColor,i.defaultFontColor),h=f(n.fontSize,i.defaultFontSize),m=f(n.fontStyle,i.defaultFontStyle),v=f(n.fontFamily,i.defaultFontFamily),g=o.fontString(h,m,v);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=g;var y=u(n,h),b=e.legendHitBoxes,_=e.isHorizontal();c=_?{x:e.left+(s-l[0])/2,y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+n.padding,line:0};var w=h+n.padding;o.each(e.legendItems,(function(r,u){var p=d.measureText(r.text).width,m=y+h/2+p,v=c.x,g=c.y;_?v+m>=s&&(g=c.y+=w,c.line++,v=c.x=e.left+(s-l[c.line])/2):g+w>e.bottom&&(v=c.x=v+e.columnWidths[c.line]+n.padding,g=c.y=e.top+n.padding,c.line++),function(e,n,r){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=f(r.fillStyle,i.defaultColor),d.lineCap=f(r.lineCap,a.borderCapStyle),d.lineDashOffset=f(r.lineDashOffset,a.borderDashOffset),d.lineJoin=f(r.lineJoin,a.borderJoinStyle),d.lineWidth=f(r.lineWidth,a.borderWidth),d.strokeStyle=f(r.strokeStyle,i.defaultColor);var s=0===f(r.lineWidth,a.borderWidth);if(d.setLineDash&&d.setLineDash(f(r.lineDash,a.borderDash)),t.labels&&t.labels.usePointStyle){var u=h*Math.SQRT2/2,l=u/Math.SQRT2,c=e+l,p=n+l;o.canvas.drawPoint(d,r.pointStyle,u,c,p)}else s||d.strokeRect(e,n,y,h),d.fillRect(e,n,y,h);d.restore()}}(v,g,r),b[u].left=v,b[u].top=g,function(e,t,n,r){var i=h/2,o=y+i+e,a=t+i;d.fillText(n.text,o,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,a),d.lineTo(o+r,a),d.stroke())}(v,g,r,p),_?c.x+=m+n.padding:c.y+=w}))}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=e.x,a=e.y;if(o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom)for(var s=t.legendHitBoxes,u=0;u=l.left&&o<=l.left+l.width&&a>=l.top&&a<=l.top+l.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[u]),i=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[u]),i=!0;break}}}return i}});function c(e,t){var n=new l({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}e.exports={id:"legend",_element:l,beforeInit:function(e){var t=e.options.legend;t&&c(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(o.mergeIf(t,r.global.legend),n?(a.configure(e,n,t),n.options=t):c(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},47060:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=n(49234),s=o.noop;r._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var u=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:s,afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=o.valueOrDefault,n=e.options,i=n.display,a=t(n.fontSize,r.global.defaultFontSize),s=e.minSize,u=o.isArray(n.text)?n.text.length:1,l=o.options.toLineHeight(n.lineHeight,a),c=i?u*l+2*n.padding:0;e.isHorizontal()?(s.width=e.maxWidth,s.height=c):(s.width=c,s.height=e.maxHeight),e.width=s.width,e.height=s.height},afterFit:s,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=o.valueOrDefault,i=e.options,a=r.global;if(i.display){var s,u,l,c=n(i.fontSize,a.defaultFontSize),d=n(i.fontStyle,a.defaultFontStyle),f=n(i.fontFamily,a.defaultFontFamily),p=o.fontString(c,d,f),h=o.options.toLineHeight(i.lineHeight,c),m=h/2+i.padding,v=0,g=e.top,y=e.left,b=e.bottom,_=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=p,e.isHorizontal()?(u=y+(_-y)/2,l=g+m,s=_-y):(u="left"===i.position?y+m:_-m,l=g+(b-g)/2,s=b-g,v=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(u,l),t.rotate(v),t.textAlign="center",t.textBaseline="middle";var w=i.text;if(o.isArray(w))for(var k=0,E=0;Ee.max)&&(e.max=r))}))}));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 e,t=this,n=t.options.ticks;if(t.isHorizontal())e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.width/50));else{var o=i.valueOrDefault(n.fontSize,r.global.defaultFontSize);e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.height/(2*o)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,r=+t.getRightValue(e),i=t.end-n;return t.isHorizontal()?t.left+t.width/i*(r-n):t.bottom-t.height/i*(r-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=n?t.width:t.height,i=(n?e-t.left:t.bottom-e)/r;return t.start+(t.end-t.start)*i},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});o.registerScaleType("linear",n,t)}},94979:function(e,t,n){"use strict";var r=n(68743),i=n(26925);e.exports=function(e){var t=r.noop;e.LinearScaleBase=i.extend({getRightValue:function(e){return"string"==typeof e?+e:i.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=r.sign(e.min),i=r.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var o=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),o!==a&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:r.valueOrDefault(t.fixedStepSize,t.stepSize)},o=e.ticks=function(e,t){var n,i,o,a=[];if(e.stepSize&&e.stepSize>0)o=e.stepSize;else{var s=r.niceNum(t.max-t.min,!1);o=r.niceNum(s/(e.maxTicks-1),!0),void 0!==(i=e.precision)&&(n=Math.pow(10,i),o=Math.ceil(o*n)/n)}var u=Math.floor(t.min/o)*o,l=Math.ceil(t.max/o)*o;r.isNullOrUndef(e.min)||r.isNullOrUndef(e.max)||!e.stepSize||r.almostWhole((e.max-e.min)/e.stepSize,o/1e3)&&(u=e.min,l=e.max);var c=(l-u)/o;c=r.almostEquals(c,Math.round(c),o/1e3)?Math.round(c):Math.ceil(c),i=1,o<1&&(i=Math.pow(10,1-Math.floor(r.log10(o))),u=Math.round(u*i)/i,l=Math.round(l*i)/i),a.push(void 0!==e.min?e.min:u);for(var d=1;d0){var n=r.min(t),i=r.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?i:Math.max(e.max,i)}}))}else r.each(i,(function(t,i){var o=n.getDatasetMeta(i);n.isDatasetVisible(i)&&a(o)&&r.each(t.data,(function(t,n){var r=+e.getRightValue(t);isNaN(r)||o.data[n].hidden||r<0||((null===e.min||re.max)&&(e.max=r),0!==r&&(null===e.minNotZero||r0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(r.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},o=e.ticks=function(e,t){var n,i,o=[],a=r.valueOrDefault,s=a(e.min,Math.pow(10,Math.floor(r.log10(t.min)))),u=Math.floor(r.log10(t.max)),l=Math.ceil(t.max/Math.pow(10,u));0===s?(n=Math.floor(r.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),o.push(s),s=i*Math.pow(10,n)):(n=Math.floor(r.log10(s)),i=Math.floor(s/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(s),10==++i&&(i=1,c=++n>=0?1:c),s=Math.round(i*Math.pow(10,n)*c)/c}while(ni?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function c(e){return 0===e||180===e?"center":e<180?"left":"right"}function d(e,t,n,r){if(i.isArray(t))for(var o=n.y,a=1.5*r,s=0;s270||e<90)&&(n.y-=t.h)}function p(e){return i.isNumber(e)?e:0}var h=e.LinearScaleBase.extend({setDimensions:function(){var e=this,n=e.options,r=n.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var o=i.min([e.height,e.width]),a=i.valueOrDefault(r.fontSize,t.defaultFontSize);e.drawingArea=n.display?o/2-(a/2+r.backdropPaddingY):o/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;i.each(t.data.datasets,(function(o,a){if(t.isDatasetVisible(a)){var s=t.getDatasetMeta(a);i.each(o.data,(function(t,i){var o=+e.getRightValue(t);isNaN(o)||s.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,n=i.valueOrDefault(e.fontSize,t.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,r,o=u(e),a=Math.min(e.height/2,e.width/2),c={r:e.width,l:0,t:e.height,b:0},d={};e.ctx.font=o.font,e._pointLabelSizes=[];var f,p,h,m=s(e);for(t=0;tc.r&&(c.r=y.end,d.r=v),b.startc.b&&(c.b=b.end,d.b=v)}e.setReductions(a,c,d)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var r=this,i=t.l/Math.sin(n.l),o=Math.max(t.r-r.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-r.height,0)/Math.cos(n.b);i=p(i),o=p(o),a=p(a),s=p(s),r.drawingArea=Math.min(Math.round(e-(i+o)/2),Math.round(e-(a+s)/2)),r.setCenterPoint(i,o,a,s)},setCenterPoint:function(e,t,n,r){var i=this,o=i.width-t-i.drawingArea,a=e+i.drawingArea,s=n+i.drawingArea,u=i.height-r-i.drawingArea;i.xCenter=Math.round((a+o)/2+i.left),i.yCenter=Math.round((s+u)/2+i.top)},getIndexAngle:function(e){return e*(2*Math.PI/s(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,r=n.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(r)*t)+n.xCenter,y:Math.round(Math.sin(r)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(){var e=this,n=e.options,r=n.gridLines,o=n.ticks,a=i.valueOrDefault;if(n.display){var l=e.ctx,p=this.getIndexAngle(0),h=a(o.fontSize,t.defaultFontSize),m=a(o.fontStyle,t.defaultFontStyle),v=a(o.fontFamily,t.defaultFontFamily),g=i.fontString(h,m,v);i.each(e.ticks,(function(n,u){if(u>0||o.reverse){var c=e.getDistanceFromCenterForValue(e.ticksAsNumbers[u]);if(r.display&&0!==u&&function(e,t,n,r){var o=e.ctx;if(o.strokeStyle=i.valueAtIndexOrDefault(t.color,r-1),o.lineWidth=i.valueAtIndexOrDefault(t.lineWidth,r-1),e.options.gridLines.circular)o.beginPath(),o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=s(e);if(0===a)return;o.beginPath();var u=e.getPointPosition(0,n);o.moveTo(u.x,u.y);for(var l=1;l=0;h--){if(o.display){var m=e.getPointPosition(h,l);n.beginPath(),n.moveTo(e.xCenter,e.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(a.display){var v=e.getPointPosition(h,l+5),g=i.valueAtIndexOrDefault(a.fontColor,h,t.defaultFontColor);n.font=p.font,n.fillStyle=g;var y=e.getIndexAngle(h),b=i.toDegrees(y);n.textAlign=c(b),f(b,e._pointLabelSizes[h],v),d(n,e.pointLabels[h]||"",v,p.size)}}}(e)}}});o.registerScaleType("radialLinear",h,n)}},82172:function(e,t,n){"use strict";var r=n(70420);r="function"==typeof r?r:window.moment;var i=n(4398),o=n(68743),a=n(26925),s=n(73920),u=Number.MIN_SAFE_INTEGER||-9007199254740991,l=Number.MAX_SAFE_INTEGER||9007199254740991,c={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}},d=Object.keys(c);function f(e,t){return e-t}function p(e){var t,n,r,i={},o=[];for(t=0,n=e.length;t=0&&a<=s;){if(i=e[(r=a+s>>1)-1]||null,o=e[r],!i)return{lo:null,hi:o};if(o[t]n))return{lo:i,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=i.lo?i.hi?i.lo:e[e.length-2]:e[0],a=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=a[t]-o[t],u=s?(n-o[t])/s:0,l=(a[r]-o[r])*u;return o[r]+l}function m(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?r(e,i):(e instanceof r||(e=r(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function v(e,t){if(o.isNullOrUndef(e))return null;var n=t.options.time,r=m(t.getRightValue(e),n);return r.isValid()?(n.round&&r.startOf(n.round),r.valueOf()):null}function g(e){for(var t=d.indexOf(e)+1,n=d.length;t=o&&n<=a&&f.push(n);return i.min=o,i.max=a,i._unit=u.unit||function(e,t,n,i){var o,a,s=r.duration(r(i).diff(r(n)));for(o=d.length-1;o>=d.indexOf(t);o--)if(a=d[o],c[a].common&&s.as(a)>=e.length)return a;return d[t?d.indexOf(t):0]}(f,u.minUnit,i.min,i.max),i._majorUnit=g(i._unit),i._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,o,a,s,u,l=[],c=[t];for(i=0,o=e.length;it&&s1?t[1]:r,a=t[0],s=(h(e,"time",o,"pos")-h(e,"time",a,"pos"))/2),i.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,u=(h(e,"time",o,"pos")-h(e,"time",a,"pos"))/2)),{left:s,right:u}}(i._table,f,o,a,s),i._labelFormat=function(e,t){var n,r,i,o=e.length;for(n=0;n=0&&e0?s:1}});s.registerScaleType("time",e,{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}}})}},20297:function(e,t,n){var r=n(8874);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var o=0;on?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,i=void 0===t?.5:t,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return this.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new o,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(e){for(var t=this.values,n={},r=0;rn.right&&(r|=u),tn.bottom&&(r|=l),r}function f(e,t){for(var n,r,i,o=e.x0,a=e.y0,f=e.x1,p=e.y1,h=d(o,a,t),m=d(f,p,t);h|m&&!(h&m);)(n=h||m)&c?(r=o+(f-o)*(t.top-a)/(p-a),i=t.top):n&l?(r=o+(f-o)*(t.bottom-a)/(p-a),i=t.bottom):n&u?(i=a+(p-a)*(t.right-o)/(f-o),r=t.right):n&s&&(i=a+(p-a)*(t.left-o)/(f-o),r=t.left),n===h?h=d(o=r,a=i,t):m=d(f=r,p=i,t);return{x0:o,x1:f,y0:a,y1:p}}function p(e,t){var n,r,i=t.anchor,a=e;return t.clamp&&(a=f(a,t.area)),"start"===i?(n=a.x0,r=a.y0):"end"===i?(n=a.x1,r=a.y1):(n=(a.x0+a.x1)/2,r=(a.y0+a.y1)/2),o(n,r,e.vx,e.vy,t.align)}var h={arc:function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=e.innerRadius,a=e.outerRadius;return p({x0:e.x+r*o,y0:e.y+i*o,x1:e.x+r*a,y1:e.y+i*a,vx:r,vy:i},t)},point:function(e,t){var n=i(e,t.origin),r=n.x*e.radius,o=n.y*e.radius;return p({x0:e.x-r,y0:e.y-o,x1:e.x+r,y1:e.y+o,vx:n.x,vy:n.y},t)},rect:function(e,t){var n=i(e,t.origin),r=e.x,o=e.y,a=0,s=0;return e.horizontal?(r=Math.min(e.x,e.base),a=Math.abs(e.base-e.x)):(o=Math.min(e.y,e.base),s=Math.abs(e.base-e.y)),p({x0:r,y0:o+s,x1:r+a,y1:o,vx:n.x,vy:n.y},t)},fallback:function(e,t){var n=i(e,t.origin);return p({x0:e.x,y0:e.y,x1:e.x,y1:e.y,vx:n.x,vy:n.y},t)}},m=e.helpers,v=r.rasterize;function g(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,i=e.size.width,o=-i/2,a=-r/2;return{frame:{x:o-n.left-t,y:a-n.top-t,w:i+n.width+2*t,h:r+n.height+2*t},text:{x:o,y:a,w:i,h:r}}}function y(e){var t=e._model.horizontal,n=e._scale||t&&e._xScale||e._yScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return t?{x:r,y:null}:{x:null,y:r}}function b(t){return t instanceof e.elements.Arc?h.arc:t instanceof e.elements.Point?h.point:t instanceof e.elements.Rectangle?h.rect:h.fallback}function _(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),m.canvas.roundedRect(e,v(t.x)+o/2,v(t.y)+o/2,v(t.w)-o,v(t.h)-o,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),i&&o&&(e.strokeStyle=i,e.lineWidth=o,e.lineJoin="miter",e.stroke()))}function w(e,t,n){var r=n.lineHeight,i=e.w,o=e.x;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:e.y+r/2}}function k(e,t,n){var r=e.shadowBlur,i=n.stroked,o=v(n.x),a=v(n.y),s=v(n.w);i&&e.strokeText(t,o,a,s),n.filled&&(r&&i&&(e.shadowBlur=0),e.fillText(t,o,a,s),r&&i&&(e.shadowBlur=r))}function E(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,u=r.font,l=t.length,c=r.textStrokeColor,d=r.textStrokeWidth,f=c&&d;if(l&&(s||f))for(n=w(n,o,u),e.font=u.string,e.textAlign=o,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,s&&(e.fillStyle=a),f&&(e.lineJoin="round",e.lineWidth=d,e.strokeStyle=c),i=0,l=t.length;i=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=e[r].$layout)._visible&&i._box.intersects(o._box)&&t(i,o);return e}function I(e){var t,n,r,i,o,a;for(t=0,n=e.length;tr.x+r.w+2*n||e.y>r.y+r.h+2*n)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[N(i[0],i[1]),N(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(N(o[0],o[1]),N(o[0],o[3])),t=0;t=0;--n)if((r=e[n].$layout)&&r._visible&&r._box.contains(t))return{dataset:r._set,label:e[n]};return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t=s(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function l(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i}function c(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));r*=255;switch(i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}}function d(e){var t,n,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),i=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(i=1-i),o=s+i*((n=1-u)-s),t){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 f(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function p(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function h(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function m(e){var t,n,r,i,o=e[0],a=e[1],s=e[2];return o<=8?i=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function v(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function y(e){return p(m(e))}function _(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function w(e){return k[e]}e.exports={rgb2hsl:t,rgb2hsv:n,rgb2hwb:i,rgb2cmyk:o,rgb2keyword:a,rgb2xyz:s,rgb2lab:u,rgb2lch:function(e){return v(u(e))},hsl2rgb:l,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return i(l(e))},hsl2cmyk:function(e){return o(l(e))},hsl2keyword:function(e){return a(l(e))},hsv2rgb:c,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return t=i*o,[r,100*(t=(t/=(n=(2-i)*o)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return i(c(e))},hsv2cmyk:function(e){return o(c(e))},hsv2keyword:function(e){return a(c(e))},hwb2rgb:d,hwb2hsl:function(e){return t(d(e))},hwb2hsv:function(e){return n(d(e))},hwb2cmyk:function(e){return o(d(e))},hwb2keyword:function(e){return a(d(e))},cmyk2rgb:f,cmyk2hsl:function(e){return t(f(e))},cmyk2hsv:function(e){return n(f(e))},cmyk2hwb:function(e){return i(f(e))},cmyk2keyword:function(e){return a(f(e))},keyword2rgb:w,keyword2hsl:function(e){return t(w(e))},keyword2hsv:function(e){return n(w(e))},keyword2hwb:function(e){return i(w(e))},keyword2cmyk:function(e){return o(w(e))},keyword2lab:function(e){return u(w(e))},keyword2xyz:function(e){return s(w(e))},xyz2rgb:p,xyz2lab:h,xyz2lch:function(e){return v(h(e))},lab2xyz:m,lab2rgb:y,lab2lch:v,lch2lab:_,lch2xyz:function(e){return m(_(e))},lch2rgb:function(e){return y(_(e))}};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]},E={};for(var x in k)E[JSON.stringify(k[x])]=x},12085:function(e,t,n){var r=n(48168),i=function(){return new l};for(var o in r){i[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(o);var a=/(\w+)2(\w+)/.exec(o),s=a[1],u=a[2];(i[s]=i[s]||{})[u]=i[o]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;i1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},11354:function(e,t,n){"use strict";var r=n(21899),i=n(86843),o=n(78834),a=n(89678),s=n(75196),u=n(6782),l=n(24284),c=n(10623),d=n(55449),f=n(53476),p=n(22902),h=r.Array;e.exports=function(e){var t=a(e),n=l(this),r=arguments.length,m=r>1?arguments[1]:void 0,v=void 0!==m;v&&(m=i(m,r>2?arguments[2]:void 0));var g,y,b,_,w,k,E=p(t),x=0;if(!E||this==h&&u(E))for(g=c(t),y=n?new this(g):h(g);g>x;x++)k=v?m(t[x],x):t[x],d(y,x,k);else for(w=(_=f(t,E)).next,y=n?new this:[];!(b=o(w,_)).done;x++)k=v?s(_,m,[b.value,x],!0):b.value,d(y,x,k);return y.length=x,y}},31692:function(e,t,n){var r=n(74529),i=n(59413),o=n(10623),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},3610:function(e,t,n){var r=n(86843),i=n(95329),o=n(37026),a=n(89678),s=n(10623),u=n(64692),l=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,v,g){for(var y,b,_=a(h),w=o(_),k=r(m,v),E=s(w),x=0,S=g||u,T=t?S(h,E):n||f?S(h,0):void 0;E>x;x++)if((p||x in w)&&(b=k(y=w[x],x,_),e))if(t)T[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:l(T,y)}else switch(e){case 4:return!1;case 7:l(T,y)}return d?-1:i||c?c:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},50568:function(e,t,n){var r=n(95981),i=n(99813),o=n(53385),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34194:function(e,t,n){"use strict";var r=n(95981);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},15790:function(e,t,n){var r=n(21899),i=n(59413),o=n(10623),a=n(55449),s=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=o(e),l=i(t,r),c=i(void 0===n?r:n,r),d=s(u(c-l,0)),f=0;l0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a1?arguments[1]:void 0;return a(this),(t=void 0!==f)&&o(f),null==e?new this:(n=[],t?(l=0,c=r(f,d>2?arguments[2]:void 0),s(e,(function(e){i(u,n,c(e,l++))}))):s(e,u,{that:n}),new this(n))}},45226:function(e,t,n){"use strict";var r=n(93765);e.exports=function(){return new this(r(arguments))}},85616:function(e,t,n){"use strict";var r=n(65988).f,i=n(29290),o=n(87524),a=n(86843),s=n(5743),u=n(93091),l=n(47771),c=n(94431),d=n(55746),f=n(21647).fastKey,p=n(45402),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,p),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),p=c.prototype,v=m(t),g=function(e,t,n){var r,i,o=v(e),a=y(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var n,r=v(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(p,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(p,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return v(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);l(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},8850:function(e,t,n){"use strict";var r=n(95329),i=n(87524),o=n(21647).getWeakData,a=n(96059),s=n(10941),u=n(5743),l=n(93091),c=n(3610),d=n(90953),f=n(45402),p=f.set,h=f.getterFor,m=c.find,v=c.findIndex,g=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},w=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var n=w(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&g(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var c=e((function(e,i){u(e,f),p(e,{type:t,id:y++,frozen:void 0}),null!=i&&l(i,e[r],{that:e,AS_ENTRIES:n})})),f=c.prototype,m=h(t),v=function(e,t,n){var r=m(e),i=o(a(t),!0);return!0===i?b(r).set(t,n):i[r.id]=n,e};return i(f,{delete:function(e){var t=m(this);if(!s(e))return!1;var n=o(e);return!0===n?b(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!s(e))return!1;var n=o(e);return!0===n?b(t).has(e):n&&d(n,t.id)}}),i(f,n?{get:function(e){var t=m(this);if(s(e)){var n=o(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),c}}},24683:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(21647),a=n(95981),s=n(32029),u=n(93091),l=n(5743),c=n(57475),d=n(10941),f=n(90904),p=n(65988).f,h=n(3610).forEach,m=n(55746),v=n(45402),g=v.set,y=v.getterFor;e.exports=function(e,t,n){var v,b=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),w=b?"set":"add",k=i[e],E=k&&k.prototype,x={};if(m&&c(k)&&(_||E.forEach&&!a((function(){(new k).entries().next()})))){var S=(v=t((function(t,n){g(l(t,S),{type:e,collection:new k}),null!=n&&u(n,t[w],{that:t,AS_ENTRIES:b})}))).prototype,T=y(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in E)||_&&"clear"==e||s(S,e,(function(n,r){var i=T(this).collection;if(!t&&_&&!d(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),_||p(S,"size",{configurable:!0,get:function(){return T(this).collection.size}})}else v=n.getConstructor(t,e,b,w),o.enable();return f(v,e,!1,!0),x[e]=v,r({global:!0,forced:!0},x),_||n.setStrong(v,e,b),v}},23489:function(e,t,n){var r=n(90953),i=n(80035),o=n(49677),a=n(65988);e.exports=function(e,t,n){for(var s=i(t),u=a.f,l=o.f,c=0;c0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},18938:function(e,t,n){var r=n(2861).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},35703:function(e,t,n){var r=n(54058);e.exports=function(e){return r[e+"Prototype"]}},56759:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18780:function(e,t,n){var r=n(95981),i=n(31887);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},76887:function(e,t,n){"use strict";var r=n(21899),i=n(79730),o=n(95329),a=n(57475),s=n(49677).f,u=n(37252),l=n(54058),c=n(86843),d=n(32029),f=n(90953),p=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,h,m,v,g,y,b,_=e.target,w=e.global,k=e.stat,E=e.proto,x=w?r:k?r[_]:(r[_]||{}).prototype,S=w?l:l[_]||d(l,_,{})[_],T=S.prototype;for(h in t)n=!u(w?h:_+(k?".":"#")+h,e.forced)&&x&&f(x,h),v=S[h],n&&(g=e.noTargetGet?(b=s(x,h))&&b.value:x[h]),m=n&&g?g:t[h],n&&typeof v==typeof m||(y=e.bind&&n?c(m,r):e.wrap&&n?p(m):E&&a(m)?o(m):m,(e.sham||m&&m.sham||v&&v.sham)&&d(y,"sham",!0),d(S,h,y),E&&(f(l,i=_+"Prototype")||d(l,i,{}),d(l[i],h,m),e.real&&T&&!T[h]&&d(T,h,m)))}},95981:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},45602:function(e,t,n){var r=n(95981);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},79730:function(e,t,n){var r=n(18285),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},86843:function(e,t,n){var r=n(95329),i=n(24883),o=n(18285),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},18285:function(e,t,n){var r=n(95981);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},98308:function(e,t,n){"use strict";var r=n(21899),i=n(95329),o=n(24883),a=n(10941),s=n(90953),u=n(93765),l=n(18285),c=r.Function,d=i([].concat),f=i([].join),p={},h=function(e,t,n){if(!s(p,t)){for(var r=[],i=0;iy;y++)if((_=O(e[y]))&&c(v,_))return _;return new m(!1)}r=d(e,g)}for(w=r.next;!(k=o(w,r)).done;){try{_=O(k.value)}catch(e){p(r,"throw",e)}if("object"==typeof _&&_&&c(v,_))return _}return new m(!1)}},7609:function(e,t,n){var r=n(78834),i=n(96059),o=n(14229);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},35143:function(e,t,n){"use strict";var r,i,o,a=n(95981),s=n(57475),u=n(29290),l=n(249),c=n(99754),d=n(99813),f=n(82529),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=u(r)),s(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},12077:function(e){e.exports={}},10623:function(e,t,n){var r=n(43057);e.exports=function(e){return r(e.length)}},48721:function(e,t,n){"use strict";var r=n(78834),i=n(24883),o=n(96059);e.exports=function(e,t){var n=o(this),a=i(n.get),s=i(n.has),u=i(n.set),l=r(s,n,e)&&"update"in t?t.update(r(a,n,e),e,n):t.insert(e,n);return r(u,n,e,l),l}},20716:function(e,t,n){"use strict";var r=n(21899),i=n(78834),o=n(24883),a=n(57475),s=n(96059),u=r.TypeError;e.exports=function(e,t){var n,r=s(this),l=o(r.get),c=o(r.has),d=o(r.set),f=arguments.length>2?arguments[2]:void 0;if(!a(t)&&!a(f))throw u("At least one callback required");return i(c,r,e)?(n=i(l,r,e),a(t)&&(n=t(n),i(d,r,e,n))):a(f)&&(n=f(),i(d,r,e,n)),n}},6383:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},66132:function(e,t,n){var r,i,o,a,s,u,l,c,d=n(21899),f=n(86843),p=n(49677).f,h=n(42941).set,m=n(22749),v=n(4470),g=n(58045),y=n(6049),b=d.MutationObserver||d.WebKitMutationObserver,_=d.document,w=d.process,k=d.Promise,E=p(d,"queueMicrotask"),x=E&&E.value;x||(r=function(){var e,t;for(y&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},m||y||g||!b||!_?!v&&k&&k.resolve?((l=k.resolve(void 0)).constructor=k,c=f(l.then,l),a=function(){c(r)}):y?a=function(){w.nextTick(r)}:(h=f(h,d),a=function(){h(r)}):(s=!0,u=_.createTextNode(""),new b(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},25366:function(e,t,n){var r=n(72497);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},72497:function(e,t,n){var r=n(53385),i=n(95981);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},28468:function(e,t,n){var r=n(95981),i=n(99813),o=n(82529),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},38019:function(e,t,n){var r=n(21899),i=n(57475),o=n(81302),a=r.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},69520:function(e,t,n){"use strict";var r=n(24883),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},14649:function(e,t,n){var r=n(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},70344:function(e,t,n){var r=n(21899),i=n(60685),o=r.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},24420:function(e,t,n){"use strict";var r=n(55746),i=n(95329),o=n(78834),a=n(95981),s=n(14771),u=n(87857),l=n(36760),c=n(89678),d=n(37026),f=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,f=u.f,p=l.f;i>a;)for(var m,v=d(arguments[a++]),g=f?h(s(v),f(v)):s(v),y=g.length,b=0;y>b;)m=g[b++],r&&!o(p,v,m)||(n[m]=v[m]);return n}:f},29290:function(e,t,n){var r,i=n(96059),o=n(59938),a=n(56759),s=n(27748),u=n(15463),l=n(61333),c=n(44262),d=c("IE_PROTO"),f=function(){},p=function(e){return"