var WOW,OFFSET_TOP;!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function it(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function o(n,t,i){return t&&it(n.prototype,t),i&&it(n,i),n}function f(){return(f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var e,h,v,y,rt,p,ut,ft,et,s,u,c,w,b,k,ot,l,st,ht,g,ct,lt,at,nt,tt,a,r=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i=!1,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(t){var r,i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");"#"===i.charAt(0)&&(r=i,i=r="function"==typeof n.escapeSelector?n.escapeSelector(r).substr(1):r.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return n(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=r,t.supportsTransitionEnd()&&(n.event.special[t.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),t}(t),vt=(h="alert",y="."+(v="bs.alert"),rt=(e=t).fn[h],p={CLOSE:"close"+y,CLOSED:"closed"+y,CLICK_DATA_API:"click"+y+".data-api"},ut="alert",ft="fade",et="show",s=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){e.removeData(this._element,v);this._element=null},t._getRootElement=function(n){var i=r.getSelectorFromElement(n),t=!1;return i&&(t=e(i)[0]),t||(t=e(n).closest("."+ut)[0]),t},t._triggerCloseEvent=function(n){var t=e.Event(p.CLOSE);return e(n).trigger(t),t},t._removeElement=function(n){var t=this;e(n).removeClass(et);r.supportsTransitionEnd()&&e(n).hasClass(ft)?e(n).one(r.TRANSITION_END,function(i){return t._destroyElement(n,i)}).emulateTransitionEnd(150):this._destroyElement(n)},t._destroyElement=function(n){e(n).detach().trigger(p.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=e(this),i=r.data(v);i||(i=new n(this),r.data(v,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),e(document).on(p.CLICK_DATA_API,'[data-dismiss="alert"]',s._handleDismiss(new s)),e.fn[h]=s._jQueryInterface,e.fn[h].Constructor=s,e.fn[h].noConflict=function(){return e.fn[h]=rt,s._jQueryInterface},s),yt=(c="button",b="."+(w="bs.button"),k=".data-api",ot=(u=t).fn[c],l="active",st="btn",ht="focus",g='[data-toggle^="button"]',ct='[data-toggle="buttons"]',lt="input",at=".active",nt=".btn",tt={CLICK_DATA_API:"click"+b+k,FOCUS_BLUR_DATA_API:"focus"+b+k+" blur"+b+k},a=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,f=!0,t=u(this._element).closest(ct)[0],n,r;if(t&&(n=u(this._element).find(lt)[0],n)){if("radio"===n.type&&(n.checked&&u(this._element).hasClass(l)?i=!1:(r=u(t).find(at)[0],r&&u(r).removeClass(l))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!u(this._element).hasClass(l);u(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!u(this._element).hasClass(l));i&&u(this._element).toggleClass(l)},t.dispose=function(){u.removeData(this._element,w);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=u(this).data(w);i||(i=new n(this),u(this).data(w,i));"toggle"===t&&i[t]()})},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),u(document).on(tt.CLICK_DATA_API,g,function(n){n.preventDefault();var t=n.target;u(t).hasClass(st)||(t=u(t).closest(nt));a._jQueryInterface.call(u(t),"toggle")}).on(tt.FOCUS_BLUR_DATA_API,g,function(n){var t=u(n.target).closest(nt)[0];u(t).toggleClass(ht,/^focus(in)?$/.test(n.type))}),u.fn[c]=a._jQueryInterface,u.fn[c].Constructor=a,u.fn[c].noConflict=function(){return u.fn[c]=ot,a._jQueryInterface},a),pt=function(n){var s="carousel",c="bs.carousel",t="."+c,y=n.fn[s],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",a="prev",w="left",b="right",i={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,TOUCHEND:"touchend"+t,LOAD_DATA_API:"load"+t+".data-api",CLICK_DATA_API:"click"+t+".data-api"},k="carousel",e="active",d="slide",g="carousel-item-right",nt="carousel-item-left",tt="carousel-item-next",it="carousel-item-prev",u={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},h=function(){function y(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(u.INDICATORS)[0];this._addEventListeners()}var h=y.prototype;return h.next=function(){this._isSliding||this._slide(l)},h.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(a)},h.pause=function(t){t||(this._isPaused=!0);n(this._element).find(u.NEXT_PREV)[0]&&r.supportsTransitionEnd()&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},h.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},h.to=function(t){var e=this,r,f;if(this._activeElement=n(this._element).find(u.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(i.SLID,function(){return e.to(t)});else{if(r===t)return this.pause(),void this.cycle();f=t>r?l:a;this._slide(f,this._items[t])}},h.dispose=function(){n(this._element).off(t);n.removeData(this._element,c);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},h._getConfig=function(n){return n=f({},v,n),r.typeCheckConfig(s,n,p),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(i.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(i.MOUSEENTER,function(n){return t.pause(n)}).on(i.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(i.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},500+t._config.interval)}))},h._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},h._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(u.ITEM)),this._items.indexOf(t)},h._getItemByDirection=function(n,t){var u=n===l,f=n===a,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===a?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},h._triggerSlideEvent=function(t,r){var e=this._getItemIndex(t),o=this._getItemIndex(n(this._element).find(u.ACTIVE_ITEM)[0]),f=n.Event(i.SLIDE,{relatedTarget:t,direction:r,from:o,to:e});return n(this._element).trigger(f),f},h._setActiveIndicatorElement=function(t){if(this._indicatorsElement){n(this._indicatorsElement).find(u.ACTIVE).removeClass(e);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n(i).addClass(e)}},h._slide=function(t,f){var h,c,a,y=this,s=n(this._element).find(u.ACTIVE_ITEM)[0],k=this._getItemIndex(s),o=f||s&&this._getItemByDirection(t,s),rt=this._getItemIndex(o),p=Boolean(this._interval),v;(t===l?(h=nt,c=tt,a=w):(h=g,c=it,a=b),o&&n(o).hasClass(e))?this._isSliding=!1:!this._triggerSlideEvent(o,a).isDefaultPrevented()&&s&&o&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(o),v=n.Event(i.SLID,{relatedTarget:o,direction:a,from:k,to:rt}),r.supportsTransitionEnd()&&n(this._element).hasClass(d)?(n(o).addClass(c),r.reflow(o),n(s).addClass(h),n(o).addClass(h),n(s).one(r.TRANSITION_END,function(){n(o).removeClass(h+" "+c).addClass(e);n(s).removeClass(e+" "+c+" "+h);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(n(s).removeClass(e),n(o).addClass(e),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=f({},v,n(this).data()),u;if("object"==typeof t&&(r=f({},r,t)),u="string"==typeof t?t:r.slide,i||(i=new y(this,r),n(this).data(c,i)),"number"==typeof t)i.to(t);else if("string"==typeof u){if("undefined"==typeof i[u])throw new TypeError('No method named "'+u+'"');i[u]()}else r.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=r.getSelectorFromElement(this),i,e,u;o&&(i=n(o)[0],i&&n(i).hasClass(k)&&(e=f({},n(i).data(),n(this).data()),u=this.getAttribute("data-slide-to"),u&&(e.interval=!1),y._jQueryInterface.call(n(i),e),u&&n(i).data(c).to(u),t.preventDefault()))},o(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return v}}]),y}();return n(document).on(i.CLICK_DATA_API,u.DATA_SLIDE,h._dataApiClickHandler),n(window).on(i.LOAD_DATA_API,function(){n(u.DATA_RIDE).each(function(){var t=n(this);h._jQueryInterface.call(t,t.data())})}),n.fn[s]=h._jQueryInterface,n.fn[s].Constructor=h,n.fn[s].noConflict=function(){return n.fn[s]=y,h._jQueryInterface},h}(t),wt=function(n){var u="collapse",t="bs.collapse",e="."+t,w=n.fn[u],a={toggle:!0,parent:""},b={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+".data-api"},i="show",c="collapse",l="collapsing",v="collapsed",p="width",k="height",y={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var e,u,o,f;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),e=n(y.DATA_TOGGLE),u=0;u<e.length;u++)o=e[u],f=r.getSelectorFromElement(o),null!==f&&n(f).filter(t).length>0&&(this._selector=f,this._triggerArray.push(o));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var e=h.prototype;return e.toggle=function(){n(this._element).hasClass(i)?this.hide():this.show()},e.show=function(){var u,o,e=this,a,f,p,w;this._isTransitioning||n(this._element).hasClass(i)||(this._parent&&0===(u=n.makeArray(n(this._parent).find(y.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(u=null),u&&(o=n(u).not(this._selector).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(u&&(h._jQueryInterface.call(n(u).not(this._selector),"hide"),o||n(u).data(t,null)),f=this._getDimension(),n(this._element).removeClass(c).addClass(l),this._element.style[f]=0,this._triggerArray.length>0&&n(this._triggerArray).removeClass(v).attr("aria-expanded",!0),this.setTransitioning(!0),p=function(){n(e._element).removeClass(l).addClass(c).addClass(i);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},r.supportsTransitionEnd()?(w="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(r.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[f]=this._element[w]+"px"):p()))},e.hide=function(){var a=this,f,t,u,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(i)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",r.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(i),this._triggerArray.length>0)for(u=0;u<this._triggerArray.length;u++)e=this._triggerArray[u],o=r.getSelectorFromElement(e),null!==o&&(n(o).hasClass(i)||n(e).addClass(v).attr("aria-expanded",!1));this.setTransitioning(!0);h=function(){a.setTransitioning(!1);n(a._element).removeClass(l).addClass(c).trigger(s.HIDDEN)};this._element.style[t]="";r.supportsTransitionEnd()?n(this._element).one(r.TRANSITION_END,h).emulateTransitionEnd(600):h()}},e.setTransitioning=function(n){this._isTransitioning=n},e.dispose=function(){n.removeData(this._element,t);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},e._getConfig=function(n){return(n=f({},a,n)).toggle=Boolean(n.toggle),r.typeCheckConfig(u,n,b),n},e._getDimension=function(){return n(this._element).hasClass(p)?p:k},e._getParent=function(){var u=this,t=null,i;return r.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=n(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n(t).find(i).each(function(n,t){u._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},e._addAriaAndCollapsedClass=function(t,r){if(t){var u=n(t).hasClass(i);r.length>0&&n(r).toggleClass(v,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(t){var i=r.getSelectorFromElement(t);return i?n(i)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var u=n(this),r=u.data(t),e=f({},a,u.data(),"object"==typeof i&&i);if(!r&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),r||(r=new h(this,e),u.data(t,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),h}();return n(document).on(s.CLICK_DATA_API,y.DATA_TOGGLE,function(i){"A"===i.currentTarget.tagName&&i.preventDefault();var u=n(this),f=r.getSelectorFromElement(this);n(f).each(function(){var i=n(this),r=i.data(t)?"toggle":u.data();h._jQueryInterface.call(i,r)})}),n.fn[u]=h._jQueryInterface,n.fn[u].Constructor=h,n.fn[u].noConflict=function(){return n.fn[u]=w,h._jQueryInterface},h}(t),bt=function(n){var h="dropdown",c="bs.dropdown",u="."+c,a=".data-api",b=n.fn[h],k=new RegExp("38|40|27"),t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,CLICK:"click"+u,CLICK_DATA_API:"click"+u+a,KEYDOWN_DATA_API:"keydown"+u+a,KEYUP_DATA_API:"keyup"+u+a},p="disabled",s="show",w="dropup",d="dropright",g="dropleft",v="dropdown-menu-right",nt="dropdown-menu-left",tt="position-static",l='[data-toggle="dropdown"]',y=".dropdown-menu",it=".navbar-nav",rt=".dropdown-menu .dropdown-item:not(.disabled)",ut="top-start",ft="top-end",et="bottom-start",ot="bottom-end",st="right-start",ht="left-start",ct={offset:0,flip:!0,boundary:"scrollParent"},lt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},e=function(){function e(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=e.prototype;return a.toggle=function(){var r,h,u,f,o;if(!this._element.disabled&&!n(this._element).hasClass(p)&&(r=e._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(e._clearMenus(),!h)&&(u={relatedTarget:this._element},f=n.Event(t.SHOW,u),n(r).trigger(f),!f.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");o=this._element;n(r).hasClass(w)&&(n(this._menu).hasClass(nt)||n(this._menu).hasClass(v))&&(o=r);"scrollParent"!==this._config.boundary&&n(r).addClass(tt);this._popper=new i(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(r).closest(it).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(r).toggleClass(s).trigger(n.Event(t.SHOWN,u))}},a.dispose=function(){n.removeData(this._element,c);n(this._element).off(u);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},a._getConfig=function(t){return t=f({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},a._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);this._menu=n(t).find(y)[0]}return this._menu},a._getPlacement=function(){var i=n(this._element).parent(),t=et;return i.hasClass(w)?(t=ut,n(this._menu).hasClass(v)&&(t=ft)):i.hasClass(d)?t=st:i.hasClass(g)?t=ht:n(this._menu).hasClass(v)&&(t=ot),t},a._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c);if(i||(i=new e(this,"object"==typeof t?t:null),n(this).data(c,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e._clearMenus=function(i){var u,r,v,o;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=n.makeArray(n(l)),r=0;r<u.length;r++){var f=e._getParentFromElement(u[r]),h=n(u[r]).data(c),a={relatedTarget:u[r]};h&&(v=h._menu,!n(f).hasClass(s)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&n.contains(f,i.target)||(o=n.Event(t.HIDE,a),n(f).trigger(o),o.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),u[r].setAttribute("aria-expanded","false"),n(v).removeClass(s),n(f).removeClass(s).trigger(n.Event(t.HIDDEN,a)))))}},e._getParentFromElement=function(t){var i,u=r.getSelectorFromElement(t);return u&&(i=n(u)[0]),i||t.parentNode},e._dataApiKeydownHandler=function(t){var u,f,r,i,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(y).length):!k.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||n(this).hasClass(p))||(u=e._getParentFromElement(this),f=n(u).hasClass(s),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=n(u).find(rt).get(),0!==r.length&&(i=r.indexOf(t.target),38===t.which&&i>0&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(o=n(u).find(l)[0],n(o).trigger("focus")),n(this).trigger("click")))},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ct}},{key:"DefaultType",get:function(){return lt}}]),e}();return n(document).on(t.KEYDOWN_DATA_API,l,e._dataApiKeydownHandler).on(t.KEYDOWN_DATA_API,y,e._dataApiKeydownHandler).on(t.CLICK_DATA_API+" "+t.KEYUP_DATA_API,e._clearMenus).on(t.CLICK_DATA_API,l,function(t){t.preventDefault();t.stopPropagation();e._jQueryInterface.call(n(this),"toggle")}).on(t.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()}),n.fn[h]=e._jQueryInterface,n.fn[h].Constructor=e,n.fn[h].noConflict=function(){return n.fn[h]=b,e._jQueryInterface},e}(t),kt=function(n){var v="modal",s="bs.modal",i="."+s,y=n.fn.modal,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,FOCUSIN:"focusin"+i,RESIZE:"resize"+i,CLICK_DISMISS:"click.dismiss"+i,KEYDOWN_DISMISS:"keydown.dismiss"+i,MOUSEUP_DISMISS:"mouseup.dismiss"+i,MOUSEDOWN_DISMISS:"mousedown.dismiss"+i,CLICK_DATA_API:"click"+i+".data-api"},w="modal-scrollbar-measure",b="modal-backdrop",a="modal-open",e="fade",c="show",u={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},h=function(){function y(t,i){this._config=this._getConfig(i);this._element=t;this._dialog=n(t).find(u.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}var h=y.prototype;return h.toggle=function(n){return this._isShown?this.hide():this.show(n)},h.show=function(i){var f=this,o;this._isTransitioning||this._isShown||(r.supportsTransitionEnd()&&n(this._element).hasClass(e)&&(this._isTransitioning=!0),o=n.Event(t.SHOW,{relatedTarget:i}),n(this._element).trigger(o),this._isShown||o.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),n(document.body).addClass(a),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(t.CLICK_DISMISS,u.DATA_DISMISS,function(n){return f.hide(n)}),n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(f._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(f._element)&&(f._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return f._showElement(i)})))},h.hide=function(i){var o=this,u,f;(i&&i.preventDefault(),!this._isTransitioning&&this._isShown)&&(u=n.Event(t.HIDE),(n(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=r.supportsTransitionEnd()&&n(this._element).hasClass(e),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(c),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),f?n(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(300):this._hideModal()))},h.dispose=function(){n.removeData(this._element,s);n(window,document,this._element,this._backdrop).off(i);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},h.handleUpdate=function(){this._adjustDialog()},h._getConfig=function(n){return n=f({},l,n),r.typeCheckConfig(v,n,p),n},h._showElement=function(i){var u=this,o=r.supportsTransitionEnd()&&n(this._element).hasClass(e),s,f;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;o&&r.reflow(this._element);n(this._element).addClass(c);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:i});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;n(u._element).trigger(s)};o?n(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(300):f()},h._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document!==t.target&&i._element!==t.target&&0===n(i._element).has(t.target).length&&i._element.focus()})},h._setEscapeEvent=function(){var i=this;this._isShown&&this._config.keyboard?n(this._element).on(t.KEYDOWN_DISMISS,function(n){27===n.which&&(n.preventDefault(),i.hide())}):this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},h._setResizeEvent=function(){var i=this;this._isShown?n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)}):n(window).off(t.RESIZE)},h._hideModal=function(){var i=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(a);i._resetAdjustments();i._resetScrollbar();n(i._element).trigger(t.HIDDEN)})},h._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function(i){var u=this,f=n(this._element).hasClass(e)?e:"",o,s;if(this._isShown&&this._config.backdrop){if(o=r.supportsTransitionEnd()&&f,this._backdrop=document.createElement("div"),this._backdrop.className=b,f&&n(this._backdrop).addClass(f),n(this._backdrop).appendTo(document.body),n(this._element).on(t.CLICK_DISMISS,function(n){u._ignoreBackdropClick?u._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===u._config.backdrop?u._element.focus():u.hide())}),o&&r.reflow(this._backdrop),n(this._backdrop).addClass(c),!i)return;if(!o)return void i();n(this._backdrop).one(r.TRANSITION_END,i).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(c),s=function(){u._removeBackdrop();i&&i()},r.supportsTransitionEnd()&&n(this._element).hasClass(e)?n(this._backdrop).one(r.TRANSITION_END,s).emulateTransitionEnd(150):s()):i&&i()},h._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},h._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function(){var t=this,i,r;this._isBodyOverflowing&&(n(u.FIXED_CONTENT).each(function(i,r){var u=n(r)[0].style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(u.STICKY_CONTENT).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),n(u.NAVBAR_TOGGLER).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)+t._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=n("body").css("padding-right"),n("body").data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},h._resetScrollbar=function(){n(u.FIXED_CONTENT).each(function(t,i){var r=n(i).data("padding-right");"undefined"!=typeof r&&n(i).css("padding-right",r).removeData("padding-right")});n(u.STICKY_CONTENT+", "+u.NAVBAR_TOGGLER).each(function(t,i){var r=n(i).data("margin-right");"undefined"!=typeof r&&n(i).css("margin-right",r).removeData("margin-right")});var t=n("body").data("padding-right");"undefined"!=typeof t&&n("body").css("padding-right",t).removeData("padding-right")},h._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=w,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},y._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(s),u=f({},y.Default,n(this).data(),"object"==typeof t&&t);if(r||(r=new y(this,u),n(this).data(s,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t](i)}else u.show&&r.show(i)})},o(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return l}}]),y}();return n(document).on(t.CLICK_DATA_API,u.DATA_TOGGLE,function(i){var u,e=this,o=r.getSelectorFromElement(this),c,l;o&&(u=n(o)[0]);c=n(u).data(s)?"toggle":f({},n(u).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||i.preventDefault();l=n(u).one(t.SHOW,function(i){i.isDefaultPrevented()||l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});h._jQueryInterface.call(n(u),c,this)}),n.fn.modal=h._jQueryInterface,n.fn.modal.Constructor=h,n.fn.modal.noConflict=function(){return n.fn.modal=y,h._jQueryInterface},h}(t),d=function(n){var u="tooltip",l="bs.tooltip",t="."+l,p=n.fn[u],w=new RegExp("(^|\\s)bs-tooltip\\S+","g"),b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},e="show",v="out",g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},s="fade",h="show",nt=".tooltip-inner",tt=".arrow",c="hover",y="focus",it="click",rt="manual",a=function(){function p(n,t){if("undefined"==typeof i)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var a=p.prototype;return a.enable=function(){this._isEnabled=!0},a.disable=function(){this._isEnabled=!1},a.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},a.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;null!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},a.show=function(){var t=this,f,l,u,e,a,o,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;u=this.getTipElement();e=r.getUID(this.constructor.NAME);u.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&n(u).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;o=this._getAttachment(a);this.addAttachmentClass(o);y=!1===this.config.container?document.body:n(this.config.container);n(u).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:tt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}});n(u).addClass(h);"ontouchstart"in document.documentElement&&n("body").children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===v&&t._leave(null,t)};r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p._TRANSITION_DURATION):c()}},a.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),o=function(){i._hoverState!==e&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();t&&t()};n(this.element).trigger(f);f.isDefaultPrevented()||(n(u).removeClass(h),"ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),this._activeTrigger[it]=!1,this._activeTrigger[y]=!1,this._activeTrigger[c]=!1,r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(r.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},a.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},a.isWithContent=function(){return Boolean(this.getTitle())},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(nt),this.getTitle());t.removeClass(s+" "+h)},a.setElementContent=function(t,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},a.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},a._getAttachment=function(n){return k[n.toUpperCase()]},a._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==rt){var r=i===c?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===c?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},a._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a._enter=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusin"===t.type?y:c]=!0);n(i.getTipElement()).hasClass(h)||i._hoverState===e?i._hoverState=e:(clearTimeout(i._timeout),i._hoverState=e,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===e&&i.show()},i.config.delay.show):i.show())},a._leave=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusout"===t.type?y:c]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=v,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===v&&i.hide()},i.config.delay.hide):i.hide())},a._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},a._getConfig=function(t){return"number"==typeof(t=f({},this.constructor.Default,n(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),r.typeCheckConfig(u,t,this.constructor.DefaultType),t},a._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},a._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);null!==t&&t.length>0&&i.removeClass(t.join(""))},a._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},a._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(s),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(l,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(p,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return u}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[u]=a._jQueryInterface,n.fn[u].Constructor=a,n.fn[u].noConflict=function(){return n.fn[u]=p,a._jQueryInterface},a}(t),dt=function(n){var i="popover",r="bs.popover",t="."+r,e=n.fn[i],s=new RegExp("(^|\\s)bs-popover\\S+","g"),h=f({},d.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),c=f({},d.DefaultType,{content:"(string|element|function)"}),l="fade",a="show",v=".popover-header",y=".popover-body",p={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},u=function(u){function e(){return u.apply(this,arguments)||this}var w,b,f;return b=u,(w=e).prototype=Object.create(b.prototype),w.prototype.constructor=w,w.__proto__=b,f=e.prototype,f.isWithContent=function(){return this.getTitle()||this._getContent()},f.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-popover-"+t)},f.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},f.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(v),this.getTitle());t=this._getContent();"function"==typeof t&&(t=t.call(this.element));this.setElementContent(i.find(y),t);i.removeClass(l+" "+a)},f._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},f._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(s);null!==t&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(r),u="object"==typeof t?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,u),n(this).data(r,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return c}}]),e}(d);return n.fn[i]=u._jQueryInterface,n.fn[i].Constructor=u,n.fn[i].noConflict=function(){return n.fn[i]=e,u._jQueryInterface},u}(t),gt=function(n){var i="scrollspy",s="bs.scrollspy",h="."+s,v=n.fn[i],l={offset:10,method:"auto",target:""},y={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},p="dropdown-item",u="active",t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},w="offset",a="position",e=function(){function v(i,r){var u=this;this._element=i;this._scrollElement="BODY"===i.tagName?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+this._config.target+" "+t.LIST_ITEMS+","+this._config.target+" "+t.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var e=v.prototype;return e.refresh=function(){var t=this,u=this._scrollElement===this._scrollElement.window?w:a,i="auto"===this._config.method?u:this._config.method,f=i===a?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();n.makeArray(n(this._selector)).map(function(t){var u,e=r.getSelectorFromElement(t),o;return(e&&(u=n(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[n(u)[i]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},e.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=f({},l,t)).target){var u=n(t.target).attr("id");u||(u=r.getUID(i),n(t.target).attr("id",u));t.target="#"+u}return r.typeCheckConfig(i,t,y),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},e._activate=function(i){var f,r;this._activeTarget=i;this._clear();f=this._selector.split(",");f=f.map(function(n){return n+'[data-target="'+i+'"],'+n+'[href="'+i+'"]'});r=n(f.join(","));r.hasClass(p)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(u),r.addClass(u)):(r.addClass(u),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(u),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(u));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},e._clear=function(){n(this._selector).filter(t.ACTIVE).removeClass(u)},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s);if(i||(i=new v(this,"object"==typeof t&&t),n(this).data(s,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(v,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return l}}]),v}();return n(window).on(c.LOAD_DATA_API,function(){for(var u,i=n.makeArray(n(t.DATA_SPY)),r=i.length;r--;)u=n(i[r]),e._jQueryInterface.call(u,u.data())}),n.fn[i]=e._jQueryInterface,n.fn[i].Constructor=e,n.fn[i].noConflict=function(){return n.fn[i]=v,e._jQueryInterface},e}(t),ni=function(n){var f="bs.tab",e="."+f,l=n.fn.tab,t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click.bs.tab.data-api"},a="dropdown-menu",i="active",v="disabled",y="fade",s="show",p=".dropdown",w=".nav, .list-group",h=".active",c="> li > .active",b=".dropdown-toggle",k="> .dropdown-menu .active",u=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var y=this,e,u,f,o,p,s,l,a;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(i)||n(this._element).hasClass(v)||(f=n(this._element).closest(w)[0],o=r.getSelectorFromElement(this._element),f&&(p="UL"===f.nodeName?c:h,u=(u=n.makeArray(n(f).find(p)))[u.length-1]),s=n.Event(t.HIDE,{relatedTarget:this._element}),l=n.Event(t.SHOW,{relatedTarget:u}),(u&&n(u).trigger(s),n(this._element).trigger(l),l.isDefaultPrevented()||s.isDefaultPrevented())||(o&&(e=n(o)[0]),this._activate(this._element,f),a=function(){var i=n.Event(t.HIDDEN,{relatedTarget:y._element}),r=n.Event(t.SHOWN,{relatedTarget:u});n(u).trigger(i);n(y._element).trigger(r)},e?this._activate(e,e.parentNode,a):a()))},e.dispose=function(){n.removeData(this._element,f);this._element=null},e._activate=function(t,i,u){var o=this,f=("UL"===i.nodeName?n(i).find(c):n(i).children(h))[0],s=u&&r.supportsTransitionEnd()&&f&&n(f).hasClass(y),e=function(){return o._transitionComplete(t,f,u)};f&&s?n(f).one(r.TRANSITION_END,e).emulateTransitionEnd(150):e()},e._transitionComplete=function(t,u,f){var e,o;u&&(n(u).removeClass(s+" "+i),e=n(u.parentNode).find(k)[0],e&&n(e).removeClass(i),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!1));(n(t).addClass(i),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),r.reflow(t),n(t).addClass(s),t.parentNode&&n(t.parentNode).hasClass(a))&&(o=n(t).closest(p)[0],o&&n(o).find(b).addClass(i),t.setAttribute("aria-expanded",!0));f&&f()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(f);if(i||(i=new u(this),r.data(f,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(u,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),u}();return n(document).on(t.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault();u._jQueryInterface.call(n(this),"show")}),n.fn.tab=u._jQueryInterface,n.fn.tab.Constructor=u,n.fn.tab.noConflict=function(){return n.fn.tab=l,u._jQueryInterface},u}(t);!function(n){if("undefined"==typeof n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}(t);n.Util=r;n.Alert=vt;n.Button=yt;n.Carousel=pt;n.Collapse=wt;n.Dropdown=bt;n.Modal=kt;n.Popover=dt;n.Scrollspy=gt;n.Tab=ni;n.Tooltip=d;Object.defineProperty(n,"__esModule",{value:!0})});$.fn.jQueryEqualHeight=function(n){void 0==n&&(n=".card");var i=0,u=0,t=[],r=0;$(this).each(function(){if($(this).find(n).height("auto"),r=$(this).position().top,u!=r){for(currentDiv=0;currentDiv<t.length;currentDiv++)t[currentDiv].find(n).height(i);t.length=0;u=r;i=$(this).find(n).height();t.push($(this))}else t.push($(this)),i=i<$(this).find(n).height()?$(this).find(n).height():i;for(currentDiv=0;currentDiv<t.length;currentDiv++)t[currentDiv].find(n).height(i)})};!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof module&&module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){var o=-1,r=-1,i=function(n){return parseFloat(n)||0},s=function(t){var f=1,e=n(t),u=null,r=[];return e.each(function(){var t=n(this),e=t.offset().top-i(t.css("margin-top")),o=r.length>0?r[r.length-1]:null;null===o?r.push(t):Math.floor(Math.abs(u-e))<=f?r[r.length-1]=o.add(t):r.push(t);u=e}),r},u=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?n.extend(i,t):("boolean"==typeof t?i.byRow=t:"remove"===t&&(i.remove=!0),i)},t=n.fn.matchHeight=function(i){var r=u(i),f;return r.remove?(f=this,this.css(r.property,""),n.each(t._groups,function(n,t){t.elements=t.elements.not(f)}),this):this.length<=1&&!r.target?this:(t._groups.push({elements:this,options:r}),t._apply(this,r),this)},f,e;t.version="0.7.2";t._groups=[];t._throttle=80;t._maintainScroll=!1;t._beforeUpdate=null;t._afterUpdate=null;t._rows=s;t._parse=i;t._parseOptions=u;t._apply=function(r,f){var e=u(f),o=n(r),c=[o],l=n(window).scrollTop(),a=n("html").outerHeight(!0),h=o.parents().filter(":hidden");return h.each(function(){var t=n(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),e.byRow&&!e.target&&(o.each(function(){var i=n(this),t=i.css("display");"inline-block"!==t&&"flex"!==t&&"inline-flex"!==t&&(t="block");i.data("style-cache",i.attr("style"));i.css({display:t,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=s(o),o.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||"")})),n.each(c,function(t,r){var u=n(r),f=0;if(e.target)f=e.target.outerHeight(!1);else{if(e.byRow&&u.length<=1)return void u.css(e.property,"");u.each(function(){var t=n(this),u=t.attr("style"),i=t.css("display"),r;"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");r={display:i};r[e.property]="";t.css(r);t.outerHeight(!1)>f&&(f=t.outerHeight(!1));u?t.attr("style",u):t.css("display","")})}u.each(function(){var t=n(this),r=0;e.target&&t.is(e.target)||("border-box"!==t.css("box-sizing")&&(r+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),r+=i(t.css("padding-top"))+i(t.css("padding-bottom"))),t.css(e.property,f-r+"px"))})}),h.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||null)}),t._maintainScroll&&n(window).scrollTop(l/a*n("html").outerHeight(!0)),this};t._applyDataApi=function(){var t={};n("[data-match-height], [data-mh]").each(function(){var i=n(this),r=i.attr("data-mh")||i.attr("data-match-height");t[r]=r in t?t[r].add(i):i});n.each(t,function(){this.matchHeight(!0)})};f=function(i){t._beforeUpdate&&t._beforeUpdate(i,t._groups);n.each(t._groups,function(){t._apply(this.elements,this.options)});t._afterUpdate&&t._afterUpdate(i,t._groups)};t._update=function(i,u){if(u&&"resize"===u.type){var e=n(window).width();if(e===o)return;o=e}i?r===-1&&(r=setTimeout(function(){f(u);r=-1},t._throttle)):f(u)};n(t._applyDataApi);e=n.fn.on?"on":"bind";n(window)[e]("load",function(n){t._update(!1,n)});n(window)[e]("resize orientationchange",function(n){t._update(!0,n)})});jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return 0==t?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(1-Math.pow(2,-10*t/u))+i},easeInOutExpo:function(n,t,i,r,u){return 0==t?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return 0==t?i:1==(t/=u)?i+r:((f||(f=.3*u),e<Math.abs(r))?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),-e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i)},easeOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return 0==t?i:1==(t/=u)?i+r:((f||(f=.3*u),e<Math.abs(r))?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return 0==t?i:2==(t/=u/2)?i+r:((f||(f=u*.3*1.5),e<Math.abs(r))?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),t<1?e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*-.5+i:e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*.5+r+i)},easeInBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),(t/=u/2)<1?r/2*t*t*((1+(f*=1.525))*t-f)+i:r/2*((t-=2)*t*((1+(f*=1.525))*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?.5*jQuery.easing.easeInBounce(n,2*t,0,r,u)+i:.5*jQuery.easing.easeOutBounce(n,2*t-u,0,r,u)+.5*r+i}});jQuery.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(n){function o(n){var i=n.length,r=t.type(n);return"function"!==r&&!t.isWindow(n)&&(!(1!==n.nodeType||!i)||"array"===r||0===i||"number"==typeof i&&i>0&&i-1 in n)}var t,i;if(!n.jQuery){t=function(n,i){return new t.fn.init(n,i)};t.isWindow=function(n){return null!=n&&n==n.window};t.type=function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?r[s.call(n)]||"object":typeof n};t.isArray=Array.isArray||function(n){return"array"===t.type(n)};t.isPlainObject=function(n){var i;if(!n||"object"!==t.type(n)||n.nodeType||t.isWindow(n))return!1;try{if(n.constructor&&!f.call(n,"constructor")&&!f.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(i in n);return void 0===i||f.call(n,i)};t.each=function(n,t,i){var r=0,u=n.length,f=o(n);if(i){if(f)for(;u>r&&!1!==t.apply(n[r],i);r++);else for(r in n)if(!1===t.apply(n[r],i))break}else if(f)for(;u>r&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(!1===t.call(n[r],r,n[r]))break;return n};t.data=function(n,r,u){var e,f;if(void 0===u){if(e=(f=n[t.expando])&&i[f],void 0===r)return e;if(e&&r in e)return e[r]}else if(void 0!==r)return f=n[t.expando]||(n[t.expando]=++t.uuid),i[f]=i[f]||{},i[f][r]=u,u};t.removeData=function(n,r){var u=n[t.expando],f=u&&i[u];f&&t.each(r,function(n,t){delete f[t]})};t.extend=function(){var i,e,r,f,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"!=typeof n&&"function"!==t.type(n)&&(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(o=arguments[u]))for(f in o)i=n[f],n!==(r=o[f])&&(h&&r&&(t.isPlainObject(r)||(e=t.isArray(r)))?(e?(e=!1,s=i&&t.isArray(i)?i:[]):s=i&&t.isPlainObject(i)?i:{},n[f]=t.extend(h,s,r)):void 0!==r&&(n[f]=r));return n};t.queue=function(n,i,r){if(n){i=(i||"fx")+"queue";var u=t.data(n,i);return r?(!u||t.isArray(r)?u=t.data(n,i,function(n,t){var i=t||[];return null!=n&&(o(Object(n))?function(n,t){for(var r=+t.length,i=0,u=n.length;r>i;)n[u++]=t[i++];if(r!=r)for(;void 0!==t[i];)n[u++]=t[i++];n.length=u}(i,"string"==typeof n?[n]:n):[].push.call(i,n)),i}(r)):u.push(r),u):u||[]}};t.dequeue=function(n,i){t.each(n.nodeType?[n]:n,function(n,r){i=i||"fx";var f=t.queue(r,i),u=f.shift();"inprogress"===u&&(u=f.shift());u&&("fx"===i&&f.unshift("inprogress"),u.call(r,function(){t.dequeue(r,i)}))})};t.fn=t.prototype={init:function(n){if(n.nodeType)return this[0]=n,this;throw new Error("Not a DOM node.");},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(n.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(n.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var n=this.offsetParent||document;n&&!1&&"static"===n.style.position;)n=n.offsetParent;return n||document}var r=this[0],t=t.apply(r),n=this.offset(),i=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:t(t).offset();return n.top-=parseFloat(r.style.marginTop)||0,n.left-=parseFloat(r.style.marginLeft)||0,t.style&&(i.top+=parseFloat(t.style.borderTopWidth)||0,i.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};i={};t.expando="velocity"+(new Date).getTime();t.uuid=0;for(var r={},f=r.hasOwnProperty,s=r.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<e.length;u++)r["[object "+e[u]+"]"]=e[u].toLowerCase();t.fn.init.prototype=t.fn;n.Velocity={Utilities:t}}}(window),function(n){"object"==typeof module&&"object"==typeof module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):n()}(function(){return function(n,t,i,r){function y(n){return s.isWrapped(n)?n=[].slice.call(n):s.isNode(n)&&(n=[n]),n}function e(n){var t=o.data(n,"velocity");return null===t?r:t}function p(n,i,r,u){function l(n,t){return 1-3*t+3*n}function a(n,t){return 3*t-6*n}function v(n){return 3*n}function s(n,t,i){return((l(t,i)*n+a(t,i))*n+v(t))*n}function y(n,t,i){return 3*l(t,i)*n*n+2*a(t,i)*n+v(t)}function b(t,i){for(var f,u=0;g>u;++u){if(f=y(i,n,r),0===f)return i;i-=(s(i,n,r)-t)/f}return i}function k(t,i,u){var e,f,o=0;do(e=s(f=i+(u-i)/2,n,r)-t)>0?u=f:i=f;while(Math.abs(e)>tt&&++o<it);return f}function d(){p=!0;(n!=i||r!=u)&&function(){for(var t=0;e>t;++t)o[t]=s(t*h,n,r)}()}var g=4,nt=.001,tt=1e-7,it=10,e=11,h=1/(e-1),rt="Float32Array"in t,f,w;if(4!==arguments.length)return!1;for(f=0;4>f;++f)if("number"!=typeof arguments[f]||isNaN(arguments[f])||!isFinite(arguments[f]))return!1;n=Math.min(n,1);r=Math.min(r,1);n=Math.max(n,0);r=Math.max(r,0);var o=rt?new Float32Array(e):new Array(e),p=!1,c=function(t){return p||d(),n===i&&r===u?t:0===t?0:1===t?1:s(function(t){for(var f,s,u=0,i=1,c=e-1;i!=c&&o[i]<=t;++i)u+=h;return f=u+(t-o[--i])/(o[i+1]-o[i])*h,s=y(f,n,r),s>=nt?b(t,f):0==s?f:k(t,u,u+h)}(t),i,u)};return c.getControlPoints=function(){return[{x:n,y:i},{x:r,y:u}]},w="generateBezier("+[n,i,r,u]+")",c.toString=function(){return w},c}function w(n,t){var i=n;return s.isString(n)?f.Easings[n]||(i=!1):i=s.isArray(n)&&1===n.length?function(n){return function(t){return Math.round(t*n)*(1/n)}}.apply(null,n):s.isArray(n)&&2===n.length?nt.apply(null,n.concat([t])):!(!s.isArray(n)||4!==n.length)&&p.apply(null,n),!1===i&&(i=f.Easings[f.defaults.easing]?f.defaults.easing:g),i}function a(n){var d,rt,c,nt,h,tt,v,p,i,ht,ft,k,et,it;if(n)for(d=(new Date).getTime(),rt=f.State.calls.length,rt>1e4&&(f.State.calls=function(n){for(var t,i=-1,u=n?n.length:0,r=[];++i<u;)t=n[i],t&&r.push(t);return r}(f.State.calls)),c=0;rt>c;c++)if(f.State.calls[c]){var w=f.State.calls[c],ot=w[0],t=w[2],y=w[3],ct=!!y,st=null;y||(y=f.State.calls[c][3]=d-16);for(var g=Math.min((d-y)/t.duration,1),ut=0,lt=ot.length;lt>ut;ut++)if(nt=ot[ut],h=nt.element,e(h)){tt=!1;t.display!==r&&null!==t.display&&"none"!==t.display&&("flex"===t.display&&o.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(n,t){u.setPropertyValue(h,"display",t)}),u.setPropertyValue(h,"display",t.display));for(v in t.visibility!==r&&"hidden"!==t.visibility&&u.setPropertyValue(h,"visibility",t.visibility),nt)if("element"!==v){if(i=nt[v],ht=s.isString(i.easing)?f.Easings[i.easing]:i.easing,1===g)p=i.endValue;else if(ft=i.endValue-i.startValue,p=i.startValue+ft*ht(g,t,ft),!ct&&p===i.currentValue)continue;(i.currentValue=p,"tween"===v)?st=p:(u.Hooks.registered[v]&&(k=u.Hooks.getRoot(v),et=e(h).rootPropertyValueCache[k],et&&(i.rootPropertyValue=et)),it=u.setPropertyValue(h,v,i.currentValue+(0===parseFloat(p)?"":i.unitType),i.rootPropertyValue,i.scrollData),u.Hooks.registered[v]&&(e(h).rootPropertyValueCache[k]=u.Normalizations.registered[k]?u.Normalizations.registered[k]("extract",null,it[1]):it[1]),"transform"===it[0]&&(tt=!0))}t.mobileHA&&e(h).transformCache.translate3d===r&&(e(h).transformCache.translate3d="(0px, 0px, 0px)",tt=!0);tt&&u.flushTransformCache(h)}t.display!==r&&"none"!==t.display&&(f.State.calls[c][2].display=!1);t.visibility!==r&&"hidden"!==t.visibility&&(f.State.calls[c][2].visibility=!1);t.progress&&t.progress.call(w[1],w[1],g,Math.max(0,y+t.duration-d),y,st);1===g&&b(c)}f.State.isTicking&&l(a)}function b(n,t){var i,c,l,b;if(!f.State.calls[n])return!1;for(var v=f.State.calls[n][0],a=f.State.calls[n][1],s=f.State.calls[n][2],y=f.State.calls[n][4],p=!1,h=0,w=v.length;w>h;h++){if(i=v[h].element,(t||s.loop||("none"===s.display&&u.setPropertyValue(i,"display",s.display),"hidden"===s.visibility&&u.setPropertyValue(i,"visibility",s.visibility)),!0!==s.loop&&(o.queue(i)[1]===r||!/\.velocityQueueEntryFlag/i.test(o.queue(i)[1]))&&e(i))&&(e(i).isAnimating=!1,e(i).rootPropertyValueCache={},c=!1,o.each(u.Lists.transforms3D,function(n,t){var u=/^scale/.test(t)?1:0,f=e(i).transformCache[t];e(i).transformCache[t]!==r&&new RegExp("^\\("+u+"[^.]").test(f)&&(c=!0,delete e(i).transformCache[t])}),s.mobileHA&&(c=!0,delete e(i).transformCache.translate3d),c&&u.flushTransformCache(i),u.Values.removeClass(i,"velocity-animating")),!t&&s.complete&&!s.loop&&h===w-1)try{s.complete.call(a,a)}catch(n){setTimeout(function(){throw n;},1)}y&&!0!==s.loop&&y(a);e(i)&&!0===s.loop&&!t&&(o.each(e(i).tweensContainer,function(n,t){/^rotate/.test(n)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360);/^backgroundPosition/.test(n)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),f(i,"reverse",{loop:!0,delay:s.delay}));!1!==s.queue&&o.dequeue(i,s.queue)}for(f.State.calls[n]=!1,l=0,b=f.State.calls.length;b>l;l++)if(!1!==f.State.calls[l]){p=!0;break}!1===p&&(f.State.isTicking=!1,delete f.State.calls,f.State.calls=[])}var o,h=function(){var n,t;if(i.documentMode)return i.documentMode;for(n=7;n>4;n--)if(t=i.createElement("div"),t.innerHTML="<!--[if IE "+n+"]><span><\/span><![endif]-->",t.getElementsByTagName("span").length)return t=null,n;return r}(),k=function(){var n=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var i,r=(new Date).getTime();return i=Math.max(0,16-(r-n)),n=r+i,setTimeout(function(){t(r+i)},i)}}(),s={isString:function(n){return"string"==typeof n},isArray:Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)},isFunction:function(n){return"[object Function]"===Object.prototype.toString.call(n)},isNode:function(n){return n&&n.nodeType},isNodeList:function(n){return"object"==typeof n&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(n))&&n.length!==r&&(0===n.length||"object"==typeof n[0]&&n[0].nodeType>0)},isWrapped:function(n){return n&&(n.jquery||t.Zepto&&t.Zepto.zepto.isZ(n))},isSVG:function(n){return t.SVGElement&&n instanceof t.SVGElement},isEmptyObject:function(n){for(var t in n)return!1;return!0}},d=!1,nt,u,c,l;if(n.fn&&n.fn.jquery?(o=n,d=!0):o=t.Velocity.Utilities,8>=h&&!d)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(7>=h)){var v=400,g="swing",f={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:o,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:v,easing:g,begin:r,complete:r,progress:r,display:r,visibility:r,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(n){o.data(n,"velocity",{isSVG:s.isSVG(n),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};return t.pageYOffset!==r?(f.State.scrollAnchor=t,f.State.scrollPropertyLeft="pageXOffset",f.State.scrollPropertyTop="pageYOffset"):(f.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,f.State.scrollPropertyLeft="scrollLeft",f.State.scrollPropertyTop="scrollTop"),nt=function(){function n(n){return-n.tension*n.x-n.friction*n.v}function t(t,i,r){var u={x:t.x+r.dx*i,v:t.v+r.dv*i,tension:t.tension,friction:t.friction};return{dx:u.v,dv:n(u)}}function i(i,r){var u={dx:i.v,dv:n(i)},f=t(i,.5*r,u),e=t(i,.5*r,f),o=t(i,r,e),s=1/6*(u.dx+2*(f.dx+e.dx)+o.dx),h=1/6*(u.dv+2*(f.dv+e.dv)+o.dv);return i.x=i.x+s*r,i.v=i.v+h*r,i}return function n(t,r,u){var h,c,f,e={x:-1,v:0,tension:null,friction:null},o=[0],s=0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,u=u||null,e.tension=t,e.friction=r,c=(h=null!==u)?(s=n(t,r))/u*.016:.016;f=i(f||e,c),o.push(1+f.x),s+=16,Math.abs(f.x)>.0001&&Math.abs(f.v)>.0001;);return h?function(n){return o[n*(o.length-1)|0]}:s}}(),f.Easings={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},spring:function(n){return 1-Math.cos(4.5*n*Math.PI)*Math.exp(6*-n)}},o.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(n,t){f.Easings[t[0]]=p.apply(null,t[1])}),u=f.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e,t,f,i,r,o,s,n=0;n<u.Lists.colors.length;n++)e="color"===u.Lists.colors[n]?"0 0 0 1":"255 255 255 1",u.Hooks.templates[u.Lists.colors[n]]=["Red Green Blue Alpha",e];if(h)for(t in u.Hooks.templates)i=(f=u.Hooks.templates[t])[0].split(" "),r=f[1].match(u.RegEx.valueSplit),"Color"===i[0]&&(i.push(i.shift()),r.push(r.shift()),u.Hooks.templates[t]=[i.join(" "),r.join(" ")]);for(t in u.Hooks.templates)for(n in i=(f=u.Hooks.templates[t])[0].split(" "))o=t+i[n],s=n,u.Hooks.registered[o]=[t,s]},getRoot:function(n){var t=u.Hooks.registered[n];return t?t[0]:n},cleanRootPropertyValue:function(n,t){return u.RegEx.valueUnwrap.test(t)&&(t=t.match(u.RegEx.valueUnwrap)[1]),u.Values.isCSSNullValue(t)&&(t=u.Hooks.templates[n][1]),t},extractValue:function(n,t){var i=u.Hooks.registered[n],r,f;return i?(r=i[0],f=i[1],(t=u.Hooks.cleanRootPropertyValue(r,t)).toString().match(u.RegEx.valueSplit)[f]):t},injectValue:function(n,t,i){var r=u.Hooks.registered[n],f,e,o;return r?(e=r[0],o=r[1],(f=(i=u.Hooks.cleanRootPropertyValue(e,i)).toString().match(u.RegEx.valueSplit))[o]=t,f.join(" ")):i}},Normalizations:{registered:{clip:function(n,t,i){switch(n){case"name":return"clip";case"extract":var r;return r=u.RegEx.wrappedValueAlreadyExtracted.test(i)?i:(r=i.toString().match(u.RegEx.valueUnwrap))?r[1].replace(/,(\s+)?/g," "):i,r;case"inject":return"rect("+i+")"}},blur:function(n,t,i){var r,u;switch(n){case"name":return f.State.isFirefox?"filter":"-webkit-filter";case"extract":return r=parseFloat(i),r||0===r||(u=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i),r=u?u[1]:0),r;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(n,t,i){if(8>=h)switch(n){case"name":return"filter";case"extract":var r=i.toString().match(/alpha\(opacity=(.*)\)/i);return r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(n){case"name":return"opacity";case"extract":case"inject":return i}}},register:function(){9>=h||f.State.isGingerbread||(u.Lists.transformsBase=u.Lists.transformsBase.concat(u.Lists.transforms3D));for(var n=0;n<u.Lists.transformsBase.length;n++)!function(){var t=u.Lists.transformsBase[n];u.Normalizations.registered[t]=function(n,i,u){switch(n){case"name":return"transform";case"extract":return e(i)===r||e(i).transformCache[t]===r?/^scale/i.test(t)?1:0:e(i).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(u);break;case"scal":case"scale":f.State.isAndroid&&e(i).transformCache[t]===r&&1>u&&(u=1);o=!/(\d)$/i.test(u);break;case"skew":o=!/(deg|\d)$/i.test(u);break;case"rotate":o=!/(deg|\d)$/i.test(u)}return o||(e(i).transformCache[t]="("+u+")"),e(i).transformCache[t]}}}();for(n=0;n<u.Lists.colors.length;n++)!function(){var t=u.Lists.colors[n];u.Normalizations.registered[t]=function(n,i,f){var e,s,o;switch(n){case"name":return t;case"extract":return u.RegEx.wrappedValueAlreadyExtracted.test(f)?e=f:(o={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(f)?s=o[f]!==r?o[f]:o.black:u.RegEx.isHex.test(f)?s="rgb("+u.Values.hexToRgb(f).join(" ")+")":/^rgba?\(/i.test(f)||(s=o.black),e=(s||f).toString().match(u.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")),8>=h||3!==e.split(" ").length||(e+=" 1"),e;case"inject":return 8>=h?4===f.split(" ").length&&(f=f.split(/\s+/).slice(0,3).join(" ")):3===f.split(" ").length&&(f+=" 1"),(8>=h?"rgb":"rgba")+"("+f.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(n){return n.replace(/-(\w)/g,function(n,t){return t.toUpperCase()})},SVGAttribute:function(n){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||f.State.isAndroid&&!f.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(n)},prefixCheck:function(n){var i;if(f.State.prefixMatches[n])return[f.State.prefixMatches[n],!0];for(var r=["","Webkit","Moz","ms","O"],t=0,u=r.length;u>t;t++)if(i=0===t?n:r[t]+n.replace(/^\w/,function(n){return n.toUpperCase()}),s.isString(f.State.prefixElement.style[i]))return f.State.prefixMatches[n]=i,[i,!0];return[n,!1]}},Values:{hexToRgb:function(n){var t;return n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,t,i,r){return t+t+i+i+r+r}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(n){return 0==n||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(n)},getUnitType:function(n){return/^(rotate|skew)/i.test(n)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(n)?"":"px"},getDisplayType:function(n){var t=n&&n.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(n,t){n.classList?n.classList.add(t):n.className+=(n.className.length?" ":"")+t},removeClass:function(n,t){n.classList?n.classList.remove(t):n.className=n.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(n,i,s,c){function y(n,i){function s(){a&&u.setPropertyValue(n,"display","none")}var f=0,l,a,p,w,v;if(8>=h)f=o.css(n,i);else{if(a=!1,/^(width|height)$/.test(i)&&0===u.getPropertyValue(n,"display")&&(a=!0,u.setPropertyValue(n,"display",u.Values.getDisplayType(n))),!c){if("height"===i&&"border-box"!==u.getPropertyValue(n,"boxSizing").toString().toLowerCase())return p=n.offsetHeight-(parseFloat(u.getPropertyValue(n,"borderTopWidth"))||0)-(parseFloat(u.getPropertyValue(n,"borderBottomWidth"))||0)-(parseFloat(u.getPropertyValue(n,"paddingTop"))||0)-(parseFloat(u.getPropertyValue(n,"paddingBottom"))||0),s(),p;if("width"===i&&"border-box"!==u.getPropertyValue(n,"boxSizing").toString().toLowerCase())return w=n.offsetWidth-(parseFloat(u.getPropertyValue(n,"borderLeftWidth"))||0)-(parseFloat(u.getPropertyValue(n,"borderRightWidth"))||0)-(parseFloat(u.getPropertyValue(n,"paddingLeft"))||0)-(parseFloat(u.getPropertyValue(n,"paddingRight"))||0),s(),w}l=e(n)===r?t.getComputedStyle(n,null):e(n).computedStyle?e(n).computedStyle:e(n).computedStyle=t.getComputedStyle(n,null);"borderColor"===i&&(i="borderTopColor");(""===(f=9===h&&"filter"===i?l.getPropertyValue(i):l[i])||null===f)&&(f=n.style[i]);s()}return"auto"===f&&/^(top|right|bottom|left)$/i.test(i)&&(v=y(n,"position"),("fixed"===v||"absolute"===v&&/top|left/i.test(i))&&(f=o(n).position()[i]+"px")),f}var l,p,a,w,v;if(u.Hooks.registered[i]?(p=i,a=u.Hooks.getRoot(p),s===r&&(s=u.getPropertyValue(n,u.Names.prefixCheck(a)[0])),u.Normalizations.registered[a]&&(s=u.Normalizations.registered[a]("extract",n,s)),l=u.Hooks.extractValue(p,s)):u.Normalizations.registered[i]&&("transform"!==(w=u.Normalizations.registered[i]("name",n))&&(v=y(n,u.Names.prefixCheck(w)[0]),u.Values.isCSSNullValue(v)&&u.Hooks.templates[i]&&(v=u.Hooks.templates[i][1])),l=u.Normalizations.registered[i]("extract",n,v)),!/^[\d-]/.test(l))if(e(n)&&e(n).isSVG&&u.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=n.getBBox()[i]}catch(n){l=0}else l=n.getAttribute(i);else l=y(n,u.Names.prefixCheck(i)[0]);return u.Values.isCSSNullValue(l)&&(l=0),f.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(n,i,r,o,s){var c=i,a,l;if("scroll"===i)s.container?s.container["scroll"+s.direction]=r:"Left"===s.direction?t.scrollTo(r,s.alternateValue):t.scrollTo(s.alternateValue,r);else if(u.Normalizations.registered[i]&&"transform"===u.Normalizations.registered[i]("name",n))u.Normalizations.registered[i]("inject",n,r),c="transform",r=e(n).transformCache[i];else{if(u.Hooks.registered[i]&&(a=i,l=u.Hooks.getRoot(i),o=o||u.getPropertyValue(n,l),r=u.Hooks.injectValue(a,r,o),i=l),u.Normalizations.registered[i]&&(r=u.Normalizations.registered[i]("inject",n,r),i=u.Normalizations.registered[i]("name",n)),c=u.Names.prefixCheck(i)[0],8>=h)try{n.style[c]=r}catch(n){f.debug&&console.log("Browser does not support ["+r+"] for ["+c+"]")}else e(n)&&e(n).isSVG&&u.Names.SVGAttribute(i)?n.setAttribute(i,r):n.style[c]=r;f.debug>=2&&console.log("Set "+i+" ("+c+"): "+r)}return[c,r]},flushTransformCache:function(n){function t(t){return parseFloat(u.getPropertyValue(n,t))}var i="",r,s,c;(h||f.State.isAndroid&&!f.State.isChrome)&&e(n).isSVG?(r={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]},o.each(e(n).transformCache,function(n){/^translate/i.test(n)?n="translate":/^scale/i.test(n)?n="scale":/^rotate/i.test(n)&&(n="rotate");r[n]&&(i+=n+"("+r[n].join(" ")+") ",delete r[n])})):(o.each(e(n).transformCache,function(t){return s=e(n).transformCache[t],"transformPerspective"===t?(c=s,!0):(9===h&&"rotateZ"===t&&(t="rotate"),void(i+=t+s+" "))}),c&&(i="perspective"+c+" "+i));u.setPropertyValue(n,"transform",i)}},u.Hooks.register(),u.Normalizations.register(),f.hook=function(n,t,i){var u=r;return n=y(n),o.each(n,function(n,o){if(e(o)===r&&f.init(o),i===r)u===r&&(u=f.CSS.getPropertyValue(o,t));else{var s=f.CSS.setPropertyValue(o,t,i);"transform"===s[0]&&f.CSS.flushTransformCache(o);u=s}}),u},c=function(){function ft(){return et?d.promise||null:vt}function wt(){function g(v){function gt(t,i){var f=r,o=r,e=r;return s.isArray(t)?(f=t[0],!s.isArray(t[1])&&/^[\d-]/.test(t[1])||s.isFunction(t[1])||u.RegEx.isHex.test(t[1])?e=t[1]:(s.isString(t[1])&&!u.RegEx.isHex.test(t[1])||s.isArray(t[1]))&&(o=i?t[1]:w(t[1],n.duration),t[2]!==r&&(e=t[2]))):f=t,i||(o=o||n.easing),s.isFunction(f)&&(f=f.call(c,tt,nt)),s.isFunction(e)&&(e=e.call(c,tt,nt)),[f||0,o,e]}function ni(n,t){var i,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(n){return i=n,""}),i||(i=u.Values.getUnitType(n)),[r,i]}function ri(){var s={myParent:c.parentNode||i.body,position:u.getPropertyValue(c,"position"),fontSize:u.getPropertyValue(c,"fontSize")},a=s.position===l.lastPosition&&s.myParent===l.lastParent,v=s.fontSize===l.lastFontSize,h,r,n;return l.lastParent=s.myParent,l.lastPosition=s.position,l.lastFontSize=s.fontSize,h=100,r={},v&&a?(r.emToPx=l.lastEmToPx,r.percentToPxWidth=l.lastPercentToPxWidth,r.percentToPxHeight=l.lastPercentToPxHeight):(n=e(c).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div"),f.init(n),s.myParent.appendChild(n),o.each(["overflow","overflowX","overflowY"],function(t,i){f.CSS.setPropertyValue(n,i,"hidden")}),f.CSS.setPropertyValue(n,"position",s.position),f.CSS.setPropertyValue(n,"fontSize",s.fontSize),f.CSS.setPropertyValue(n,"boxSizing","content-box"),o.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,i){f.CSS.setPropertyValue(n,i,h+"%")}),f.CSS.setPropertyValue(n,"paddingLeft",h+"em"),r.percentToPxWidth=l.lastPercentToPxWidth=(parseFloat(u.getPropertyValue(n,"width",null,!0))||1)/h,r.percentToPxHeight=l.lastPercentToPxHeight=(parseFloat(u.getPropertyValue(n,"height",null,!0))||1)/h,r.emToPx=l.lastEmToPx=(parseFloat(u.getPropertyValue(n,"paddingLeft"))||1)/h,s.myParent.removeChild(n)),null===l.remToPx&&(l.remToPx=parseFloat(u.getPropertyValue(i.body,"fontSize"))||16),null===l.vwToPx&&(l.vwToPx=parseFloat(t.innerWidth)/100,l.vhToPx=parseFloat(t.innerHeight)/100),r.remToPx=l.remToPx,r.vwToPx=l.vwToPx,r.vhToPx=l.vhToPx,f.debug>=1&&console.log("Unit ratios: "+JSON.stringify(r),c),r}var vt,ti,wt,ht,bt,ft,ot,ii,g,st,ct,yt,et,lt,pt,dt;if(n.begin&&0===tt)try{n.begin.call(k,k)}catch(v){setTimeout(function(){throw v;},1)}if("scroll"===it)ht=/^x$/i.test(n.axis)?"Left":"Top",bt=parseFloat(n.offset)||0,n.container?s.isWrapped(n.container)||s.isNode(n.container)?(n.container=n.container[0]||n.container,wt=(vt=n.container["scroll"+ht])+o(c).position()[ht.toLowerCase()]+bt):n.container=null:(vt=f.State.scrollAnchor[f.State["scrollProperty"+ht]],ti=f.State.scrollAnchor[f.State["scrollProperty"+("Left"===ht?"Top":"Left")]],wt=o(c).offset()[ht.toLowerCase()]+bt),y={scroll:{rootPropertyValue:!1,startValue:vt,currentValue:vt,endValue:wt,unitType:"",easing:n.easing,scrollData:{container:n.container,direction:ht,alternateValue:ti}},element:c},f.debug&&console.log("tweensContainer (scroll): ",y.scroll,c);else if("reverse"===it){if(!e(c).tweensContainer)return void o.dequeue(c,n.queue);"none"===e(c).opts.display&&(e(c).opts.display="auto");"hidden"===e(c).opts.visibility&&(e(c).opts.visibility="visible");e(c).opts.loop=!1;e(c).opts.begin=null;e(c).opts.complete=null;h.easing||delete n.easing;h.duration||delete n.duration;n=o.extend({},e(c).opts,n);ft=o.extend(!0,{},e(c).tweensContainer);for(ot in ft)"element"!==ot&&(ii=ft[ot].startValue,ft[ot].startValue=ft[ot].currentValue=ft[ot].endValue,ft[ot].endValue=ii,s.isEmptyObject(h)||(ft[ot].easing=n.easing),f.debug&&console.log("reverse tweensContainer ("+ot+"): "+JSON.stringify(ft[ot]),c));y=ft}else if("start"===it){for(g in e(c).tweensContainer&&!0===e(c).isAnimating&&(ft=e(c).tweensContainer),o.each(p,function(n,t){var f;if(RegExp("^"+u.Lists.colors.join("$|^")+"$").test(n)){var e=gt(t,!0),o=e[0],s=e[1],h=e[2];if(u.RegEx.isHex.test(o)){for(var c=["Red","Green","Blue"],a=u.Values.hexToRgb(o),l=h?u.Values.hexToRgb(h):r,i=0;i<c.length;i++)f=[a[i]],s&&f.push(s),l!==r&&f.push(l[i]),p[n+c[i]]=f;delete p[n]}}}),p){var kt=gt(p[g]),ut=kt[0],ui=kt[1],rt=kt[2];if(g=u.Names.camelCase(g),st=u.Hooks.getRoot(g),ct=!1,e(c).isSVG||"tween"===st||!1!==u.Names.prefixCheck(st)[1]||u.Normalizations.registered[st]!==r){if((n.display!==r&&null!==n.display&&"none"!==n.display||n.visibility!==r&&"hidden"!==n.visibility)&&/opacity|filter/.test(g)&&!rt&&0!==ut&&(rt=0),n._cacheValues&&ft&&ft[g]?(rt===r&&(rt=ft[g].endValue+ft[g].unitType),ct=e(c).rootPropertyValueCache[st]):u.Hooks.registered[g]?rt===r?(ct=u.getPropertyValue(c,st),rt=u.getPropertyValue(c,g,ct)):ct=u.Hooks.templates[st][1]:rt===r&&(rt=u.getPropertyValue(c,g)),pt=!1,rt=(yt=ni(g,rt))[0],lt=yt[1],ut=(yt=ni(g,ut))[0].replace(/^([+-\/*])=/,function(n,t){return pt=t,""}),et=yt[1],rt=parseFloat(rt)||0,ut=parseFloat(ut)||0,"%"===et&&(/^(fontSize|lineHeight)$/.test(g)?(ut/=100,et="em"):/^scale/.test(g)?(ut/=100,et=""):/(Red|Green|Blue)$/i.test(g)&&(ut=ut/100*255,et="")),/[\/*]/.test(pt))et=lt;else if(lt!==et&&0!==rt)if(0===ut)et=lt;else{b=b||ri();dt=/margin|padding|left|right|width|text|word|letter/i.test(g)||/X$/.test(g)||"x"===g?"x":"y";switch(lt){case"%":rt*="x"===dt?b.percentToPxWidth:b.percentToPxHeight;break;case"px":break;default:rt*=b[lt+"ToPx"]}switch(et){case"%":rt*=1/("x"===dt?b.percentToPxWidth:b.percentToPxHeight);break;case"px":break;default:rt*=1/b[et+"ToPx"]}}switch(pt){case"+":ut=rt+ut;break;case"-":ut=rt-ut;break;case"*":ut*=rt;break;case"/":ut=rt/ut}y[g]={rootPropertyValue:ct,startValue:rt,currentValue:rt,endValue:ut,unitType:et,easing:ui};f.debug&&console.log("tweensContainer ("+g+"): "+JSON.stringify(y[g]),c)}else f.debug&&console.log("Skipping ["+st+"] due to a lack of browser support.")}y.element=c}y.element&&(u.Values.addClass(c,"velocity-animating"),at.push(y),""===n.queue&&(e(c).tweensContainer=y,e(c).opts=n),e(c).isAnimating=!0,tt===nt-1?(f.State.calls.push([at,k,n,null,d.resolver]),!1===f.State.isTicking&&(f.State.isTicking=!0,a())):tt++)}var b,c=this,n=o.extend({},f.defaults,h),y={};switch(e(c)===r&&f.init(c),parseFloat(n.delay)&&!1!==n.queue&&o.queue(c,n.queue,function(t){f.velocityQueueEntryFlag=!0;e(c).delayTimer={setTimeout:setTimeout(t,parseFloat(n.delay)),next:t}}),n.duration.toString().toLowerCase()){case"fast":n.duration=200;break;case"normal":n.duration=v;break;case"slow":n.duration=600;break;default:n.duration=parseFloat(n.duration)||1}!1!==f.mock&&(!0===f.mock?n.duration=n.delay=1:(n.duration*=parseFloat(f.mock)||1,n.delay*=parseFloat(f.mock)||1));n.easing=w(n.easing,n.duration);n.begin&&!s.isFunction(n.begin)&&(n.begin=null);n.progress&&!s.isFunction(n.progress)&&(n.progress=null);n.complete&&!s.isFunction(n.complete)&&(n.complete=null);n.display!==r&&null!==n.display&&(n.display=n.display.toString().toLowerCase(),"auto"===n.display&&(n.display=f.CSS.Values.getDisplayType(c)));n.visibility!==r&&null!==n.visibility&&(n.visibility=n.visibility.toString().toLowerCase());n.mobileHA=n.mobileHA&&f.State.isMobile&&!f.State.isGingerbread;!1===n.queue?n.delay?setTimeout(g,n.delay):g():o.queue(c,n.queue,function(n,t){return!0===t?(d.promise&&d.resolver(k),!0):(f.velocityQueueEntryFlag=!0,void g())});""!==n.queue&&"fx"!==n.queue||"inprogress"===o.queue(c)[0]||o.dequeue(c)}var et,vt,rt,k,p,h,yt=arguments[0]&&(arguments[0].p||o.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||s.isString(arguments[0].properties)),nt,tt,g,it,d,st,pt,ht,ct,lt,n,l,at,ot,ut;if(s.isWrapped(this)?(et=!1,rt=0,k=this,vt=this):(et=!0,rt=1,k=yt?arguments[0].elements||arguments[0].e:arguments[0]),k=y(k)){if(yt?(p=arguments[0].properties||arguments[0].p,h=arguments[0].options||arguments[0].o):(p=arguments[rt],h=arguments[rt+1]),nt=k.length,tt=0,!/^(stop|finish)$/i.test(p)&&!o.isPlainObject(h))for(h={},g=rt+1;g<arguments.length;g++)s.isArray(arguments[g])||!/^(fast|normal|slow)$/i.test(arguments[g])&&!/^\d/.test(arguments[g])?s.isString(arguments[g])||s.isArray(arguments[g])?h.easing=arguments[g]:s.isFunction(arguments[g])&&(h.complete=arguments[g]):h.duration=arguments[g];d={promise:null,resolver:null,rejecter:null};switch(et&&f.Promise&&(d.promise=new f.Promise(function(n,t){d.resolver=n;d.rejecter=t})),p){case"scroll":it="scroll";break;case"reverse":it="reverse";break;case"finish":case"stop":return o.each(k,function(n,t){e(t)&&e(t).delayTimer&&(clearTimeout(e(t).delayTimer.setTimeout),e(t).delayTimer.next&&e(t).delayTimer.next(),delete e(t).delayTimer)}),st=[],o.each(f.State.calls,function(n,t){t&&o.each(t[1],function(i,u){var f=h===r?"":h;return!0!==f&&t[2].queue!==f&&(h!==r||!1!==t[2].queue)||void o.each(k,function(i,r){r===u&&((!0===h||s.isString(h))&&(o.each(o.queue(r,s.isString(h)?h:""),function(n,t){s.isFunction(t)&&t(null,!0)}),o.queue(r,s.isString(h)?h:"",[])),"stop"===p?(e(r)&&e(r).tweensContainer&&!1!==f&&o.each(e(r).tweensContainer,function(n,t){t.endValue=t.currentValue}),st.push(n)):"finish"===p&&(t[2].duration=1))})})}),"stop"===p&&(o.each(st,function(n,t){b(t,!0)}),d.promise&&d.resolver(k)),ft();default:if(!o.isPlainObject(p)||s.isEmptyObject(p))return s.isString(p)&&f.Redirects[p]?(pt=(n=o.extend({},h)).duration,ht=n.delay||0,!0===n.backwards&&(k=o.extend(!0,[],k).reverse()),o.each(k,function(t,i){parseFloat(n.stagger)?n.delay=ht+parseFloat(n.stagger)*t:s.isFunction(n.stagger)&&(n.delay=ht+n.stagger.call(i,t,nt));n.drag&&(n.duration=parseFloat(pt)||(/^(callout|transition)/.test(p)?1e3:v),n.duration=Math.max(n.duration*(n.backwards?1-t/nt:(t+1)/nt),.75*n.duration,200));f.Redirects[p].call(i,i,n||{},t,nt,k,d.promise?d:r)}),ft()):(ct="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.",d.promise?d.rejecter(new Error(ct)):console.log(ct),ft());it="start"}if(l={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},at=[],o.each(k,function(n,t){s.isNode(t)&&wt.call(t)}),(n=o.extend({},f.defaults,h)).loop=parseInt(n.loop),lt=2*n.loop-1,n.loop)for(ot=0;lt>ot;ot++)ut={delay:n.delay,progress:n.progress},ot===lt-1&&(ut.display=n.display,ut.visibility=n.visibility,ut.complete=n.complete),c(k,"reverse",ut);return ft()}},(f=o.extend(c,f)).animate=c,l=t.requestAnimationFrame||k,f.State.isMobile||i.hidden===r||i.addEventListener("visibilitychange",function(){i.hidden?(l=function(n){return setTimeout(function(){n(!0)},16)},a()):l=t.requestAnimationFrame||k}),n.Velocity=f,n!==t&&(n.fn.velocity=c,n.fn.velocity.defaults=f.defaults),o.each(["Down","Up"],function(n,t){f.Redirects["slide"+t]=function(n,i,u,e,s,h){var c=o.extend({},i),v=c.begin,y=c.complete,a={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},l={};c.display===r&&(c.display="Down"===t?"inline"===f.CSS.Values.getDisplayType(n)?"inline-block":"block":"none");c.begin=function(){var i,r;for(i in v&&v.call(s,s),a)l[i]=n.style[i],r=f.CSS.getPropertyValue(n,i),a[i]="Down"===t?[r,0]:[0,r];l.overflow=n.style.overflow;n.style.overflow="hidden"};c.complete=function(){for(var t in l)n.style[t]=l[t];y&&y.call(s,s);h&&h.resolver(s)};f(n,a,c)}}),o.each(["In","Out"],function(n,t){f.Redirects["fade"+t]=function(n,i,u,e,s,h){var c=o.extend({},i),a={opacity:"In"===t?1:0},l=c.complete;c.complete=u!==e-1?c.begin=null:function(){l&&l.call(s,s);h&&h.resolver(s)};c.display===r&&(c.display="In"===t?"auto":"none");f(this,a,c)}}),f}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,document)})),function(n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=n()}(function(){return function n(t,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(i||n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(){},{}],2:[function(n,t){function u(n){var t;if(n){var f=[0,0,0],e=1,u=n.match(/^#([a-fA-F0-9]{3})$/);if(u)for(u=u[1],t=0;t<f.length;t++)f[t]=parseInt(u[t]+u[t],16);else if(u=n.match(/^#([a-fA-F0-9]{6})$/))for(u=u[1],t=0;t<f.length;t++)f[t]=parseInt(u.slice(2*t,2*t+2),16);else if(u=n.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(t=0;t<f.length;t++)f[t]=parseInt(u[t+1]);e=parseFloat(u[4])}else if(u=n.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(t=0;t<f.length;t++)f[t]=Math.round(2.55*parseFloat(u[t+1]));e=parseFloat(u[4])}else if(u=n.match(/(\w+)/)){if("transparent"==u[1])return[0,0,0,0];if(!(f=r[u[1]]))return}for(t=0;t<f.length;t++)f[t]=i(f[t],0,255);return e=e||0==e?i(e,0,1):1,f[3]=e,f}}function f(n){var t,r;if(n&&(t=n.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/),t))return r=parseFloat(t[4]),[i(parseInt(t[1]),0,360),i(parseFloat(t[2]),0,100),i(parseFloat(t[3]),0,100),i(isNaN(r)?1:r,0,1)]}function h(n){var t,r;if(n&&(t=n.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/),t))return r=parseFloat(t[4]),[i(parseInt(t[1]),0,360),i(parseFloat(t[2]),0,100),i(parseFloat(t[3]),0,100),i(isNaN(r)?1:r,0,1)]}function c(n,t){return void 0===t&&(t=void 0!==n[3]?n[3]:1),"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+t+")"}function l(n,t){return"rgba("+Math.round(n[0]/255*100)+"%, "+Math.round(n[1]/255*100)+"%, "+Math.round(n[2]/255*100)+"%, "+(t||n[3]||1)+")"}function a(n,t){return void 0===t&&(t=void 0!==n[3]?n[3]:1),"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+t+")"}function i(n,t,i){return Math.min(Math.max(t,n),i)}function e(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}var r=n(6),o,s;t.exports={getRgba:u,getHsla:f,getRgb:function(n){var t=u(n);return t&&t.slice(0,3)},getHsl:function(n){var t=f(n);return t&&t.slice(0,3)},getHwb:h,getAlpha:function(n){var t=u(n);return t?t[3]:(t=f(n))?t[3]:(t=h(n))?t[3]:void 0},hexString:function(n){return"#"+e(n[0])+e(n[1])+e(n[2])},rgbString:function(n,t){return t<1||n[3]&&n[3]<1?c(n,t):"rgb("+n[0]+", "+n[1]+", "+n[2]+")"},rgbaString:c,percentString:function(n,t){if(t<1||n[3]&&n[3]<1)return l(n,t);var i=Math.round(n[0]/255*100),r=Math.round(n[1]/255*100),u=Math.round(n[2]/255*100);return"rgb("+i+"%, "+r+"%, "+u+"%)"},percentaString:l,hslString:function(n,t){return t<1||n[3]&&n[3]<1?a(n,t):"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)"},hslaString:a,hwbString:function(n,t){return void 0===t&&(t=void 0!==n[3]?n[3]:1),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(n){return o[n.slice(0,3)]}};o={};for(s in r)o[r[s]]=s},{6:6}],3:[function(n,t){var u=n(5),r=n(2),i=function(n){return n instanceof i?n:this instanceof i?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof n?(t=r.getRgba(n))?this.setValues("rgb",t):(t=r.getHsla(n))?this.setValues("hsl",t):(t=r.getHwb(n))&&this.setValues("hwb",t):"object"==typeof n&&(void 0!==(t=n).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new i(n);var t};i.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var n=this.values;return 1!==n.alpha?n.hwb.concat([n.alpha]):n.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var n=this.values;return n.rgb.concat([n.alpha])},hslaArray:function(){var n=this.values;return n.hsl.concat([n.alpha])},alpha:function(n){return void 0===n?this.values.alpha:(this.setValues("alpha",n),this)},red:function(n){return this.setChannel("rgb",0,n)},green:function(n){return this.setChannel("rgb",1,n)},blue:function(n){return this.setChannel("rgb",2,n)},hue:function(n){return n&&(n=(n%=360)<0?360+n:n),this.setChannel("hsl",0,n)},saturation:function(n){return this.setChannel("hsl",1,n)},lightness:function(n){return this.setChannel("hsl",2,n)},saturationv:function(n){return this.setChannel("hsv",1,n)},whiteness:function(n){return this.setChannel("hwb",1,n)},blackness:function(n){return this.setChannel("hwb",2,n)},value:function(n){return this.setChannel("hsv",2,n)},cyan:function(n){return this.setChannel("cmyk",0,n)},magenta:function(n){return this.setChannel("cmyk",1,n)},yellow:function(n){return this.setChannel("cmyk",2,n)},black:function(n){return this.setChannel("cmyk",3,n)},hexString:function(){return r.hexString(this.values.rgb)},rgbString:function(){return r.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return r.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return r.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return r.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return r.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return r.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return r.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var n=this.values.rgb;return n[0]<<16|n[1]<<8|n[2]},luminosity:function(){for(var i,r=this.values.rgb,n=[],t=0;t<r.length;t++)i=r[t]/255,n[t]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4);return.2126*n[0]+.7152*n[1]+.0722*n[2]},contrast:function(n){var t=this.luminosity(),i=n.luminosity();return t>i?(t+.05)/(i+.05):(i+.05)/(t+.05)},level:function(n){var t=this.contrast(n);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var n=this.values.rgb;return(299*n[0]+587*n[1]+114*n[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],n=0;n<3;n++)t[n]=255-this.values.rgb[n];return this.setValues("rgb",t),this},lighten:function(n){var t=this.values.hsl;return t[2]+=t[2]*n,this.setValues("hsl",t),this},darken:function(n){var t=this.values.hsl;return t[2]-=t[2]*n,this.setValues("hsl",t),this},saturate:function(n){var t=this.values.hsl;return t[1]+=t[1]*n,this.setValues("hsl",t),this},desaturate:function(n){var t=this.values.hsl;return t[1]-=t[1]*n,this.setValues("hsl",t),this},whiten:function(n){var t=this.values.hwb;return t[1]+=t[1]*n,this.setValues("hwb",t),this},blacken:function(n){var t=this.values.hwb;return t[2]+=t[2]*n,this.setValues("hwb",t),this},greyscale:function(){var n=this.values.rgb,t=.3*n[0]+.59*n[1]+.11*n[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(n){var t=this.values.alpha;return this.setValues("alpha",t-t*n),this},opaquer:function(n){var t=this.values.alpha;return this.setValues("alpha",t+t*n),this},rotate:function(n){var t=this.values.hsl,i=(t[0]+n)%360;return t[0]=i<0?360+i:i,this.setValues("hsl",t),this},mix:function(n,t){var i=n,f=void 0===t?.5:t,r=2*f-1,e=this.alpha()-i.alpha(),u=((r*e==-1?r:(r+e)/(1+r*e))+1)/2,o=1-u;return this.rgb(u*this.red()+o*i.red(),u*this.green()+o*i.green(),u*this.blue()+o*i.blue()).alpha(this.alpha()*f+i.alpha()*(1-f))},toJSON:function(){return this.rgb()},clone:function(){var n,u,f=new i,r=this.values,e=f.values,t;for(t in r)r.hasOwnProperty(t)&&(n=r[t],"[object Array]"===(u={}.toString.call(n))?e[t]=n.slice(0):"[object Number]"===u?e[t]=n:console.error("unexpected color value:",n));return f}};i.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]};i.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]};i.prototype.getValues=function(n){for(var i=this.values,r={},t=0;t<n.length;t++)r[n.charAt(t)]=i[n][t];return 1!==i.alpha&&(r.a=i.alpha),r};i.prototype.setValues=function(n,t){var i,s,r=this.values,o=this.spaces,c=this.maxes,f=1,h,e;if(this.valid=!0,"alpha"===n)f=t;else if(t.length)r[n]=t.slice(0,n.length),f=t[n.length];else if(void 0!==t[n.charAt(0)]){for(i=0;i<n.length;i++)r[n][i]=t[n.charAt(i)];f=t.a}else if(void 0!==t[o[n][0]]){for(h=o[n],i=0;i<n.length;i++)r[n][i]=t[h[i]];f=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===f?r.alpha:f)),"alpha"===n)return!1;for(i=0;i<n.length;i++)s=Math.max(0,Math.min(c[n][i],r[n][i])),r[n][i]=Math.round(s);for(e in o)e!==n&&(r[e]=u[n][e](r[n]));return!0};i.prototype.setSpace=function(n,t){var i=t[0];return void 0===i?this.getValues(n):("number"==typeof i&&(i=Array.prototype.slice.call(t)),this.setValues(n,i),this)};i.prototype.setChannel=function(n,t,i){var r=this.values[n];return void 0===i?r[t]:i===r[t]?this:(r[t]=i,this.setValues(n,r),this)};"undefined"!=typeof window&&(window.Color=i);t.exports=i},{2:2,5:5}],4:[function(n,t){function u(n){var i,s,u=n[0]/255,f=n[1]/255,e=n[2]/255,r=Math.min(u,f,e),t=Math.max(u,f,e),o=t-r;return t==r?i=0:u==t?i=(f-e)/o:f==t?i=2+(e-u)/o:e==t&&(i=4+(u-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),s=(r+t)/2,[i,100*(t==r?0:s<=.5?o/(t+r):o/(2-t-r)),100*s]}function c(n){var t,o,r=n[0],u=n[1],f=n[2],s=Math.min(r,u,f),i=Math.max(r,u,f),e=i-s;return o=0==i?0:e/i*100,i==s?t=0:r==i?t=(u-f)/e:u==i?t=2+(f-r)/e:f==i&&(t=4+(r-u)/e),(t=Math.min(60*t,360))<0&&(t+=360),[t,o,i/255*100]}function f(n){var i=n[0],r=n[1],t=n[2];return[u(n)[0],100*1/255*Math.min(i,Math.min(r,t)),100*(t=1-1/255*Math.max(i,Math.max(r,t)))]}function e(n){var t,i=n[0]/255,r=n[1]/255,u=n[2]/255;return[100*((1-i-(t=Math.min(1-i,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]}function o(n){return nt[JSON.stringify(n)]}function y(n){var t=n[0]/255,i=n[1]/255,r=n[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*i+.0722*r),100*(.0193*t+.1192*i+.9505*r)]}function p(n){var u=y(n),i=u[0],t=u[1],r=u[2];return t/=100,r/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(t=t>.008856?Math.pow(t,1/3):7.787*t+16/116)-16,500*(i-t),200*(t-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function l(n){var i,e,t,s,u,h=n[0]/360,o=n[1]/100,r=n[2]/100,f;if(0==o)return[u=255*r,u,u];for(i=2*r-(e=r<.5?r*(1+o):r+o-r*o),s=[0,0,0],f=0;f<3;f++)(t=h+1/3*-(f-1))<0&&t++,t>1&&t--,u=6*t<1?i+6*(e-i)*t:2*t<1?e:3*t<2?i+(e-i)*(2/3-t)*6:i,s[f]=255*u;return s}function a(n){var r=n[0]/60,u=n[1]/100,t=n[2]/100,s=Math.floor(r)%6,o=r-Math.floor(r),i=255*t*(1-u),f=255*t*(1-u*o),e=255*t*(1-u*(1-o));t*=255;switch(s){case 0:return[t,e,i];case 1:return[f,t,i];case 2:return[i,t,e];case 3:return[i,f,t];case 4:return[e,i,t];case 5:return[t,i,f]}}function s(n){var e,i,f,u,h=n[0]/360,t=n[1]/100,o=n[2]/100,s=t+o;switch(s>1&&(t/=s,o/=s),i=1-o,f=6*h-(e=Math.floor(6*h)),0!=(1&e)&&(f=1-f),u=t+f*(i-t),e){default:case 6:case 0:r=i;g=u;b=t;break;case 1:r=u;g=i;b=t;break;case 2:r=t;g=i;b=u;break;case 3:r=t;g=u;b=i;break;case 4:r=u;g=t;b=i;break;case 5:r=i;g=t;b=u}return[255*r,255*g,255*b]}function h(n){var i=n[0]/100,r=n[1]/100,u=n[2]/100,t=n[3]/100;return[255*(1-Math.min(1,i*(1-t)+t)),255*(1-Math.min(1,r*(1-t)+t)),255*(1-Math.min(1,u*(1-t)+t))]}function it(n){var r,t,i,u=n[0]/100,f=n[1]/100,e=n[2]/100;return t=-.9689*u+1.8758*f+.0415*e,i=.0557*u+-.204*f+1.057*e,r=(r=3.2406*u+-1.5372*f+-.4986*e)>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(r=Math.min(Math.max(0,r),1)),255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1))]}function rt(n){var i=n[0],t=n[1],r=n[2];return t/=100,r/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(t=t>.008856?Math.pow(t,1/3):7.787*t+16/116)-16,500*(i-t),200*(t-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function w(n){var r,i,u,t,f=n[0],e=n[1],o=n[2];return f<=8?t=(i=100*f/903.3)/100*7.787+16/116:(i=100*Math.pow((f+16)/116,3),t=Math.pow(i/100,1/3)),[r=r/95.047<=.008856?r=95.047*(e/500+t-16/116)/7.787:95.047*Math.pow(e/500+t,3),i,u=u/108.883<=.008859?u=108.883*(t-o/200-16/116)/7.787:108.883*Math.pow(t-o/200,3)]}function k(n){var t,u=n[0],i=n[1],r=n[2];return(t=180*Math.atan2(r,i)/Math.PI)<0&&(t+=360),[u,Math.sqrt(i*i+r*r),t]}function ut(n){return it(w(n))}function d(n){var t,r=n[0],i=n[1];return t=n[2]/180*Math.PI,[r,i*Math.cos(t),i*Math.sin(t)]}function i(n){return v[n]}var v,nt,tt;t.exports={rgb2hsl:u,rgb2hsv:c,rgb2hwb:f,rgb2cmyk:e,rgb2keyword:o,rgb2xyz:y,rgb2lab:p,rgb2lch:function(n){return k(p(n))},hsl2rgb:l,hsl2hsv:function(n){var r=n[0],i=n[1]/100,t=n[2]/100;return 0===t?[0,0,0]:[r,100*(2*(i*=(t*=2)<=1?t:2-t)/(t+i)),50*(t+i)]},hsl2hwb:function(n){return f(l(n))},hsl2cmyk:function(n){return e(l(n))},hsl2keyword:function(n){return o(l(n))},hsv2rgb:a,hsv2hsl:function(n){var i,t,f=n[0],r=n[1]/100,u=n[2]/100;return i=r*u,[f,100*(i=(i/=(t=(2-r)*u)<=1?t:2-t)||0),100*(t/=2)]},hsv2hwb:function(n){return f(a(n))},hsv2cmyk:function(n){return e(a(n))},hsv2keyword:function(n){return o(a(n))},hwb2rgb:s,hwb2hsl:function(n){return u(s(n))},hwb2hsv:function(n){return c(s(n))},hwb2cmyk:function(n){return e(s(n))},hwb2keyword:function(n){return o(s(n))},cmyk2rgb:h,cmyk2hsl:function(n){return u(h(n))},cmyk2hsv:function(n){return c(h(n))},cmyk2hwb:function(n){return f(h(n))},cmyk2keyword:function(n){return o(h(n))},keyword2rgb:i,keyword2hsl:function(n){return u(i(n))},keyword2hsv:function(n){return c(i(n))},keyword2hwb:function(n){return f(i(n))},keyword2cmyk:function(n){return e(i(n))},keyword2lab:function(n){return p(i(n))},keyword2xyz:function(n){return y(i(n))},xyz2rgb:it,xyz2lab:rt,xyz2lch:function(n){return k(rt(n))},lab2xyz:w,lab2rgb:ut,lab2lch:k,lch2lab:d,lch2xyz:function(n){return w(d(n))},lch2rgb:function(n){return ut(d(n))}};v={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]};nt={};for(tt in v)nt[JSON.stringify(v[tt])]=tt},{}],5:[function(n,t){var f=n(4),i=function(){return new u},r,u;for(r in f){i[r+"Raw"]=function(n){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),f[n](t)}}(r);var e=/(\w+)2(\w+)/.exec(r),o=e[1],s=e[2];(i[o]=i[o]||{})[s]=i[r]=function(n){return function(t){var i,r;if("number"==typeof t&&(t=Array.prototype.slice.call(arguments)),i=f[n](t),"string"==typeof i||void 0===i)return i;for(r=0;r<i.length;r++)i[r]=Math.round(i[r]);return i}}(r)}u=function(){this.convs={}};u.prototype.routeSpace=function(n,t){var i=t[0];return void 0===i?this.getValues(n):("number"==typeof i&&(i=Array.prototype.slice.call(t)),this.setValues(n,i))};u.prototype.setValues=function(n,t){return this.space=n,this.convs={},this.convs[n]=t,this};u.prototype.getValues=function(n){var t=this.convs[n],r,u;return t||(r=this.space,u=this.convs[r],t=i[r][n](u),this.convs[n]=t),t};["rgb","hsl","hsv","cmyk","keyword"].forEach(function(n){u.prototype[n]=function(){return this.routeSpace(n,arguments)}});t.exports=i},{4:4}],6:[function(n,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(n,t){var i=n(28)(),r;n(26)(i);n(40)(i);n(22)(i);n(25)(i);n(30)(i);n(21)(i);n(23)(i);n(24)(i);n(29)(i);n(32)(i);n(33)(i);n(31)(i);n(27)(i);n(34)(i);n(35)(i);n(36)(i);n(37)(i);n(38)(i);n(46)(i);n(44)(i);n(45)(i);n(47)(i);n(48)(i);n(49)(i);n(15)(i);n(16)(i);n(17)(i);n(18)(i);n(19)(i);n(20)(i);n(8)(i);n(9)(i);n(10)(i);n(11)(i);n(12)(i);n(13)(i);n(14)(i);r=[];r.push(n(41)(i),n(42)(i),n(43)(i));i.plugins.register(r);t.exports=i;"undefined"!=typeof window&&(window.Chart=i)},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,8:8,9:9}],8:[function(n,t){"use strict";t.exports=function(n){n.Bar=function(t,i){return i.type="bar",new n(t,i)}}},{}],9:[function(n,t){"use strict";t.exports=function(n){n.Bubble=function(t,i){return i.type="bubble",new n(t,i)}}},{}],10:[function(n,t){"use strict";t.exports=function(n){n.Doughnut=function(t,i){return i.type="doughnut",new n(t,i)}}},{}],11:[function(n,t){"use strict";t.exports=function(n){n.Line=function(t,i){return i.type="line",new n(t,i)}}},{}],12:[function(n,t){"use strict";t.exports=function(n){n.PolarArea=function(t,i){return i.type="polarArea",new n(t,i)}}},{}],13:[function(n,t){"use strict";t.exports=function(n){n.Radar=function(t,i){return i.type="radar",new n(t,i)}}},{}],14:[function(n,t){"use strict";t.exports=function(n){n.defaults.scatter={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(n){return"("+n.xLabel+", "+n.yLabel+")"}}}};n.controllers.scatter=n.controllers.line;n.Scatter=function(t,i){return i.type="scatter",new n(t,i)}}},{}],15:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}};n.controllers.bar=n.DatasetController.extend({dataElementType:n.elements.Rectangle,initialize:function(){var t;n.DatasetController.prototype.initialize.apply(this,arguments);(t=this.getMeta()).stack=this.getDataset().stack;t.bar=!0},update:function(n){var t,i,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,i=r.length;t<i;++t)this.updateElement(r[t],t,n)},updateElement:function(n,i,r){var f=this,s=f.chart,h=f.getMeta(),e=f.getDataset(),u=n.custom||{},o=s.options.elements.rectangle;n._xScale=f.getScaleForId(h.xAxisID);n._yScale=f.getScaleForId(h.yAxisID);n._datasetIndex=f.index;n._index=i;n._model={datasetLabel:e.label,label:s.data.labels[i],borderSkipped:u.borderSkipped?u.borderSkipped:o.borderSkipped,backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(e.backgroundColor,i,o.backgroundColor),borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(e.borderColor,i,o.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(e.borderWidth,i,o.borderWidth)};f.updateElementGeometry(n,i,r);n.pivot()},updateElementGeometry:function(n,t,i){var r=this,u=n._model,h=r.getValueScale(),o=h.getBasePixel(),f=h.isHorizontal(),c=r._ruler||r.getRuler(),s=r.calculateBarValuePixels(r.index,t),e=r.calculateBarIndexPixels(r.index,t,c);u.horizontal=f;u.base=i?o:s.base;u.x=f?i?o:s.head:e.center;u.y=f?e.center:i?o:s.head;u.height=f?e.size:void 0;u.width=f?void 0:e.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(n){for(var i,u=this.chart,f=this.getIndexScale().options.stacked,e=void 0===n?u.data.datasets.length:n+1,r=[],t=0;t<e;++t)(i=u.getDatasetMeta(t)).bar&&u.isDatasetVisible(t)&&(!1===f||!0===f&&-1===r.indexOf(i.stack)||void 0===f&&(void 0===i.stack||-1===r.indexOf(i.stack)))&&r.push(i.stack);return r.length},getStackIndex:function(n){return this.getStackCount(n)-1},getRuler:function(){var n=this.getIndexScale(),i=n.options,o=this.getStackCount(),r=(n.isHorizontal()?n.width:n.height)/n.ticks.length,u=r*i.categoryPercentage,f=u/o,e=f*i.barPercentage;return{stackCount:o,tickSize:r,categorySize:u,categorySpacing:r-u,fullBarSize:f,barSize:e=Math.min(t.getValueOrDefault(i.barThickness,e),t.getValueOrDefault(i.maxBarThickness,1/0)),barSpacing:f-e,scale:n}},calculateBarValuePixels:function(n,t){var i,f,r,e,o,l,s=this.chart,p=this.getMeta(),u=this.getValueScale(),a=s.data.datasets,h=Number(a[n].data[t]),v=u.options.stacked,y=p.stack,c=0;if(v||void 0===v&&void 0!==y)for(i=0;i<n;++i)(f=s.getDatasetMeta(i)).bar&&f.stack===y&&f.controller.getValueScaleId()===u.id&&s.isDatasetVisible(i)&&(r=Number(a[i].data[t]),(h<0&&r<0||h>=0&&r>0)&&(c+=r));return e=u.getPixelForValue(c),{size:l=((o=u.getPixelForValue(c+h))-e)/2,base:e,head:o,center:o+l/2}},calculateBarIndexPixels:function(n,t,i){var e=i.scale,f=this.chart.isCombo,o=this.getStackIndex(n),r=e.getPixelForValue(null,t,n,f),u=i.barSize;return r-=f?i.tickSize/2:0,r+=i.fullBarSize*o,r+=i.categorySpacing/2,{size:u,base:r+=i.barSpacing/2,head:r+u,center:r+u/2}},draw:function(){var i,r=this.chart,u=this.getMeta().data,f=this.getDataset(),e=u.length,n=0;for(t.canvas.clipArea(r.ctx,r.chartArea);n<e;++n)null===(i=f.data[n])||void 0===i||isNaN(i)||u[n].draw();t.canvas.unclipArea(r.ctx)},setHoverStyle:function(n){var u=this.chart.data.datasets[n._datasetIndex],f=n._index,i=n.custom||{},r=n._model;r.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:t.getValueAtIndexOrDefault(u.hoverBackgroundColor,f,t.getHoverColor(r.backgroundColor));r.borderColor=i.hoverBorderColor?i.hoverBorderColor:t.getValueAtIndexOrDefault(u.hoverBorderColor,f,t.getHoverColor(r.borderColor));r.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:t.getValueAtIndexOrDefault(u.hoverBorderWidth,f,r.borderWidth)},removeHoverStyle:function(n){var r=this.chart.data.datasets[n._datasetIndex],u=n._index,i=n.custom||{},f=n._model,e=this.chart.options.elements.rectangle;f.backgroundColor=i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(r.backgroundColor,u,e.backgroundColor);f.borderColor=i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(r.borderColor,u,e.borderColor);f.borderWidth=i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(r.borderWidth,u,e.borderWidth)}});n.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(n,t){var i="";return n.length>0&&(n[0].yLabel?i=n[0].yLabel:t.labels.length>0&&n[0].index<t.labels.length&&(i=t.labels[n[0].index])),i},label:function(n,t){return(t.datasets[n.datasetIndex].label||"")+": "+n.xLabel}}}};n.controllers.horizontalBar=n.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{}],16:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.bubble={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(n,t){var i=t.datasets[n.datasetIndex].label||"",r=t.datasets[n.datasetIndex].data[n.index];return i+": ("+n.xLabel+", "+n.yLabel+", "+r.r+")"}}}};n.controllers.bubble=n.DatasetController.extend({dataElementType:n.elements.Point,update:function(n){var i=this,r=i.getMeta().data;t.each(r,function(t,r){i.updateElement(t,r,n)})},updateElement:function(i,r,u){var f=this,a=f.getMeta(),h=f.getScaleForId(a.xAxisID),c=f.getScaleForId(a.yAxisID),e=i.custom||{},v=f.getDataset(),o=v.data[r],y=f.chart.options.elements.point,l=f.index,s;t.extend(i,{_xScale:h,_yScale:c,_datasetIndex:l,_index:r,_model:{x:u?h.getPixelForDecimal(.5):h.getPixelForValue("object"==typeof o?o:NaN,r,l,f.chart.isCombo),y:u?c.getBasePixel():c.getPixelForValue(o,r,l),radius:u?0:e.radius?e.radius:f.getRadius(o),hitRadius:e.hitRadius?e.hitRadius:t.getValueAtIndexOrDefault(v.hitRadius,r,y.hitRadius)}});n.DatasetController.prototype.removeHoverStyle.call(f,i,y);s=i._model;s.skip=e.skip?e.skip:isNaN(s.x)||isNaN(s.y);i.pivot()},getRadius:function(n){return n.r||this.chart.options.elements.point.radius},setHoverStyle:function(i){n.DatasetController.prototype.setHoverStyle.call(this,i);var r=this.chart.data.datasets[i._datasetIndex],u=i._index,f=i.custom||{};i._model.radius=f.hoverRadius?f.hoverRadius:t.getValueAtIndexOrDefault(r.hoverRadius,u,this.chart.options.elements.point.hoverRadius)+this.getRadius(r.data[u])},removeHoverStyle:function(t){n.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.point);var r=this.chart.data.datasets[t._datasetIndex].data[t._index],i=t.custom||{};t._model.radius=i.radius?i.radius:this.getRadius(r)}})}},{}],17:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers,i=n.defaults;i.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(n){var t=[],i;t.push('<ul class="'+n.id+'-legend">');var u=n.data,r=u.datasets,f=u.labels;if(r.length)for(i=0;i<r[0].data.length;++i)t.push('<li><span style="background-color:'+r[0].backgroundColor[i]+'"><\/span>'),f[i]&&t.push(f[i]),t.push("<\/li>");return t.push("<\/ul>"),t.join("")},legend:{labels:{generateLabels:function(n){var i=n.data;return i.labels.length&&i.datasets.length?i.labels.map(function(r,u){var h=n.getDatasetMeta(0),e=i.datasets[0],c=h.data[u],f=c&&c.custom||{},o=t.getValueAtIndexOrDefault,s=n.options.elements.arc;return{text:r,fillStyle:f.backgroundColor?f.backgroundColor:o(e.backgroundColor,u,s.backgroundColor),strokeStyle:f.borderColor?f.borderColor:o(e.borderColor,u,s.borderColor),lineWidth:f.borderWidth?f.borderWidth:o(e.borderWidth,u,s.borderWidth),hidden:isNaN(e.data[u])||h.data[u].hidden,index:u}}):[]}},onClick:function(n,t){for(var r,u=t.index,f=this.chart,i=0,e=(f.data.datasets||[]).length;i<e;++i)(r=f.getDatasetMeta(i)).data[u]&&(r.data[u].hidden=!r.data[u].hidden);f.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(n,i){var r=i.labels[n.index],u=": "+i.datasets[n.datasetIndex].data[n.index];return t.isArray(r)?(r=r.slice())[0]+=u:r+=u,r}}}};i.pie=t.clone(i.doughnut);t.extend(i.pie,{cutoutPercentage:0});n.controllers.doughnut=n.controllers.pie=n.DatasetController.extend({dataElementType:n.elements.Arc,linkScales:t.noop,getRingIndex:function(n){for(var i=0,t=0;t<n;++t)this.chart.isDatasetVisible(t)&&++i;return i},update:function(n){var u=this,i=u.chart,h=i.chartArea,c=i.options,w=c.elements.arc,b=h.right-h.left-w.borderWidth,k=h.bottom-h.top-w.borderWidth,d=Math.min(b,k),v={x:0,y:0},y=u.getMeta(),p=c.cutoutPercentage,g=c.circumference;if(g<2*Math.PI){var r=c.rotation%(2*Math.PI),f=(r+=2*Math.PI*(r>=Math.PI?-1:r<-Math.PI?1:0))+g,e={x:Math.cos(r),y:Math.sin(r)},o={x:Math.cos(f),y:Math.sin(f)},tt=r<=0&&0<=f||r<=2*Math.PI&&2*Math.PI<=f,it=r<=.5*Math.PI&&.5*Math.PI<=f||r<=2.5*Math.PI&&2.5*Math.PI<=f,rt=r<=-Math.PI&&-Math.PI<=f||r<=Math.PI&&Math.PI<=f,ut=r<=.5*-Math.PI&&.5*-Math.PI<=f||r<=1.5*Math.PI&&1.5*Math.PI<=f,s=p/100,l={x:rt?-1:Math.min(e.x*(e.x<0?1:s),o.x*(o.x<0?1:s)),y:ut?-1:Math.min(e.y*(e.y<0?1:s),o.y*(o.y<0?1:s))},a={x:tt?1:Math.max(e.x*(e.x>0?1:s),o.x*(o.x>0?1:s)),y:it?1:Math.max(e.y*(e.y>0?1:s),o.y*(o.y>0?1:s))},nt={width:.5*(a.x-l.x),height:.5*(a.y-l.y)};d=Math.min(b/nt.width,k/nt.height);v={x:-.5*(a.x+l.x),y:-.5*(a.y+l.y)}}i.borderWidth=u.getMaxBorderWidth(y.data);i.outerRadius=Math.max((d-i.borderWidth)/2,0);i.innerRadius=Math.max(p?i.outerRadius/100*p:0,0);i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount();i.offsetX=v.x*i.outerRadius;i.offsetY=v.y*i.outerRadius;y.total=u.calculateTotal();u.outerRadius=i.outerRadius-i.radiusLength*u.getRingIndex(u.index);u.innerRadius=Math.max(u.outerRadius-i.radiusLength,0);t.each(y.data,function(t,i){u.updateElement(t,i,n)})},updateElement:function(n,i,r){var u=this,f=u.chart,s=f.chartArea,e=f.options,h=e.animation,l=(s.left+s.right)/2,a=(s.top+s.bottom)/2,v=e.rotation,y=e.rotation,c=u.getDataset(),p=r&&h.animateRotate?0:n.hidden?0:u.calculateCircumference(c.data[i])*(e.circumference/(2*Math.PI)),w=r&&h.animateScale?0:u.innerRadius,b=r&&h.animateScale?0:u.outerRadius,k=t.getValueAtIndexOrDefault,o;t.extend(n,{_datasetIndex:u.index,_index:i,_model:{x:l+f.offsetX,y:a+f.offsetY,startAngle:v,endAngle:y,circumference:p,outerRadius:b,innerRadius:w,label:k(c.label,i,f.data.labels[i])}});o=n._model;this.removeHoverStyle(n);r&&h.animateRotate||(o.startAngle=0===i?e.rotation:u.getMeta().data[i-1]._model.endAngle,o.endAngle=o.startAngle+o.circumference);n.pivot()},removeHoverStyle:function(t){n.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var n,r=this.getDataset(),u=this.getMeta(),i=0;return t.each(u.data,function(t,u){n=r.data[u];isNaN(n)||t.hidden||(i+=Math.abs(n))}),i},calculateCircumference:function(n){var t=this.getMeta().total;return t>0&&!isNaN(n)?2*Math.PI*(n/t):0},getMaxBorderWidth:function(n){for(var r,u,t=0,f=this.index,e=n.length,i=0;i<e;i++)r=n[i]._model?n[i]._model.borderWidth:0,t=(u=n[i]._chart?n[i]._chart.config.data.datasets[f].hoverBorderWidth:0)>(t=r>t?r:t)?u:t;return t}})}},{}],18:[function(n,t){"use strict";t.exports=function(n){function i(n,i){return t.getValueOrDefault(n.showLine,i.showLines)}var t=n.helpers;n.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}};n.controllers.line=n.DatasetController.extend({datasetElementType:n.elements.Line,dataElementType:n.elements.Point,update:function(n){var e,c,r,o=this,l=o.getMeta(),s=l.dataset,h=l.data||[],a=o.chart.options,f=a.elements.line,y=o.getScaleForId(l.yAxisID),u=o.getDataset(),v=i(u,a);for(v&&(r=s.custom||{},void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),s._scale=y,s._datasetIndex=o.index,s._children=h,s._model={spanGaps:u.spanGaps?u.spanGaps:a.spanGaps,tension:r.tension?r.tension:t.getValueOrDefault(u.lineTension,f.tension),backgroundColor:r.backgroundColor?r.backgroundColor:u.backgroundColor||f.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:u.borderWidth||f.borderWidth,borderColor:r.borderColor?r.borderColor:u.borderColor||f.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:u.borderCapStyle||f.borderCapStyle,borderDash:r.borderDash?r.borderDash:u.borderDash||f.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:u.borderDashOffset||f.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:u.borderJoinStyle||f.borderJoinStyle,fill:r.fill?r.fill:void 0!==u.fill?u.fill:f.fill,steppedLine:r.steppedLine?r.steppedLine:t.getValueOrDefault(u.steppedLine,f.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:t.getValueOrDefault(u.cubicInterpolationMode,f.cubicInterpolationMode)},s.pivot()),e=0,c=h.length;e<c;++e)o.updateElement(h[e],e,n);for(v&&0!==s._model.tension&&o.updateBezierControlPoints(),e=0,c=h.length;e<c;++e)h[e].pivot()},getPointBackgroundColor:function(n,i){var r=this.chart.options.elements.point.backgroundColor,u=this.getDataset(),f=n.custom||{};return f.backgroundColor?r=f.backgroundColor:u.pointBackgroundColor?r=t.getValueAtIndexOrDefault(u.pointBackgroundColor,i,r):u.backgroundColor&&(r=u.backgroundColor),r},getPointBorderColor:function(n,i){var r=this.chart.options.elements.point.borderColor,u=this.getDataset(),f=n.custom||{};return f.borderColor?r=f.borderColor:u.pointBorderColor?r=t.getValueAtIndexOrDefault(u.pointBorderColor,i,r):u.borderColor&&(r=u.borderColor),r},getPointBorderWidth:function(n,i){var r=this.chart.options.elements.point.borderWidth,u=this.getDataset(),f=n.custom||{};return isNaN(f.borderWidth)?isNaN(u.pointBorderWidth)?isNaN(u.borderWidth)||(r=u.borderWidth):r=t.getValueAtIndexOrDefault(u.pointBorderWidth,i,r):r=f.borderWidth,r},updateElement:function(n,i,r){var s,h,f=this,e=f.getMeta(),o=n.custom||{},u=f.getDataset(),c=f.index,l=u.data[i],v=f.getScaleForId(e.yAxisID),y=f.getScaleForId(e.xAxisID),a=f.chart.options.elements.point,p=1===(f.chart.data.labels||[]).length||1===u.data.length||f.chart.isCombo;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius);void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius);s=y.getPixelForValue("object"==typeof l?l:NaN,i,c,p);h=r?v.getBasePixel():f.calculatePointY(l,i,c);n._xScale=y;n._yScale=v;n._datasetIndex=c;n._index=i;n._model={x:s,y:h,skip:o.skip||isNaN(s)||isNaN(h),radius:o.radius||t.getValueAtIndexOrDefault(u.pointRadius,i,a.radius),pointStyle:o.pointStyle||t.getValueAtIndexOrDefault(u.pointStyle,i,a.pointStyle),backgroundColor:f.getPointBackgroundColor(n,i),borderColor:f.getPointBorderColor(n,i),borderWidth:f.getPointBorderWidth(n,i),tension:e.dataset._model?e.dataset._model.tension:0,steppedLine:!!e.dataset._model&&e.dataset._model.steppedLine,hitRadius:o.hitRadius||t.getValueAtIndexOrDefault(u.pointHitRadius,i,a.hitRadius)}},calculatePointY:function(n,t,i){var u,s,h,o=this.chart,a=this.getMeta(),r=this.getScaleForId(a.yAxisID),c=0,l=0,f,e;if(r.options.stacked){for(u=0;u<i;u++)(s=o.data.datasets[u],"line"===(h=o.getDatasetMeta(u)).type&&h.yAxisID===r.id&&o.isDatasetVisible(u))&&(f=Number(r.getRightValue(s.data[t])),f<0?l+=f||0:c+=f||0);return e=Number(r.getRightValue(n)),e<0?r.getPixelForValue(l+e):r.getPixelForValue(c+e)}return r.getPixelForValue(n)},updateBezierControlPoints:function(){function s(n,t,i){return Math.max(Math.min(n,i),t)}var i,e,n,f,o=this.getMeta(),u=this.chart.chartArea,r=o.data||[];if(o.dataset._model.spanGaps&&(r=r.filter(function(n){return!n._model.skip})),"monotone"===o.dataset._model.cubicInterpolationMode)t.splineCurveMonotone(r);else for(i=0,e=r.length;i<e;++i)n=r[i]._model,f=t.splineCurve(t.previousItem(r,i)._model,n,t.nextItem(r,i)._model,o.dataset._model.tension),n.controlPointPreviousX=f.previous.x,n.controlPointPreviousY=f.previous.y,n.controlPointNextX=f.next.x,n.controlPointNextY=f.next.y;if(this.chart.options.elements.line.capBezierPoints)for(i=0,e=r.length;i<e;++i)(n=r[i]._model).controlPointPreviousX=s(n.controlPointPreviousX,u.left,u.right),n.controlPointPreviousY=s(n.controlPointPreviousY,u.top,u.bottom),n.controlPointNextX=s(n.controlPointNextX,u.left,u.right),n.controlPointNextY=s(n.controlPointNextY,u.top,u.bottom)},draw:function(){var t=this.chart,u=this.getMeta(),f=u.data||[],e=t.chartArea,o=f.length,r=0;for(n.canvasHelpers.clipArea(t.ctx,e),i(this.getDataset(),t.options)&&u.dataset.draw(),n.canvasHelpers.unclipArea(t.ctx);r<o;++r)f[r].draw(e)},setHoverStyle:function(n){var r=this.chart.data.datasets[n._datasetIndex],u=n._index,f=n.custom||{},i=n._model;i.radius=f.hoverRadius||t.getValueAtIndexOrDefault(r.pointHoverRadius,u,this.chart.options.elements.point.hoverRadius);i.backgroundColor=f.hoverBackgroundColor||t.getValueAtIndexOrDefault(r.pointHoverBackgroundColor,u,t.getHoverColor(i.backgroundColor));i.borderColor=f.hoverBorderColor||t.getValueAtIndexOrDefault(r.pointHoverBorderColor,u,t.getHoverColor(i.borderColor));i.borderWidth=f.hoverBorderWidth||t.getValueAtIndexOrDefault(r.pointHoverBorderWidth,u,i.borderWidth)},removeHoverStyle:function(n){var i=this,r=i.chart.data.datasets[n._datasetIndex],u=n._index,e=n.custom||{},f=n._model;void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius);f.radius=e.radius||t.getValueAtIndexOrDefault(r.pointRadius,u,i.chart.options.elements.point.radius);f.backgroundColor=i.getPointBackgroundColor(n,u);f.borderColor=i.getPointBorderColor(n,u);f.borderWidth=i.getPointBorderWidth(n,u)}})}},{}],19:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.polarArea={scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,aspectRatio:1,legendCallback:function(n){var t=[],i;t.push('<ul class="'+n.id+'-legend">');var u=n.data,r=u.datasets,f=u.labels;if(r.length)for(i=0;i<r[0].data.length;++i)t.push('<li><span style="background-color:'+r[0].backgroundColor[i]+'"><\/span>'),f[i]&&t.push(f[i]),t.push("<\/li>");return t.push("<\/ul>"),t.join("")},legend:{labels:{generateLabels:function(n){var i=n.data;return i.labels.length&&i.datasets.length?i.labels.map(function(r,u){var h=n.getDatasetMeta(0),e=i.datasets[0],f=h.data[u].custom||{},o=t.getValueAtIndexOrDefault,s=n.options.elements.arc;return{text:r,fillStyle:f.backgroundColor?f.backgroundColor:o(e.backgroundColor,u,s.backgroundColor),strokeStyle:f.borderColor?f.borderColor:o(e.borderColor,u,s.borderColor),lineWidth:f.borderWidth?f.borderWidth:o(e.borderWidth,u,s.borderWidth),hidden:isNaN(e.data[u])||h.data[u].hidden,index:u}}):[]}},onClick:function(n,t){for(var f,e=t.index,r=this.chart,i=0,u=(r.data.datasets||[]).length;i<u;++i)(f=r.getDatasetMeta(i)).data[e].hidden=!f.data[e].hidden;r.update()}},tooltips:{callbacks:{title:function(){return""},label:function(n,t){return t.labels[n.index]+": "+n.yLabel}}}};n.controllers.polarArea=n.DatasetController.extend({dataElementType:n.elements.Arc,linkScales:t.noop,update:function(n){var r=this,i=r.chart,u=i.chartArea,e=r.getMeta(),f=i.options,o=f.elements.arc,s=Math.min(u.right-u.left,u.bottom-u.top);i.outerRadius=Math.max((s-o.borderWidth/2)/2,0);i.innerRadius=Math.max(f.cutoutPercentage?i.outerRadius/100*f.cutoutPercentage:1,0);i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount();r.outerRadius=i.outerRadius-i.radiusLength*r.index;r.innerRadius=r.outerRadius-i.radiusLength;e.count=r.countVisibleElements();t.each(e.data,function(t,i){r.updateElement(t,i,n)})},updateElement:function(n,i,r){for(var u=this,s=u.chart,e=u.getDataset(),l=s.options,h=l.animation,f=s.scale,w=t.getValueAtIndexOrDefault,a=s.data.labels,v=u.calculateCircumference(e.data[i]),b=f.xCenter,k=f.yCenter,y=0,d=u.getMeta(),o=0;o<i;++o)isNaN(e.data[o])||d.data[o].hidden||++y;var c=l.startAngle,g=n.hidden?0:f.getDistanceFromCenterForValue(e.data[i]),p=c+v*y,nt=p+(n.hidden?0:v),tt=h.animateScale?0:f.getDistanceFromCenterForValue(e.data[i]);t.extend(n,{_datasetIndex:u.index,_index:i,_scale:f,_model:{x:b,y:k,innerRadius:0,outerRadius:r?tt:g,startAngle:r&&h.animateRotate?c:p,endAngle:r&&h.animateRotate?c:nt,label:w(a,i,a[i])}});u.removeHoverStyle(n);n.pivot()},removeHoverStyle:function(t){n.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var i=this.getDataset(),r=this.getMeta(),n=0;return t.each(r.data,function(t,r){isNaN(i.data[r])||t.hidden||n++}),n},calculateCircumference:function(n){var t=this.getMeta().count;return t>0&&!isNaN(n)?2*Math.PI/t:0}})}},{}],20:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.radar={aspectRatio:1,scale:{type:"radialLinear"},elements:{line:{tension:0}}};n.controllers.radar=n.DatasetController.extend({datasetElementType:n.elements.Line,dataElementType:n.elements.Point,linkScales:t.noop,update:function(n){var f=this,e=f.getMeta(),s=e.dataset,o=e.data,i=s.custom||{},r=f.getDataset(),u=f.chart.options.elements.line,h=f.chart.scale;void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension);t.extend(e.dataset,{_datasetIndex:f.index,_scale:h,_children:o,_loop:!0,_model:{tension:i.tension?i.tension:t.getValueOrDefault(r.lineTension,u.tension),backgroundColor:i.backgroundColor?i.backgroundColor:r.backgroundColor||u.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:r.borderWidth||u.borderWidth,borderColor:i.borderColor?i.borderColor:r.borderColor||u.borderColor,fill:i.fill?i.fill:void 0!==r.fill?r.fill:u.fill,borderCapStyle:i.borderCapStyle?i.borderCapStyle:r.borderCapStyle||u.borderCapStyle,borderDash:i.borderDash?i.borderDash:r.borderDash||u.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:r.borderDashOffset||u.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:r.borderJoinStyle||u.borderJoinStyle}});e.dataset.pivot();t.each(o,function(t,i){f.updateElement(t,i,n)},f);f.updateBezierControlPoints()},updateElement:function(n,i,r){var o=this,u=n.custom||{},f=o.getDataset(),s=o.chart.scale,e=o.chart.options.elements.point,h=s.getPointPositionForValue(i,f.data[i]);void 0!==f.radius&&void 0===f.pointRadius&&(f.pointRadius=f.radius);void 0!==f.hitRadius&&void 0===f.pointHitRadius&&(f.pointHitRadius=f.hitRadius);t.extend(n,{_datasetIndex:o.index,_index:i,_scale:s,_model:{x:r?s.xCenter:h.x,y:r?s.yCenter:h.y,tension:u.tension?u.tension:t.getValueOrDefault(f.lineTension,o.chart.options.elements.line.tension),radius:u.radius?u.radius:t.getValueAtIndexOrDefault(f.pointRadius,i,e.radius),backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(f.pointBackgroundColor,i,e.backgroundColor),borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(f.pointBorderColor,i,e.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(f.pointBorderWidth,i,e.borderWidth),pointStyle:u.pointStyle?u.pointStyle:t.getValueAtIndexOrDefault(f.pointStyle,i,e.pointStyle),hitRadius:u.hitRadius?u.hitRadius:t.getValueAtIndexOrDefault(f.pointHitRadius,i,e.hitRadius)}});n._model.skip=u.skip?u.skip:isNaN(n._model.x)||isNaN(n._model.y)},updateBezierControlPoints:function(){var n=this.chart.chartArea,i=this.getMeta();t.each(i.data,function(r,u){var f=r._model,e=t.splineCurve(t.previousItem(i.data,u,!0)._model,f,t.nextItem(i.data,u,!0)._model,f.tension);f.controlPointPreviousX=Math.max(Math.min(e.previous.x,n.right),n.left);f.controlPointPreviousY=Math.max(Math.min(e.previous.y,n.bottom),n.top);f.controlPointNextX=Math.max(Math.min(e.next.x,n.right),n.left);f.controlPointNextY=Math.max(Math.min(e.next.y,n.bottom),n.top);r.pivot()})},setHoverStyle:function(n){var u=this.chart.data.datasets[n._datasetIndex],i=n.custom||{},f=n._index,r=n._model;r.radius=i.hoverRadius?i.hoverRadius:t.getValueAtIndexOrDefault(u.pointHoverRadius,f,this.chart.options.elements.point.hoverRadius);r.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:t.getValueAtIndexOrDefault(u.pointHoverBackgroundColor,f,t.getHoverColor(r.backgroundColor));r.borderColor=i.hoverBorderColor?i.hoverBorderColor:t.getValueAtIndexOrDefault(u.pointHoverBorderColor,f,t.getHoverColor(r.borderColor));r.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:t.getValueAtIndexOrDefault(u.pointHoverBorderWidth,f,r.borderWidth)},removeHoverStyle:function(n){var r=this.chart.data.datasets[n._datasetIndex],i=n.custom||{},u=n._index,f=n._model,e=this.chart.options.elements.point;f.radius=i.radius?i.radius:t.getValueAtIndexOrDefault(r.pointRadius,u,e.radius);f.backgroundColor=i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(r.pointBackgroundColor,u,e.backgroundColor);f.borderColor=i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(r.pointBorderColor,u,e.borderColor);f.borderWidth=i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(r.pointBorderWidth,u,e.borderWidth)}})}},{}],21:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop};n.Animation=n.Element.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null});n.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(n,t,i,r){var u,e,f=this.animations;for(t.chart=n,r||(n.animating=!0),u=0,e=f.length;u<e;++u)if(f[u].chart===n)return void(f[u]=t);f.push(t);1===f.length&&this.requestAnimationFrame()},cancelAnimation:function(n){var i=t.findIndex(this.animations,function(t){return t.chart===n});-1!==i&&(this.animations.splice(i,1),n.animating=!1)},requestAnimationFrame:function(){var n=this;null===n.request&&(n.request=t.requestAnimFrame.call(window,function(){n.request=null;n.startDigest()}))},startDigest:function(){var n=this,r=Date.now(),t=0,i;n.dropFrames>1&&(t=Math.floor(n.dropFrames),n.dropFrames=n.dropFrames%1);n.advance(1+t);i=Date.now();n.dropFrames+=(i-r)/n.frameDuration;n.animations.length>0&&n.requestAnimationFrame()},advance:function(n){for(var i,r,f=this.animations,u=0;u<f.length;)r=(i=f[u]).chart,i.currentStep=(i.currentStep||0)+n,i.currentStep=Math.min(i.currentStep,i.numSteps),t.callback(i.render,[r,i],r),t.callback(i.onAnimationProgress,[i],r),i.currentStep>=i.numSteps?(t.callback(i.onAnimationComplete,[i],r),r.animating=!1,f.splice(u,1)):++u}};Object.defineProperty(n.Animation.prototype,"animationObject",{get:function(){return this}});Object.defineProperty(n.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(n){this.chart=n}})}},{}],22:[function(n,t){"use strict";t.exports=function(n){var t=n.canvasHelpers={};t.drawPoint=function(t,i,r,u,f){var l,c,o,s,h,e;if("object"!=typeof i||"[object HTMLImageElement]"!==(l=i.toString())&&"[object HTMLCanvasElement]"!==l){if(!(isNaN(r)||r<=0)){switch(i){default:t.beginPath();t.arc(u,f,r,0,2*Math.PI);t.closePath();t.fill();break;case"triangle":t.beginPath();h=(c=3*r/Math.sqrt(3))*Math.sqrt(3)/2;t.moveTo(u-c/2,f+h/3);t.lineTo(u+c/2,f+h/3);t.lineTo(u,f-2*h/3);t.closePath();t.fill();break;case"rect":e=1/Math.SQRT2*r;t.beginPath();t.fillRect(u-e,f-e,2*e,2*e);t.strokeRect(u-e,f-e,2*e,2*e);break;case"rectRounded":var a=r/Math.SQRT2,y=u-a,p=f-a,v=Math.SQRT2*r;n.helpers.drawRoundedRectangle(t,y,p,v,v,r/2);t.fill();break;case"rectRot":e=1/Math.SQRT2*r;t.beginPath();t.moveTo(u-e,f);t.lineTo(u,f+e);t.lineTo(u+e,f);t.lineTo(u,f-e);t.closePath();t.fill();break;case"cross":t.beginPath();t.moveTo(u,f+r);t.lineTo(u,f-r);t.moveTo(u-r,f);t.lineTo(u+r,f);t.closePath();break;case"crossRot":t.beginPath();o=Math.cos(Math.PI/4)*r;s=Math.sin(Math.PI/4)*r;t.moveTo(u-o,f-s);t.lineTo(u+o,f+s);t.moveTo(u-o,f+s);t.lineTo(u+o,f-s);t.closePath();break;case"star":t.beginPath();t.moveTo(u,f+r);t.lineTo(u,f-r);t.moveTo(u-r,f);t.lineTo(u+r,f);o=Math.cos(Math.PI/4)*r;s=Math.sin(Math.PI/4)*r;t.moveTo(u-o,f-s);t.lineTo(u+o,f+s);t.moveTo(u-o,f+s);t.lineTo(u+o,f-s);t.closePath();break;case"line":t.beginPath();t.moveTo(u-r,f);t.lineTo(u+r,f);t.closePath();break;case"dash":t.beginPath();t.moveTo(u,f);t.lineTo(u+r,f);t.closePath()}t.stroke()}}else t.drawImage(i,u-i.width/2,f-i.height/2,i.width,i.height)};t.clipArea=function(n,t){n.save();n.beginPath();n.rect(t.left,t.top,t.right-t.left,t.bottom-t.top);n.clip()};t.unclipArea=function(n){n.restore()};t.lineTo=function(n,t,i,r){if(i.steppedLine)return"after"===i.steppedLine?n.lineTo(t.x,i.y):n.lineTo(i.x,t.y),void n.lineTo(i.x,i.y);i.tension?n.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?i.controlPointNextX:i.controlPointPreviousX,r?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):n.lineTo(i.x,i.y)};n.helpers.canvas=t}},{}],23:[function(n,t){"use strict";t.exports=function(n){function u(n){return"top"===n||"bottom"===n}var t=n.helpers,i=n.plugins,r=n.platform;n.types={};n.instances={};n.controllers={};t.extend(n.prototype,{construct:function(i,u){var f=this;u=function(i){var r=(i=i||{}).data=i.data||{};return r.datasets=r.datasets||[],r.labels=r.labels||[],i.options=t.configMerge(n.defaults.global,n.defaults[i.type],i.options||{}),i}(u);var o=r.acquireContext(i,u),e=o&&o.canvas,s=e&&e.height,h=e&&e.width;f.id=t.uid();f.ctx=o;f.canvas=e;f.config=u;f.width=h;f.height=s;f.aspectRatio=s?h/s:null;f.options=u.options;f._bufferedRender=!1;f.chart=f;f.controller=f;n.instances[f.id]=f;Object.defineProperty(f,"data",{get:function(){return f.config.data},set:function(n){f.config.data=n}});o&&e?(f.initialize(),f.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var n=this;return i.notify(n,"beforeInit"),t.retinaScale(n),n.bindEvents(),n.options.responsive&&n.resize(!0),n.ensureScalesHaveIDs(),n.buildScales(),n.initToolTip(),i.notify(n,"afterInit"),n},clear:function(){return t.clear(this),this},stop:function(){return n.animationService.cancelAnimation(this),this},resize:function(n){var r=this,h=r.options,u=r.canvas,s=h.maintainAspectRatio&&r.aspectRatio||null,f=Math.floor(t.getMaximumWidth(u)),e=Math.floor(s?f/s:t.getMaximumHeight(u)),o;r.width===f&&r.height===e||(u.width=r.width=f,u.height=r.height=e,u.style.width=f+"px",u.style.height=e+"px",t.retinaScale(r),n)||(o={width:f,height:e},i.notify(r,"resize",[o]),r.options.onResize&&r.options.onResize(r,o),r.stop(),r.update(r.options.responsiveAnimationDuration))},ensureScalesHaveIDs:function(){var i=this.options,r=i.scales||{},n=i.scale;t.each(r.xAxes,function(n,t){n.id=n.id||"x-axis-"+t});t.each(r.yAxes,function(n,t){n.id=n.id||"y-axis-"+t});n&&(n.id=n.id||"scale")},buildScales:function(){var i=this,r=i.options,e=i.scales={},f=[];r.scales&&(f=f.concat((r.scales.xAxes||[]).map(function(n){return{options:n,dtype:"category",dposition:"bottom"}}),(r.scales.yAxes||[]).map(function(n){return{options:n,dtype:"linear",dposition:"left"}})));r.scale&&f.push({options:r.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"});t.each(f,function(r){var f=r.options,h=t.getValueOrDefault(f.type,r.dtype),s=n.scaleService.getScaleConstructor(h),o;s&&(u(f.position)!==u(r.dposition)&&(f.position=r.dposition),o=new s({id:f.id,options:f,ctx:i.ctx,chart:i}),e[o.id]=o,r.isDefault&&(i.scale=o))});n.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var i=this,r=[],f=[],u;if(t.each(i.data.datasets,function(t,u){var e=i.getDatasetMeta(u),o;if(e.type||(e.type=t.type||i.config.type),r.push(e.type),e.controller)e.controller.updateIndex(u);else{if(o=n.controllers[e.type],void 0===o)throw new Error('"'+e.type+'" is not a chart type.');e.controller=new o(i,u);f.push(e.controller)}},i),r.length>1)for(u=1;u<r.length;u++)if(r[u]!==r[u-1]){i.isCombo=!0;break}return f},resetElements:function(){var n=this;t.each(n.data.datasets,function(t,i){n.getDatasetMeta(i).controller.reset()},n)},reset:function(){this.resetElements();this.tooltip.initialize()},update:function(n,r){var e,f,u=this,o;((f=(e=u).options).scale?e.scale.options=f.scale:f.scales&&f.scales.xAxes.concat(f.scales.yAxes).forEach(function(n){e.scales[n.id].options=n}),e.tooltip._options=f.tooltips,!1!==i.notify(u,"beforeUpdate"))&&(u.tooltip._data=u.data,o=u.buildOrUpdateControllers(),t.each(u.data.datasets,function(n,t){u.getDatasetMeta(t).controller.buildOrUpdateElements()},u),u.updateLayout(),t.each(o,function(n){n.reset()}),u.updateDatasets(),i.notify(u,"afterUpdate"),u._bufferedRender?u._bufferedRequest={lazy:r,duration:n}:u.render(n,r))},updateLayout:function(){!1!==i.notify(this,"beforeLayout")&&(n.layoutService.update(this,this.width,this.height),i.notify(this,"afterScaleUpdate"),i.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==i.notify(this,"beforeDatasetsUpdate")){for(var n=0,t=this.data.datasets.length;n<t;++n)this.updateDataset(n);i.notify(this,"afterDatasetsUpdate")}},updateDataset:function(n){var t=this.getDatasetMeta(n),r={meta:t,index:n};!1!==i.notify(this,"beforeDatasetUpdate",[r])&&(t.controller.update(),i.notify(this,"afterDatasetUpdate",[r]))},render:function(r,u){var f=this,e,o,s;if(!1!==i.notify(f,"beforeRender"))return e=f.options.animation,o=function(n){i.notify(f,"afterRender");t.callback(e&&e.onComplete,[n],f)},e&&(void 0!==r&&0!==r||void 0===r&&0!==e.duration)?(s=new n.Animation({numSteps:(r||e.duration)/16.66,easing:e.easing,render:function(n,i){var f=t.easingEffects[i.easing],r=i.currentStep,u=r/i.numSteps;n.draw(f(u),u,r)},onAnimationProgress:e.onProgress,onAnimationComplete:o}),n.animationService.addAnimation(f,s,r,u)):(f.draw(),o(new n.Animation({numSteps:0,chart:f}))),f},draw:function(n){var r=this;r.clear();void 0!==n&&null!==n||(n=1);r.transition(n);!1!==i.notify(r,"beforeDraw",[n])&&(t.each(r.boxes,function(n){n.draw(r.chartArea)},r),r.scale&&r.scale.draw(),r.drawDatasets(n),r.tooltip.draw(),i.notify(r,"afterDraw",[n]))},transition:function(n){for(var t=0,i=(this.data.datasets||[]).length;t<i;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(n);this.tooltip.transition(n)},drawDatasets:function(n){var t=this,r;if(!1!==i.notify(t,"beforeDatasetsDraw",[n])){for(r=(t.data.datasets||[]).length-1;r>=0;--r)t.isDatasetVisible(r)&&t.drawDataset(r,n);i.notify(t,"afterDatasetsDraw",[n])}},drawDataset:function(n,t){var r=this.getDatasetMeta(n),u={meta:r,index:n,easingValue:t};!1!==i.notify(this,"beforeDatasetDraw",[u])&&(r.controller.draw(t),i.notify(this,"afterDatasetDraw",[u]))},getElementAtEvent:function(t){return n.Interaction.modes.single(this,t)},getElementsAtEvent:function(t){return n.Interaction.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return n.Interaction.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,i,r){var u=n.Interaction.modes[i];return"function"==typeof u?u(this,t,r):[]},getDatasetAtEvent:function(t){return n.Interaction.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(n){var t=this.data.datasets[n],i;return t._meta||(t._meta={}),i=t._meta[this.id],i||(i=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,n=0,i=this.data.datasets.length;n<i;++n)this.isDatasetVisible(n)&&t++;return t},isDatasetVisible:function(n){var t=this.getDatasetMeta(n);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[n].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var e,f,o,u=this,s=u.canvas;for(u.stop(),f=0,o=u.data.datasets.length;f<o;++f)(e=u.getDatasetMeta(f)).controller&&(e.controller.destroy(),e.controller=null);s&&(u.unbindEvents(),t.clear(u),r.releaseContext(u.ctx),u.canvas=null,u.ctx=null);i.notify(u,"destroy");delete n.instances[u.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new n.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t);t.tooltip.initialize()},bindEvents:function(){var n=this,u=n._listeners={},i=function(){n.eventHandler.apply(n,arguments)};t.each(n.options.events,function(t){r.addEventListener(n,t,i);u[t]=i});n.options.responsive&&(i=function(){n.resize()},r.addEventListener(n,"resize",i),u.resize=i)},unbindEvents:function(){var n=this,i=n._listeners;i&&(delete n._listeners,t.each(i,function(t,i){r.removeEventListener(n,i,t)}))},updateHoverStyle:function(n,t,i){for(var u,e=i?"setHoverStyle":"removeHoverStyle",r=0,f=n.length;r<f;++r)(u=n[r])&&this.getDatasetMeta(u._datasetIndex).controller[e](u)},eventHandler:function(n){var t=this,f=t.tooltip,u,r;if(!1!==i.notify(t,"beforeEvent",[n]))return t._bufferedRender=!0,t._bufferedRequest=null,u=t.handleEvent(n),u|=f&&f.handleEvent(n),i.notify(t,"afterEvent",[n]),r=t._bufferedRequest,r?t.render(r.duration,r.lazy):u&&!t.animating&&(t.stop(),t.render(t.options.hover.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t},handleEvent:function(n){var f,i=this,u=i.options||{},r=u.hover;return i.lastActive=i.lastActive||[],i.active="mouseout"===n.type?[]:i.getElementsAtEventForMode(n,r.mode,r),r.onHover&&r.onHover.call(i,n.native,i.active),"mouseup"!==n.type&&"click"!==n.type||u.onClick&&u.onClick.call(i,n.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,r.mode,!1),i.active.length&&r.mode&&i.updateHoverStyle(i.active,r.mode,!0),f=!t.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,f}});n.Controller=n}},{}],24:[function(n,t){"use strict";t.exports=function(n){function r(n,t){var f=n._chartjs,r,u;f&&(r=f.listeners,u=r.indexOf(t),-1!==u&&r.splice(u,1),r.length>0||(i.forEach(function(t){delete n[t]}),delete n._chartjs))}var t=n.helpers,i=["push","pop","shift","splice","unshift"];n.DatasetController=function(n,t){this.initialize(n,t)};t.extend(n.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(n,t){this.chart=n;this.index=t;this.linkScales();this.addElements()},updateIndex:function(n){this.index=n},linkScales:function(){var n=this.getMeta(),t=this.getDataset();null===n.xAxisID&&(n.xAxisID=t.xAxisID||this.chart.options.scales.xAxes[0].id);null===n.yAxisID&&(n.yAxisID=t.yAxisID||this.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(n){return this.chart.scales[n]},reset:function(){this.update(!0)},destroy:function(){this._data&&r(this._data,this)},createMetaDataset:function(){var n=this.datasetElementType;return n&&new n({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(n){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:n})},addElements:function(){for(var t=this.getMeta(),u=this.getDataset().data||[],r=t.data,n=0,i=u.length;n<i;++n)r[n]=r[n]||this.createMetaData(n);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(n){var t=this.createMetaData(n);this.getMeta().data.splice(n,0,t);this.updateElement(t,n,!0)},buildOrUpdateElements:function(){var u,f,n=this,o=n.getDataset(),e=o.data||(o.data=[]);n._data!==e&&(n._data&&r(n._data,n),f=n,(u=e)._chartjs?u._chartjs.listeners.push(f):(Object.defineProperty(u,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[f]}}),i.forEach(function(n){var i="onData"+n.charAt(0).toUpperCase()+n.slice(1),r=u[n];Object.defineProperty(u,n,{configurable:!0,enumerable:!1,value:function(){var n=Array.prototype.slice.call(arguments),f=r.apply(this,n);return t.each(u._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,n)}),f}})})),n._data=e);n.resyncElements()},update:t.noop,transition:function(n){for(var t=this.getMeta(),r=t.data||[],u=r.length,i=0;i<u;++i)r[i].transition(n);t.dataset&&t.dataset.transition(n)},draw:function(){var n=this.getMeta(),i=n.data||[],r=i.length,t=0;for(n.dataset&&n.dataset.draw();t<r;++t)i[t].draw()},removeHoverStyle:function(n,i){var u=this.chart.data.datasets[n._datasetIndex],f=n._index,r=n.custom||{},e=t.getValueAtIndexOrDefault,o=n._model;o.backgroundColor=r.backgroundColor?r.backgroundColor:e(u.backgroundColor,f,i.backgroundColor);o.borderColor=r.borderColor?r.borderColor:e(u.borderColor,f,i.borderColor);o.borderWidth=r.borderWidth?r.borderWidth:e(u.borderWidth,f,i.borderWidth)},setHoverStyle:function(n){var u=this.chart.data.datasets[n._datasetIndex],f=n._index,i=n.custom||{},e=t.getValueAtIndexOrDefault,o=t.getHoverColor,r=n._model;r.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:e(u.hoverBackgroundColor,f,o(r.backgroundColor));r.borderColor=i.hoverBorderColor?i.hoverBorderColor:e(u.hoverBorderColor,f,o(r.borderColor));r.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:e(u.hoverBorderWidth,f,r.borderWidth)},resyncElements:function(){var i=this.getMeta(),r=this.getDataset().data,n=i.data.length,t=r.length;t<n?i.data.splice(t,n-t):t>n&&this.insertElements(n,t-n)},insertElements:function(n,t){for(var i=0;i<t;++i)this.addElementAndReset(n+i)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(n,t){this.getMeta().data.splice(n,t);this.insertElements(n,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}});n.DatasetController.extend=t.inherits}},{}],25:[function(n,t){"use strict";var i=n(3);t.exports=function(n){var t=n.helpers;n.elements={};n.Element=function(n){t.extend(this,n);this.initialize.apply(this,arguments)};t.extend(n.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var n=this;return n._view||(n._view=t.clone(n._model)),n._start={},n},transition:function(n){var t=this,r=t._model,u=t._start,f=t._view;return r&&1!==n?(f||(f=t._view={}),u||(u=t._start={}),function(n,t,r,u){for(var f,l,o,e,h,a,v,y=Object.keys(r),s=0,c=y.length;s<c;++s)if(e=r[f=y[s]],t.hasOwnProperty(f)||(t[f]=e),(l=t[f])!==e&&"_"!==f[0]){if(n.hasOwnProperty(f)||(n[f]=l),(h=typeof e)==typeof(o=n[f]))if("string"===h){if((a=i(o)).valid&&(v=i(e)).valid){t[f]=v.mix(a,u).rgbString();continue}}else if("number"===h&&isFinite(o)&&isFinite(e)){t[f]=o+(e-o)*u;continue}t[f]=e}}(u,f,r,n),t):(t._view=r,t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return t.isNumber(this._model.x)&&t.isNumber(this._model.y)}});n.Element.extend=t.inherits}},{3:3}],26:[function(n,t){"use strict";var i=n(3);t.exports=function(n){function f(n,t,i){var r;return"string"==typeof n?(r=parseInt(n,10),-1!==n.indexOf("%")&&(r=r/100*t.parentNode[i])):r=n,r}function e(n){return void 0!==n&&null!==n&&"none"!==n}function o(n,t,i){var r=document.defaultView,u=n.parentNode,o=r.getComputedStyle(n)[t],s=r.getComputedStyle(u)[t],h=e(o),c=e(s),l=Number.POSITIVE_INFINITY;return h||c?Math.min(h?f(o,n,i):l,c?f(s,u,i):l):"none"}var u,t=n.helpers={},r;t.each=function(n,i,r,u){var f,e,o;if(t.isArray(n))if(e=n.length,u)for(f=e-1;f>=0;f--)i.call(r,n[f],f);else for(f=0;f<e;f++)i.call(r,n[f],f);else if("object"==typeof n)for(o=Object.keys(n),e=o.length,f=0;f<e;f++)i.call(r,n[o[f]],o[f])};t.clone=function(n){var i={};return t.each(n,function(n,r){i[r]=t.isArray(n)?n.slice(0):"object"==typeof n&&null!==n?t.clone(n):n}),i};t.extend=function(n){for(var r=function(t,i){n[i]=t},i=1,u=arguments.length;i<u;i++)t.each(arguments[i],r);return n};t.configMerge=function(i){var r=t.clone(i);return t.each(Array.prototype.slice.call(arguments,1),function(i){t.each(i,function(i,u){var e=r.hasOwnProperty(u),f=e?r[u]:{};r[u]="scales"===u?t.scaleMerge(f,i):"scale"===u?t.configMerge(f,n.scaleService.getScaleDefaults(i.type),i):!e||"object"!=typeof f||t.isArray(f)||null===f||"object"!=typeof i||t.isArray(i)?i:t.configMerge(f,i)})}),r};t.scaleMerge=function(i,r){var u=t.clone(i);return t.each(r,function(i,r){"xAxes"===r||"yAxes"===r?u.hasOwnProperty(r)?t.each(i,function(i,f){var o=t.getValueOrDefault(i.type,"xAxes"===r?"category":"linear"),e=n.scaleService.getScaleDefaults(o);f>=u[r].length||!u[r][f].type?u[r].push(t.configMerge(e,i)):u[r][f]=i.type&&i.type!==u[r][f].type?t.configMerge(u[r][f],e,i):t.configMerge(u[r][f],i)}):(u[r]=[],t.each(i,function(i){var f=t.getValueOrDefault(i.type,"xAxes"===r?"category":"linear");u[r].push(t.configMerge(n.scaleService.getScaleDefaults(f),i))})):u[r]=u.hasOwnProperty(r)&&"object"==typeof u[r]&&null!==u[r]&&"object"==typeof i?t.configMerge(u[r],i):i}),u};t.getValueAtIndexOrDefault=function(n,i,r){return void 0===n||null===n?r:t.isArray(n)?i<n.length?n[i]:r:n};t.getValueOrDefault=function(n,t){return void 0===n?t:n};t.indexOf=Array.prototype.indexOf?function(n,t){return n.indexOf(t)}:function(n,t){for(var i=0,r=n.length;i<r;++i)if(n[i]===t)return i;return-1};t.where=function(n,i){if(t.isArray(n)&&Array.prototype.filter)return n.filter(i);var r=[];return t.each(n,function(n){i(n)&&r.push(n)}),r};t.findIndex=Array.prototype.findIndex?function(n,t,i){return n.findIndex(t,i)}:function(n,t,i){i=void 0===i?n:i;for(var r=0,u=n.length;r<u;++r)if(t.call(i,n[r],r,n))return r;return-1};t.findNextWhere=function(n,t,i){var r,u;for(void 0!==i&&null!==i||(i=-1),r=i+1;r<n.length;r++)if(u=n[r],t(u))return u};t.findPreviousWhere=function(n,t,i){var r,u;for(void 0!==i&&null!==i||(i=n.length),r=i-1;r>=0;r--)if(u=n[r],t(u))return u};t.inherits=function(n){var r=this,i=n&&n.hasOwnProperty("constructor")?n.constructor:function(){return r.apply(this,arguments)},u=function(){this.constructor=i};return u.prototype=r.prototype,i.prototype=new u,i.extend=t.inherits,n&&t.extend(i.prototype,n),i.__super__=r.prototype,i};t.noop=function(){};t.uid=(u=0,function(){return u++});t.isNumber=function(n){return!isNaN(parseFloat(n))&&isFinite(n)};t.almostEquals=function(n,t,i){return Math.abs(n-t)<i};t.almostWhole=function(n,t){var i=Math.round(n);return i-t<n&&i+t>n};t.max=function(n){return n.reduce(function(n,t){return isNaN(t)?n:Math.max(n,t)},Number.NEGATIVE_INFINITY)};t.min=function(n){return n.reduce(function(n,t){return isNaN(t)?n:Math.min(n,t)},Number.POSITIVE_INFINITY)};t.sign=Math.sign?function(n){return Math.sign(n)}:function(n){return 0==(n=+n)||isNaN(n)?n:n>0?1:-1};t.log10=Math.log10?function(n){return Math.log10(n)}:function(n){return Math.log(n)/Math.LN10};t.toRadians=function(n){return n*(Math.PI/180)};t.toDegrees=function(n){return n*(180/Math.PI)};t.getAngleFromPoint=function(n,t){var i=t.x-n.x,r=t.y-n.y,f=Math.sqrt(i*i+r*r),u=Math.atan2(r,i);return u<-.5*Math.PI&&(u+=2*Math.PI),{angle:u,distance:f}};t.distanceBetweenPoints=function(n,t){return Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2))};t.aliasPixel=function(n){return n%2==0?0:.5};t.splineCurve=function(n,t,i,r){var f=n.skip?t:n,u=t,e=i.skip?t:i,o=Math.sqrt(Math.pow(u.x-f.x,2)+Math.pow(u.y-f.y,2)),s=Math.sqrt(Math.pow(e.x-u.x,2)+Math.pow(e.y-u.y,2)),h=o/(o+s),c=s/(o+s),l=r*(h=isNaN(h)?0:h),a=r*(c=isNaN(c)?0:c);return{previous:{x:u.x-l*(e.x-f.x),y:u.y-l*(e.y-f.y)},next:{x:u.x+a*(e.x-f.x),y:u.y+a*(e.y-f.y)}}};t.EPSILON=Number.EPSILON||1e-14;t.splineCurveMonotone=function(n){for(var f,i,u,h,c,l,v,o,e=(n||[]).map(function(n){return{model:n._model,deltaK:0,mK:0}}),s=e.length,a,r=0;r<s;++r)(i=e[r]).model.skip||((f=r>0?e[r-1]:null,(u=r<s-1?e[r+1]:null)&&!u.model.skip)&&(a=u.model.x-i.model.x,i.deltaK=0!==a?(u.model.y-i.model.y)/a:0),i.mK=!f||f.model.skip?i.deltaK:!u||u.model.skip?f.deltaK:this.sign(f.deltaK)!==this.sign(i.deltaK)?0:(f.deltaK+i.deltaK)/2);for(r=0;r<s-1;++r)i=e[r],u=e[r+1],i.model.skip||u.model.skip||(t.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=u.mK=0:(h=i.mK/i.deltaK,c=u.mK/i.deltaK,(v=Math.pow(h,2)+Math.pow(c,2))<=9||(l=3/Math.sqrt(v),i.mK=h*l*i.deltaK,u.mK=c*l*i.deltaK)));for(r=0;r<s;++r)(i=e[r]).model.skip||(f=r>0?e[r-1]:null,u=r<s-1?e[r+1]:null,f&&!f.model.skip&&(o=(i.model.x-f.model.x)/3,i.model.controlPointPreviousX=i.model.x-o,i.model.controlPointPreviousY=i.model.y-o*i.mK),u&&!u.model.skip&&(o=(u.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+o,i.model.controlPointNextY=i.model.y+o*i.mK))};t.nextItem=function(n,t,i){return i?t>=n.length-1?n[0]:n[t+1]:t>=n.length-1?n[n.length-1]:n[t+1]};t.previousItem=function(n,t,i){return i?t<=0?n[n.length-1]:n[t-1]:t<=0?n[0]:n[t-1]};t.niceNum=function(n,i){var u=Math.floor(t.log10(n)),r=n/Math.pow(10,u);return(i?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,u)};r=t.easingEffects={linear:function(n){return n},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return-1*n*(n-2)},easeInOutQuad:function(n){return(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1)},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return 1*((n=n/1-1)*n*n+1)},easeInOutCubic:function(n){return(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return-1*((n=n/1-1)*n*n*n-1)},easeInOutQuart:function(n){return(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},easeInQuint:function(n){return 1*(n/=1)*n*n*n*n},easeOutQuint:function(n){return 1*((n=n/1-1)*n*n*n*n+1)},easeInOutQuint:function(n){return(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},easeInSine:function(n){return-1*Math.cos(n/1*(Math.PI/2))+1},easeOutSine:function(n){return 1*Math.sin(n/1*(Math.PI/2))},easeInOutSine:function(n){return-.5*(Math.cos(Math.PI*n/1)-1)},easeInExpo:function(n){return 0===n?1:1*Math.pow(2,10*(n/1-1))},easeOutExpo:function(n){return 1===n?1:1*(1-Math.pow(2,-10*n))},easeInOutExpo:function(n){return 0===n?0:1===n?1:(n/=.5)<1?.5*Math.pow(2,10*(n-1)):.5*(2-Math.pow(2,-10*--n))},easeInCirc:function(n){return n>=1?n:-1*(Math.sqrt(1-(n/=1)*n)-1)},easeOutCirc:function(n){return 1*Math.sqrt(1-(n=n/1-1)*n)},easeInOutCirc:function(n){return(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},easeInElastic:function(n){var r=1.70158,t=0,i=1;return 0===n?0:1==(n/=1)?1:(t||(t=.3),i<Math.abs(1)?(i=1,r=t/4):r=t/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(n-=1))*Math.sin((1*n-r)*2*Math.PI/t))},easeOutElastic:function(n){var r=1.70158,t=0,i=1;return 0===n?0:1==(n/=1)?1:(t||(t=.3),i<Math.abs(1)?(i=1,r=t/4):r=t/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*n)*Math.sin((1*n-r)*2*Math.PI/t)+1)},easeInOutElastic:function(n){var r=1.70158,t=0,i=1;return 0===n?0:2==(n/=.5)?1:(t||(t=.3*1.5*1),i<Math.abs(1)?(i=1,r=t/4):r=t/(2*Math.PI)*Math.asin(1/i),n<1?i*Math.pow(2,10*(n-=1))*Math.sin((1*n-r)*2*Math.PI/t)*-.5:i*Math.pow(2,-10*(n-=1))*Math.sin((1*n-r)*2*Math.PI/t)*.5+1)},easeInBack:function(n){var t=1.70158;return 1*(n/=1)*n*((t+1)*n-t)},easeOutBack:function(n){var t=1.70158;return 1*((n=n/1-1)*n*((t+1)*n+t)+1)},easeInOutBack:function(n){var t=1.70158;return(n/=.5)<1?n*n*((1+(t*=1.525))*n-t)*.5:.5*((n-=2)*n*((1+(t*=1.525))*n+t)+2)},easeInBounce:function(n){return 1-r.easeOutBounce(1-n)},easeOutBounce:function(n){return(n/=1)<1/2.75?7.5625*n*n*1:n<2/2.75?1*(7.5625*(n-=1.5/2.75)*n+.75):n<2.5/2.75?1*(7.5625*(n-=2.25/2.75)*n+.9375):1*(7.5625*(n-=2.625/2.75)*n+.984375)},easeInOutBounce:function(n){return n<.5?.5*r.easeInBounce(2*n):.5*r.easeOutBounce(2*n-1)+.5}};t.requestAnimFrame="undefined"==typeof window?function(n){n()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return window.setTimeout(n,1e3/60)};t.getRelativePosition=function(n,i){var f,e,s=n.originalEvent||n,r=n.currentTarget||n.srcElement,u=r.getBoundingClientRect(),o=s.touches;o&&o.length>0?(f=o[0].clientX,e=o[0].clientY):(f=s.clientX,e=s.clientY);var h=parseFloat(t.getStyle(r,"padding-left")),c=parseFloat(t.getStyle(r,"padding-top")),l=parseFloat(t.getStyle(r,"padding-right")),a=parseFloat(t.getStyle(r,"padding-bottom")),v=u.right-u.left-h-l,y=u.bottom-u.top-c-a;return{x:f=Math.round((f-u.left-h)/v*r.width/i.currentDevicePixelRatio),y:e=Math.round((e-u.top-c)/y*r.height/i.currentDevicePixelRatio)}};t.addEvent=function(n,t,i){n.addEventListener?n.addEventListener(t,i):n.attachEvent?n.attachEvent("on"+t,i):n["on"+t]=i};t.removeEvent=function(n,i,r){n.removeEventListener?n.removeEventListener(i,r,!1):n.detachEvent?n.detachEvent("on"+i,r):n["on"+i]=t.noop};t.getConstraintWidth=function(n){return o(n,"max-width","clientWidth")};t.getConstraintHeight=function(n){return o(n,"max-height","clientHeight")};t.getMaximumWidth=function(n){var i=n.parentNode,f=parseInt(t.getStyle(i,"padding-left"),10),e=parseInt(t.getStyle(i,"padding-right"),10),r=i.clientWidth-f-e,u=t.getConstraintWidth(n);return isNaN(u)?r:Math.min(r,u)};t.getMaximumHeight=function(n){var i=n.parentNode,f=parseInt(t.getStyle(i,"padding-top"),10),e=parseInt(t.getStyle(i,"padding-bottom"),10),r=i.clientHeight-f-e,u=t.getConstraintHeight(n);return isNaN(u)?r:Math.min(r,u)};t.getStyle=function(n,t){return n.currentStyle?n.currentStyle[t]:document.defaultView.getComputedStyle(n,null).getPropertyValue(t)};t.retinaScale=function(n){var t=n.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==t){var i=n.canvas,r=n.height,u=n.width;i.height=r*t;i.width=u*t;n.ctx.scale(t,t);i.style.height=r+"px";i.style.width=u+"px"}};t.clear=function(n){n.ctx.clearRect(0,0,n.width,n.height)};t.fontString=function(n,t,i){return t+" "+n+"px "+i};t.longestText=function(n,i,r,u){var o=(u=u||{}).data=u.data||{},f=u.garbageCollect=u.garbageCollect||[],e,s,h;if(u.font!==i&&(o=u.data={},f=u.garbageCollect=[],u.font=i),n.font=i,e=0,t.each(r,function(i){void 0!==i&&null!==i&&!0!==t.isArray(i)?e=t.measureText(n,o,f,e,i):t.isArray(i)&&t.each(i,function(i){void 0===i||null===i||t.isArray(i)||(e=t.measureText(n,o,f,e,i))})}),s=f.length/2,s>r.length){for(h=0;h<s;h++)delete o[f[h]];f.splice(0,s)}return e};t.measureText=function(n,t,i,r,u){var f=t[u];return f||(f=t[u]=n.measureText(u).width,i.push(u)),f>r&&(r=f),r};t.numberOfLabelLines=function(n){var i=1;return t.each(n,function(n){t.isArray(n)&&n.length>i&&(i=n.length)}),i};t.drawRoundedRectangle=function(n,t,i,r,u,f){n.beginPath();n.moveTo(t+f,i);n.lineTo(t+r-f,i);n.quadraticCurveTo(t+r,i,t+r,i+f);n.lineTo(t+r,i+u-f);n.quadraticCurveTo(t+r,i+u,t+r-f,i+u);n.lineTo(t+f,i+u);n.quadraticCurveTo(t,i+u,t,i+u-f);n.lineTo(t,i+f);n.quadraticCurveTo(t,i,t+f,i);n.closePath()};t.color=i?function(t){return t instanceof CanvasGradient&&(t=n.defaults.global.defaultColor),i(t)}:function(n){return console.error("Color.js not found!"),n};t.isArray=Array.isArray?function(n){return Array.isArray(n)}:function(n){return"[object Array]"===Object.prototype.toString.call(n)};t.arrayEquals=function(n,i){var r,e,u,f;if(!n||!i||n.length!==i.length)return!1;for(r=0,e=n.length;r<e;++r)if(u=n[r],f=i[r],u instanceof Array&&f instanceof Array){if(!t.arrayEquals(u,f))return!1}else if(u!==f)return!1;return!0};t.callback=function(n,t,i){n&&"function"==typeof n.call&&n.apply(i,t)};t.getHoverColor=function(n){return n instanceof CanvasPattern?n:t.color(n).saturate(.5).darken(.1).rgbString()};t.callCallback=t.callback}},{3:3}],27:[function(n,t){"use strict";t.exports=function(n){function t(n,t){return n.native?{x:n.x,y:n.y}:e.getRelativePosition(n,t)}function i(n,t){for(var f,r,o,u,i=0,e=n.data.datasets.length;i<e;++i)if(n.isDatasetVisible(i))for(r=0,o=(f=n.getDatasetMeta(i)).data.length;r<o;++r)u=f.data[r],u._view.skip||t(u)}function r(n,t){var r=[];return i(n,function(n){n.inRange(t.x,t.y)&&r.push(n)}),r}function u(n,t,r,u){var f=Number.POSITIVE_INFINITY,o=[];return u||(u=e.distanceBetweenPoints),i(n,function(n){if(!r||n.inRange(t.x,t.y)){var e=n.getCenterPoint(),i=u(t,e);i<f?(o=[n],f=i):i===f&&o.push(n)}}),o}function f(n,i,f){var e=t(i,n),o=f.intersect?r(n,e):u(n,e,!1,function(n,t){return Math.abs(n.x-t.x)}),s=[];return o.length?(n.data.datasets.forEach(function(t,i){if(n.isDatasetVisible(i)){var r=n.getDatasetMeta(i).data[o[0]._index];r&&!r._view.skip&&s.push(r)}}),s):[]}var e=n.helpers;n.Interaction={modes:{single:function(n,r){var f=t(r,n),u=[];return i(n,function(n){if(n.inRange(f.x,f.y))return u.push(n),u}),u.slice(0,1)},label:f,index:f,dataset:function(n,i,f){var o=t(i,n),e=f.intersect?r(n,o):u(n,o,!1);return e.length>0&&(e=n.getDatasetMeta(e[0]._datasetIndex).data),e},"x-axis":function(n,t){return f(n,t,!0)},point:function(n,i){return r(n,t(i,n))},nearest:function(n,i,r){var f=u(n,t(i,n),r.intersect);return f.length>1&&f.sort(function(n,t){var i=n.getArea()-t.getArea();return 0===i&&(i=n._datasetIndex-t._datasetIndex),i}),f.slice(0,1)},x:function(n,r,u){var f=t(r,n),e=[],o=!1;return i(n,function(n){n.inXRange(f.x)&&e.push(n);n.inRange(f.x,f.y)&&(o=!0)}),u.intersect&&!o&&(e=[]),e},y:function(n,r,u){var f=t(r,n),e=[],o=!1;return i(n,function(n){n.inYRange(f.y)&&e.push(n);n.inRange(f.x,f.y)&&(o=!0)}),u.intersect&&!o&&(e=[]),e}}}}},{}],28:[function(n,t){"use strict";t.exports=function(){var n=function(n,t){return this.construct(n,t),this};return n.defaults={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:{},legendCallback:function(n){var t=[],i;for(t.push('<ul class="'+n.id+'-legend">'),i=0;i<n.data.datasets.length;i++)t.push('<li><span style="background-color:'+n.data.datasets[i].backgroundColor+'"><\/span>'),n.data.datasets[i].label&&t.push(n.data.datasets[i].label),t.push("<\/li>");return t.push("<\/ul>"),t.join("")}}},n.Chart=n,n}},{}],29:[function(n,t){"use strict";t.exports=function(n){function i(n,i){return t.where(n,function(n){return n.position===i})}function r(n,t){n.forEach(function(n,t){return n._tmpIndex_=t,n});n.sort(function(n,i){var r=t?i:n,u=t?n:i;return r.weight===u.weight?r._tmpIndex_-u._tmpIndex_:r.weight-u.weight});n.forEach(function(n){delete n._tmpIndex_})}var t=n.helpers;n.layoutService={defaults:{},addBox:function(n,t){n.boxes||(n.boxes=[]);t.fullWidth=t.fullWidth||!1;t.position=t.position||"top";t.weight=t.weight||0;n.boxes.push(t)},removeBox:function(n,t){var i=n.boxes?n.boxes.indexOf(t):-1;-1!==i&&n.boxes.splice(i,1)},configure:function(n,t,i){for(var r,f=["fullWidth","position","weight"],e=f.length,u=0;u<e;++u)r=f[u],i.hasOwnProperty(r)&&(t[r]=i[r])},update:function(n,u,f){function wt(n){var i=t.findNextWhere(st,function(t){return t.box===n}),r;i&&(n.isHorizontal()?(r={left:Math.max(e,ft),right:Math.max(w,et),top:0,bottom:0},n.update(n.fullWidth?ut:v,ot/2,r)):n.update(i.minSize.width,y))}function vt(n){n.isHorizontal()?(n.left=n.fullWidth?p:e,n.right=n.fullWidth?u-k:e+v,n.top=rt,n.bottom=rt+n.height,rt=n.bottom):(n.left=it,n.right=it+n.width,n.top=o,n.bottom=o+y,it=n.right)}var lt,at,nt,tt,it,rt;if(n){var yt=n.options.layout,c=yt?yt.padding:null,p=0,k=0,d=0,g=0;isNaN(c)?(p=c.left||0,k=c.right||0,d=c.top||0,g=c.bottom||0):(p=c,k=c,d=c,g=c);var s=i(n.boxes,"left"),h=i(n.boxes,"right"),l=i(n.boxes,"top"),a=i(n.boxes,"bottom"),bt=i(n.boxes,"chartArea");r(s,!0);r(h,!1);r(l,!0);r(a,!1);var ut=u-p-k,ot=f-d-g,pt=ot/2,kt=(u-ut/2)/(s.length+h.length),dt=(f-pt)/(l.length+a.length),v=ut,y=ot,st=[];t.each(s.concat(h,l,a),function(n){var t,i=n.isHorizontal();i?(t=n.update(n.fullWidth?ut:v,dt),y-=t.height):(t=n.update(kt,pt),v-=t.width);st.push({horizontal:i,minSize:t,box:n})});var ft=0,et=0,ht=0,ct=0;t.each(l.concat(a),function(n){if(n.getPadding){var t=n.getPadding();ft=Math.max(ft,t.left);et=Math.max(et,t.right)}});t.each(s.concat(h),function(n){if(n.getPadding){var t=n.getPadding();ht=Math.max(ht,t.top);ct=Math.max(ct,t.bottom)}});var e=p,w=k,o=d,b=g;t.each(s.concat(h),wt);t.each(s,function(n){e+=n.width});t.each(h,function(n){w+=n.width});t.each(l.concat(a),wt);t.each(l,function(n){o+=n.height});t.each(a,function(n){b+=n.height});t.each(s.concat(h),function(n){var i=t.findNextWhere(st,function(t){return t.box===n}),r={left:0,right:0,top:o,bottom:b};i&&n.update(i.minSize.width,y,r)});e=p;w=k;o=d;b=g;t.each(s,function(n){e+=n.width});t.each(h,function(n){w+=n.width});t.each(l,function(n){o+=n.height});t.each(a,function(n){b+=n.height});lt=Math.max(ft-e,0);e+=lt;w+=Math.max(et-w,0);at=Math.max(ht-o,0);o+=at;b+=Math.max(ct-b,0);nt=f-o-b;tt=u-e-w;tt===v&&nt===y||(t.each(s,function(n){n.height=nt}),t.each(h,function(n){n.height=nt}),t.each(l,function(n){n.fullWidth||(n.width=tt)}),t.each(a,function(n){n.fullWidth||(n.width=tt)}),y=nt,v=tt);it=p+lt;rt=d+at;t.each(s.concat(l),vt);it+=v;rt+=y;t.each(h,vt);t.each(a,vt);n.chartArea={left:e,top:o,right:e+v,bottom:o+y};t.each(bt,function(t){t.left=n.chartArea.left;t.top=n.chartArea.top;t.right=n.chartArea.right;t.bottom=n.chartArea.bottom;t.update(v,y)})}}}}},{}],30:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.defaults.global.plugins={};n.plugins={_plugins:[],_cacheId:0,register:function(n){var t=this._plugins;[].concat(n).forEach(function(n){-1===t.indexOf(n)&&t.push(n)});this._cacheId++},unregister:function(n){var t=this._plugins;[].concat(n).forEach(function(n){var i=t.indexOf(n);-1!==i&&t.splice(i,1)});this._cacheId++},clear:function(){this._plugins=[];this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(n,t,i){for(var u,f,e,o,s=this.descriptors(n),h=s.length,r=0;r<h;++r)if("function"==typeof(o=(f=(u=s[r]).plugin)[t])&&((e=[n].concat(i||[])).push(u.options),!1===o.apply(f,e)))return!1;return!0},descriptors:function(i){var r=i._plugins||(i._plugins={});if(r.id===this._cacheId)return r.descriptors;var e=[],u=[],f=i&&i.config||{},o=n.defaults.global.plugins,s=f.options&&f.options.plugins||{};return this._plugins.concat(f.plugins||[]).forEach(function(n){if(-1===e.indexOf(n)){var r=n.id,i=s[r];!1!==i&&(!0===i&&(i=t.clone(o[r])),e.push(n),u.push({plugin:n,options:i||{}}))}}),r.descriptors=u,r.id=this._cacheId,u}};n.pluginService=n.plugins;n.PluginBase=n.Element.extend({})}},{}],31:[function(n,t){"use strict";t.exports=function(n){function r(n,i,r){return t.isArray(i)?t.longestText(n,r,i):n.measureText(i).width}function i(i){var r=t.getValueOrDefault,u=n.defaults.global,f=r(i.fontSize,u.defaultFontSize),e=r(i.fontStyle,u.defaultFontStyle),o=r(i.fontFamily,u.defaultFontFamily);return{size:f,style:e,family:o,font:t.fontString(f,e,o)}}var t=n.helpers;n.defaults.scale={display:!0,position:"left",gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:n.Ticks.formatters.values}};n.Scale=n.Element.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},beforeUpdate:function(){t.callback(this.options.beforeUpdate,[this])},update:function(n,i,r){var u=this;return u.beforeUpdate(),u.maxWidth=n,u.maxHeight=i,u.margins=t.extend({left:0,right:0,top:0,bottom:0},r),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),u.buildTicks(),u.afterBuildTicks(),u.beforeTickToLabelConversion(),u.convertTicksToLabels(),u.afterTickToLabelConversion(),u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){t.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){t.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var n=this;n.isHorizontal()?(n.width=n.maxWidth,n.left=0,n.right=n.width):(n.height=n.maxHeight,n.top=0,n.bottom=n.height);n.paddingLeft=0;n.paddingTop=0;n.paddingRight=0;n.paddingBottom=0},afterSetDimensions:function(){t.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){t.callback(this.options.beforeDataLimits,[this])},determineDataLimits:t.noop,afterDataLimits:function(){t.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){t.callback(this.options.beforeBuildTicks,[this])},buildTicks:t.noop,afterBuildTicks:function(){t.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){t.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var n=this.options.ticks;this.ticks=this.ticks.map(n.userCallback||n.callback)},afterTickToLabelConversion:function(){t.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){t.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=this,o=n.ctx,u=n.options.ticks,s=i(u),r,e;if(o.font=s.font,r=u.minRotation||0,n.options.display&&n.isHorizontal())for(var h,f=t.longestText(o,s.font,n.ticks,n.longestTextCache),c=f,l=n.getPixelForTick(1)-n.getPixelForTick(0)-6;c>l&&r<u.maxRotation;){if(e=t.toRadians(r),h=Math.cos(e),Math.sin(e)*f>n.maxHeight){r--;break}r++;c=h*f}n.labelRotation=r},afterCalculateTickRotation:function(){t.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callback(this.options.beforeFit,[this])},fit:function(){var n=this,u=n.minSize={width:0,height:0},e=n.options,l=e.ticks,v=e.scaleLabel,y=e.gridLines,s=e.display,h=n.isHorizontal(),f=i(l),p=1.5*i(v).size,w=e.gridLines.tickMarkLength;if(u.width=h?n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:s&&y.drawTicks?w:0,u.height=h?s&&y.drawTicks?w:0:n.maxHeight,v.display&&s&&(h?u.height+=p:u.width+=p),l.display&&s){var o=t.longestText(n.ctx,f.font,n.ticks,n.longestTextCache),b=t.numberOfLabelLines(n.ticks),a=.5*f.size;if(h){n.longestLabelWidth=o;var k=t.toRadians(n.labelRotation),c=Math.cos(k),nt=Math.sin(k)*o+f.size*b+a*b;u.height=Math.min(n.maxHeight,u.height+nt);n.ctx.font=f.font;var tt=n.ticks[0],d=r(n.ctx,tt,f.font),it=n.ticks[n.ticks.length-1],g=r(n.ctx,it,f.font);0!==n.labelRotation?(n.paddingLeft="bottom"===e.position?c*d+3:c*a+3,n.paddingRight="bottom"===e.position?c*a+3:c*g+3):(n.paddingLeft=d/2+3,n.paddingRight=g/2+3)}else l.mirror?o=0:o+=n.options.ticks.padding,u.width=Math.min(n.maxWidth,u.width+o),n.paddingTop=f.size/2,n.paddingBottom=f.size/2}n.handleMargins();n.width=u.width;n.height=u.height},handleMargins:function(){var n=this;n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingTop=Math.max(n.paddingTop-n.margins.top,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0),n.paddingBottom=Math.max(n.paddingBottom-n.margins.bottom,0))},afterFit:function(){t.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(n){return null===n||void 0===n?NaN:"number"!=typeof n||isFinite(n)?"object"==typeof n?n instanceof Date||n.isValid?n:this.getRightValue(this.isHorizontal()?n.x:n.y):n:NaN},getLabelForIndex:t.noop,getPixelForValue:t.noop,getValueForPixel:t.noop,getPixelForTick:function(n,t){var i=this,r,u,f,e;return i.isHorizontal()?(r=(i.width-(i.paddingLeft+i.paddingRight))/Math.max(i.ticks.length-(i.options.gridLines.offsetGridLines?0:1),1),u=r*n+i.paddingLeft,t&&(u+=r/2),f=i.left+Math.round(u),f+(i.isFullWidth()?i.margins.left:0)):(e=i.height-(i.paddingTop+i.paddingBottom),i.top+n*(e/(i.ticks.length-1)))},getPixelForDecimal:function(n){var t=this,i,r;return t.isHorizontal()?(i=(t.width-(t.paddingLeft+t.paddingRight))*n+t.paddingLeft,r=t.left+Math.round(i),r+(t.isFullWidth()?t.margins.left:0)):t.top+n*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var n=this.min,t=this.max;return this.beginAtZero?0:n<0&&t<0?t:n>0&&t>0?n:0},draw:function(r){var u=this,o=u.options,k,d,g,nt,tt;if(o.display){var s,a,f=u.ctx,v=n.defaults.global,h=o.ticks,e=o.gridLines,y=o.scaleLabel,p=0!==u.labelRotation,ht=h.autoSkip,w=u.isHorizontal();h.maxTicksLimit&&(a=h.maxTicksLimit);var ct=t.getValueOrDefault(h.fontColor,v.defaultFontColor),et=i(h),c=e.drawTicks?e.tickMarkLength:0,lt=t.getValueOrDefault(y.fontColor,v.defaultFontColor),l=i(y),ot=t.toRadians(u.labelRotation),at=Math.cos(ot),st=u.longestLabelWidth*at;if(f.fillStyle=ct,k=[],w){if(s=!1,(st+h.autoSkipPadding)*u.ticks.length>u.width-(u.paddingLeft+u.paddingRight)&&(s=1+Math.floor((st+h.autoSkipPadding)*u.ticks.length/(u.width-(u.paddingLeft+u.paddingRight)))),a&&u.ticks.length>a)for(;!s||u.ticks.length/(s||1)>a;)s||(s=1),s+=1;ht||(s=!1)}var vt="right"===o.position?u.left:u.right-c,yt="right"===o.position?u.left+c:u.right,pt="bottom"===o.position?u.top:u.bottom-c,wt="bottom"===o.position?u.top+c:u.bottom;if((t.each(u.ticks,function(n,i){var kt,l,g,nt,tt,it,rt,ut,ft,et,st,ht,ct,lt,a,f,y,dt,b,d,at,bt;void 0!==n&&null!==n&&(kt=u.ticks.length===i+1,(s>1&&i%s>0||i%s==0&&i+s>=u.ticks.length)&&!kt||void 0===n||null===n||(i===(void 0!==u.zeroLineIndex?u.zeroLineIndex:0)?(l=e.zeroLineWidth,g=e.zeroLineColor,nt=e.zeroLineBorderDash,tt=e.zeroLineBorderDashOffset):(l=t.getValueAtIndexOrDefault(e.lineWidth,i),g=t.getValueAtIndexOrDefault(e.color,i),nt=t.getValueOrDefault(e.borderDash,v.borderDash),tt=t.getValueOrDefault(e.borderDashOffset,v.borderDashOffset)),f="middle",y="middle",w?("bottom"===o.position?(y=p?"middle":"top",f=p?"right":"center",a=u.top+c):(y=p?"middle":"bottom",f=p?"left":"center",a=u.bottom-c),dt=u.getPixelForTick(i)+t.aliasPixel(l),lt=u.getPixelForTick(i,e.offsetGridLines)+h.labelOffset,it=ut=et=ht=dt,rt=pt,ft=wt,st=r.top,ct=r.bottom):(d="left"===o.position,at=h.padding,h.mirror?(f=d?"left":"right",b=at):(f=d?"right":"left",b=c+at),lt=d?u.right-b:u.left+b,bt=u.getPixelForTick(i),bt+=t.aliasPixel(l),a=u.getPixelForTick(i,e.offsetGridLines),it=vt,ut=yt,et=r.left,ht=r.right,rt=ft=st=ct=bt),k.push({tx1:it,ty1:rt,tx2:ut,ty2:ft,x1:et,y1:st,x2:ht,y2:ct,labelX:lt,labelY:a,glWidth:l,glColor:g,glBorderDash:nt,glBorderDashOffset:tt,rotation:-1*ot,label:n,textBaseline:y,textAlign:f})))}),t.each(k,function(n){var i,r,u;if(e.display&&(f.save(),f.lineWidth=n.glWidth,f.strokeStyle=n.glColor,f.setLineDash&&(f.setLineDash(n.glBorderDash),f.lineDashOffset=n.glBorderDashOffset),f.beginPath(),e.drawTicks&&(f.moveTo(n.tx1,n.ty1),f.lineTo(n.tx2,n.ty2)),e.drawOnChartArea&&(f.moveTo(n.x1,n.y1),f.lineTo(n.x2,n.y2)),f.stroke(),f.restore()),h.display){if(f.save(),f.translate(n.labelX,n.labelY),f.rotate(n.rotation),f.font=et.font,f.textBaseline=n.textBaseline,f.textAlign=n.textAlign,i=n.label,t.isArray(i))for(r=0,u=0;r<i.length;++r)f.fillText(""+i[r],0,u),u+=1.5*et.size;else f.fillText(i,0,0);f.restore()}}),y.display)&&(nt=0,w?(d=u.left+(u.right-u.left)/2,g="bottom"===o.position?u.bottom-l.size/2:u.top+l.size/2):(tt="left"===o.position,d=tt?u.left+l.size/2:u.right-l.size/2,g=u.top+(u.bottom-u.top)/2,nt=tt?-.5*Math.PI:.5*Math.PI),f.save(),f.translate(d,g),f.rotate(nt),f.textAlign="center",f.textBaseline="middle",f.fillStyle=lt,f.font=l.font,f.fillText(y.labelString,0,0),f.restore()),e.drawBorder){f.lineWidth=t.getValueAtIndexOrDefault(e.lineWidth,0);f.strokeStyle=t.getValueAtIndexOrDefault(e.color,0);var it=u.left,rt=u.right,ut=u.top,ft=u.bottom,b=t.aliasPixel(f.lineWidth);w?(ut=ft="top"===o.position?u.bottom:u.top,ut+=b,ft+=b):(it=rt="left"===o.position?u.right:u.left,it+=b,rt+=b);f.beginPath();f.moveTo(it,ut);f.lineTo(rt,ft);f.stroke()}}}})}},{}],32:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.scaleService={constructors:{},defaults:{},registerScaleType:function(n,i,r){this.constructors[n]=i;this.defaults[n]=t.clone(r)},getScaleConstructor:function(n){if(this.constructors.hasOwnProperty(n))return this.constructors[n]},getScaleDefaults:function(i){return this.defaults.hasOwnProperty(i)?t.scaleMerge(n.defaults.scale,this.defaults[i]):{}},updateScaleDefaults:function(n,i){var r=this.defaults;r.hasOwnProperty(n)&&(r[n]=t.extend(r[n],i))},addScalesToLayout:function(i){t.each(i.scales,function(t){t.fullWidth=t.options.fullWidth;t.position=t.options.position;t.weight=t.options.weight;n.layoutService.addBox(i,t)})}}}},{}],33:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers;n.Ticks={generators:{linear:function(n,i){var r,e=[],h,f,o,u,s;for(n.stepSize&&n.stepSize>0?r=n.stepSize:(h=t.niceNum(i.max-i.min,!1),r=t.niceNum(h/(n.maxTicks-1),!0)),f=Math.floor(i.min/r)*r,o=Math.ceil(i.max/r)*r,n.min&&n.max&&n.stepSize&&t.almostWhole((n.max-n.min)/n.stepSize,r/1e3)&&(f=n.min,o=n.max),u=(o-f)/r,u=t.almostEquals(u,Math.round(u),r/1e3)?Math.round(u):Math.ceil(u),e.push(void 0!==n.min?n.min:f),s=1;s<u;++s)e.push(f+s*r);return e.push(void 0!==n.max?n.max:o),e},logarithmic:function(n,i){var r,f,e=[],s=t.getValueOrDefault,u=s(n.min,Math.pow(10,Math.floor(t.log10(i.min)))),o=Math.floor(t.log10(i.max)),c=Math.ceil(i.max/Math.pow(10,o)),h;0===u?(r=Math.floor(t.log10(i.minNotZero)),f=Math.floor(i.minNotZero/Math.pow(10,r)),e.push(u),u=f*Math.pow(10,r)):(r=Math.floor(t.log10(u)),f=Math.floor(u/Math.pow(10,r)));do e.push(u),10==++f&&(f=1,++r),u=f*Math.pow(10,r);while(r<o||r===o&&f<c);return h=s(n.max,u),e.push(h),e}},formatters:{values:function(n){return t.isArray(n)?n:""+n},linear:function(n,i,r){var e=r.length>3?r[2]-r[1]:r[1]-r[0],o,u,f;return Math.abs(e)>1&&n!==Math.floor(n)&&(e=n-Math.floor(n)),o=t.log10(Math.abs(e)),u="",0!==n?(f=-1*Math.floor(o),f=Math.max(Math.min(f,20),0),u=n.toFixed(f)):u="0",u},logarithmic:function(n,i,r){var u=n/Math.pow(10,Math.floor(t.log10(n)));return 0===n?"0":1===u||2===u||5===u||0===i||i===r.length-1?n.toExponential():""}}}}},{}],34:[function(n,t){"use strict";t.exports=function(n){function r(n,i){var r=t.color(n);return r.alpha(i*r.alpha()).rgbaString()}function i(n,i){return i&&(t.isArray(i)?Array.prototype.push.apply(n,i):n.push(i)),n}function u(i){var r=n.defaults.global,u=t.getValueOrDefault;return{xPadding:i.xPadding,yPadding:i.yPadding,xAlign:i.xAlign,yAlign:i.yAlign,bodyFontColor:i.bodyFontColor,_bodyFontFamily:u(i.bodyFontFamily,r.defaultFontFamily),_bodyFontStyle:u(i.bodyFontStyle,r.defaultFontStyle),_bodyAlign:i.bodyAlign,bodyFontSize:u(i.bodyFontSize,r.defaultFontSize),bodySpacing:i.bodySpacing,titleFontColor:i.titleFontColor,_titleFontFamily:u(i.titleFontFamily,r.defaultFontFamily),_titleFontStyle:u(i.titleFontStyle,r.defaultFontStyle),titleFontSize:u(i.titleFontSize,r.defaultFontSize),_titleAlign:i.titleAlign,titleSpacing:i.titleSpacing,titleMarginBottom:i.titleMarginBottom,footerFontColor:i.footerFontColor,_footerFontFamily:u(i.footerFontFamily,r.defaultFontFamily),_footerFontStyle:u(i.footerFontStyle,r.defaultFontStyle),footerFontSize:u(i.footerFontSize,r.defaultFontSize),_footerAlign:i.footerAlign,footerSpacing:i.footerSpacing,footerMarginTop:i.footerMarginTop,caretSize:i.caretSize,cornerRadius:i.cornerRadius,backgroundColor:i.backgroundColor,opacity:0,legendColorBackground:i.multiKeyBackground,displayColors:i.displayColors,borderColor:i.borderColor,borderWidth:i.borderWidth}}var t=n.helpers;n.defaults.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:t.noop,title:function(n,t){var r="",u=t.labels,f=u?u.length:0,i;return n.length>0&&(i=n[0],i.xLabel?r=i.xLabel:f>0&&i.index<f&&(r=u[i.index])),r},afterTitle:t.noop,beforeBody:t.noop,beforeLabel:t.noop,label:function(n,t){var i=t.datasets[n.datasetIndex].label||"";return i&&(i+=": "),i+n.yLabel},labelColor:function(n,t){var i=t.getDatasetMeta(n.datasetIndex).data[n.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},afterLabel:t.noop,afterBody:t.noop,beforeFooter:t.noop,footer:t.noop,afterFooter:t.noop}};n.Tooltip=n.Element.extend({initialize:function(){this._model=u(this._options)},getTitle:function(){var n=this._options.callbacks,r=n.beforeTitle.apply(this,arguments),u=n.title.apply(this,arguments),f=n.afterTitle.apply(this,arguments),t=[];return i(t=i(t=i(t,r),u),f)},getBeforeBody:function(){var n=this._options.callbacks.beforeBody.apply(this,arguments);return t.isArray(n)?n:void 0!==n?[n]:[]},getBody:function(n,r){var u=this,f=u._options.callbacks,e=[];return t.each(n,function(n){var t={before:[],lines:[],after:[]};i(t.before,f.beforeLabel.call(u,n,r));i(t.lines,f.label.call(u,n,r));i(t.after,f.afterLabel.call(u,n,r));e.push(t)}),e},getAfterBody:function(){var n=this._options.callbacks.afterBody.apply(this,arguments);return t.isArray(n)?n:void 0!==n?[n]:[]},getFooter:function(){var n=this._options.callbacks,r=n.beforeFooter.apply(this,arguments),u=n.footer.apply(this,arguments),f=n.afterFooter.apply(this,arguments),t=[];return i(t=i(t=i(t,r),u),f)},update:function(i){var a,tt,s,v,y,p,w,f=this,o=f._options,h=f._model,r=f._model=u(o),b=f._active,c=f._data,d={xAlign:h.xAlign,yAlign:h.yAlign},g={x:h.x,y:h.y},k={width:h.width,height:h.height},l={x:h.caretX,y:h.caretY},nt,e;if(b.length){for(r.opacity=1,nt=[],l=n.Tooltip.positioners[o.position](b,f._eventPosition),e=[],a=0,tt=b.length;a<tt;++a)e.push((s=b[a],v=void 0,y=void 0,void 0,void 0,v=s._xScale,y=s._yScale||s._scale,p=s._index,w=s._datasetIndex,{xLabel:v?v.getLabelForIndex(p,w):"",yLabel:y?y.getLabelForIndex(p,w):"",index:p,datasetIndex:w,x:s._model.x,y:s._model.y}));o.filter&&(e=e.filter(function(n){return o.filter(n,c)}));o.itemSort&&(e=e.sort(function(n,t){return o.itemSort(n,t,c)}));t.each(e,function(n){nt.push(o.callbacks.labelColor.call(f,n,f._chart))});r.title=f.getTitle(e,c);r.beforeBody=f.getBeforeBody(e,c);r.body=f.getBody(e,c);r.afterBody=f.getAfterBody(e,c);r.footer=f.getFooter(e,c);r.x=Math.round(l.x);r.y=Math.round(l.y);r.caretPadding=o.caretPadding;r.labelColors=nt;r.dataPoints=e;g=function(n,t,i){var r=n.x,e=n.y,c=n.caretSize,s=n.caretPadding,l=n.cornerRadius,u=i.xAlign,o=i.yAlign,f=c+s,h=l+s;return"right"===u?r-=t.width:"center"===u&&(r-=t.width/2),"top"===o?e+=f:e-="bottom"===o?t.height+f:t.height/2,"center"===o?"left"===u?r+=f:"right"===u&&(r-=f):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:e}}(r,k=function(n,i){var f=n._chart.ctx,r=2*i.yPadding,c=0,a=i.body,e=a.reduce(function(n,t){return n+t.before.length+t.lines.length+t.after.length},0),h,u;e+=i.beforeBody.length+i.afterBody.length;var o=i.title.length,s=i.footer.length,v=i.titleFontSize,l=i.bodyFontSize,y=i.footerFontSize;return r+=o*v,r+=o?(o-1)*i.titleSpacing:0,r+=o?i.titleMarginBottom:0,r+=e*l,r+=e?(e-1)*i.bodySpacing:0,r+=s?i.footerMarginTop:0,r+=s*y,r+=s?(s-1)*i.footerSpacing:0,h=0,u=function(n){c=Math.max(c,f.measureText(n).width+h)},f.font=t.fontString(v,i._titleFontStyle,i._titleFontFamily),t.each(i.title,u),f.font=t.fontString(l,i._bodyFontStyle,i._bodyFontFamily),t.each(i.beforeBody.concat(i.afterBody),u),h=i.displayColors?l+2:0,t.each(a,function(n){t.each(n.before,u);t.each(n.lines,u);t.each(n.after,u)}),h=0,f.font=t.fontString(y,i._footerFontStyle,i._footerFontFamily),t.each(i.footer,u),{width:c+=2*i.xPadding,height:r}}(this,r),d=function(n,t){var o,s,a,v,h,i=n._model,c=n._chart,e=n._chart.chartArea,u="center",r="center",l,y,f;return i.y<t.height?r="top":i.y>c.height-t.height&&(r="bottom"),l=(e.left+e.right)/2,y=(e.top+e.bottom)/2,"center"===r?(o=function(n){return n<=l},s=function(n){return n>l}):(o=function(n){return n<=t.width/2},s=function(n){return n>=c.width-t.width/2}),a=function(n){return n+t.width>c.width},v=function(n){return n-t.width<0},h=function(n){return n<=y?"top":"bottom"},o(i.x)?(u="left",a(i.x)&&(u="center",r=h(i.y))):s(i.x)&&(u="right",v(i.x)&&(u="center",r=h(i.y))),f=n._options,{xAlign:f.xAlign?f.xAlign:u,yAlign:f.yAlign?f.yAlign:r}}(this,k))}else r.opacity=0;return r.xAlign=d.xAlign,r.yAlign=d.yAlign,r.x=g.x,r.y=g.y,r.width=k.width,r.height=k.height,r.caretX=l.x,r.caretY=l.y,f._model=r,i&&o.custom&&o.custom.call(f,r),f},drawCaret:function(n,t){var r=this._chart.ctx,u=this._view,i=this.getCaretPosition(n,t,u);r.lineTo(i.x1,i.y1);r.lineTo(i.x2,i.y2);r.lineTo(i.x3,i.y3)},getCaretPosition:function(n,t,i){var u,f,e,s,o,h,r=i.caretSize,y=i.cornerRadius,l=i.xAlign,p=i.yAlign,c=n.x,a=n.y,v=t.width,w=t.height,b;return"center"===p?(o=a+w/2,"left"===l?(f=(u=c)-r,e=u,s=o+r,h=o-r):(f=(u=c+v)+r,e=u,s=o-r,h=o+r)):("left"===l?(u=(f=c+y+r)-r,e=f+r):"right"===l?(u=(f=c+v-y-r)-r,e=f+r):(u=(f=c+v/2)-r,e=f+r),"top"===p)?(o=(s=a)-r,h=s):(o=(s=a+w)+r,h=s,b=e,e=u,u=b),{x1:u,x2:f,x3:e,y1:s,y2:o,y3:h}},drawTitle:function(n,i,u,f){var o=i.title,e,c,s,h;if(o.length)for(u.textAlign=i._titleAlign,u.textBaseline="top",s=i.titleFontSize,h=i.titleSpacing,u.fillStyle=r(i.titleFontColor,f),u.font=t.fontString(s,i._titleFontStyle,i._titleFontFamily),e=0,c=o.length;e<c;++e)u.fillText(o[e],n.x,n.y),n.y+=s+h,e+1===o.length&&(n.y+=i.titleMarginBottom-h)},drawBody:function(n,i,u,f){var e=i.bodyFontSize,l=i.bodySpacing,a=i.body,h,s,o,c;u.textAlign=i._bodyAlign;u.textBaseline="top";h=r(i.bodyFontColor,f);u.fillStyle=h;u.font=t.fontString(e,i._bodyFontStyle,i._bodyFontFamily);s=0;o=function(t){u.fillText(t,n.x+s,n.y);n.y+=e+l};t.each(i.beforeBody,o);c=i.displayColors;s=c?e+2:0;t.each(a,function(s,l){t.each(s.before,o);t.each(s.lines,function(t){c&&(u.fillStyle=r(i.legendColorBackground,f),u.fillRect(n.x,n.y,e,e),u.strokeStyle=r(i.labelColors[l].borderColor,f),u.strokeRect(n.x,n.y,e,e),u.fillStyle=r(i.labelColors[l].backgroundColor,f),u.fillRect(n.x+1,n.y+1,e-2,e-2),u.fillStyle=h);o(t)});t.each(s.after,o)});s=0;t.each(i.afterBody,o);n.y-=l},drawFooter:function(n,i,u,f){var e=i.footer;e.length&&(n.y+=i.footerMarginTop,u.textAlign=i._footerAlign,u.textBaseline="top",u.fillStyle=r(i.footerFontColor,f),u.font=t.fontString(i.footerFontSize,i._footerFontStyle,i._footerFontFamily),t.each(e,function(t){u.fillText(t,n.x,n.y);n.y+=i.footerFontSize+i.footerSpacing}))},drawBackground:function(n,t,i,u,f){i.fillStyle=r(t.backgroundColor,f);i.strokeStyle=r(t.borderColor,f);i.lineWidth=t.borderWidth;var a=t.xAlign,l=t.yAlign,e=n.x,o=n.y,h=u.width,c=u.height,s=t.cornerRadius;i.beginPath();i.moveTo(e+s,o);"top"===l&&this.drawCaret(n,u);i.lineTo(e+h-s,o);i.quadraticCurveTo(e+h,o,e+h,o+s);"center"===l&&"right"===a&&this.drawCaret(n,u);i.lineTo(e+h,o+c-s);i.quadraticCurveTo(e+h,o+c,e+h-s,o+c);"bottom"===l&&this.drawCaret(n,u);i.lineTo(e+s,o+c);i.quadraticCurveTo(e,o+c,e,o+c-s);"center"===l&&"left"===a&&this.drawCaret(n,u);i.lineTo(e,o+s);i.quadraticCurveTo(e,o,e+s,o);i.closePath();i.fill();t.borderWidth>0&&i.stroke()},draw:function(){var i=this._chart.ctx,n=this._view;if(0!==n.opacity){var u={width:n.width,height:n.height},t={x:n.x,y:n.y},r=Math.abs(n.opacity<.001)?0:n.opacity,f=n.title.length||n.beforeBody.length||n.body.length||n.afterBody.length||n.footer.length;this._options.enabled&&f&&(this.drawBackground(t,n,i,u,r),t.x+=n.xPadding,t.y+=n.yPadding,this.drawTitle(t,n,i,r),this.drawBody(t,n,i,r),this.drawFooter(t,n,i,r))}},handleEvent:function(n){var i=this,r=i._options,u=!1,f;return(i._lastActive=i._lastActive||[],i._active="mouseout"===n.type?[]:i._chart.getElementsAtEventForMode(n,r.mode,r),!(u=!t.arrayEquals(i._active,i._lastActive)))?!1:((i._lastActive=i._active,r.enabled||r.custom)&&(i._eventPosition={x:n.x,y:n.y},f=i._model,i.update(!0),i.pivot(),u|=f.x!==i._model.x||f.y!==i._model.y),u)}});n.Tooltip.positioners={average:function(n){var i,u;if(!n.length)return!1;for(var e=0,o=0,r=0,t=0,f=n.length;t<f;++t)i=n[t],i&&i.hasValue()&&(u=i.tooltipPosition(),e+=u.x,o+=u.y,++r);return{x:Math.round(e/r),y:Math.round(o/r)}},nearest:function(n,i){for(var f,h=i.x,c=i.y,l=Number.POSITIVE_INFINITY,r,a,e,o,u=0,s=n.length;u<s;++u)r=n[u],r&&r.hasValue()&&(a=r.getCenterPoint(),e=t.distanceBetweenPoints(i,a),e<l&&(l=e,f=r));return f&&(o=f.tooltipPosition(),h=o.x,c=o.y),{x:h,y:c}}}}},{}],35:[function(n,t){"use strict";t.exports=function(n){var i=n.helpers,t=n.defaults.global;t.elements.arc={backgroundColor:t.defaultColor,borderColor:"#fff",borderWidth:2};n.elements.Arc=n.Element.extend({inLabelRange:function(n){var t=this._view;return!!t&&Math.pow(n-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(n,t){var r=this._view,h,c;if(r){for(var o=i.getAngleFromPoint(r,{x:n,y:t}),u=o.angle,s=o.distance,e=r.startAngle,f=r.endAngle;f<e;)f+=2*Math.PI;for(;u>f;)u-=2*Math.PI;for(;u<e;)u+=2*Math.PI;return h=u>=e&&u<=f,c=s>=r.innerRadius&&s<=r.outerRadius,h&&c}return!1},getCenterPoint:function(){var n=this._view,t=(n.startAngle+n.endAngle)/2,i=(n.innerRadius+n.outerRadius)/2;return{x:n.x+Math.cos(t)*i,y:n.y+Math.sin(t)*i}},getArea:function(){var n=this._view;return Math.PI*((n.endAngle-n.startAngle)/(2*Math.PI))*(Math.pow(n.outerRadius,2)-Math.pow(n.innerRadius,2))},tooltipPosition:function(){var n=this._view,t=n.startAngle+(n.endAngle-n.startAngle)/2,i=(n.outerRadius-n.innerRadius)/2+n.innerRadius;return{x:n.x+Math.cos(t)*i,y:n.y+Math.sin(t)*i}},draw:function(){var t=this._chart.ctx,n=this._view,i=n.startAngle,r=n.endAngle;t.beginPath();t.arc(n.x,n.y,n.outerRadius,i,r);t.arc(n.x,n.y,n.innerRadius,r,i,!0);t.closePath();t.strokeStyle=n.borderColor;t.lineWidth=n.borderWidth;t.fillStyle=n.backgroundColor;t.fill();t.lineJoin="bevel";n.borderWidth&&t.stroke()}})}},{}],36:[function(n,t){"use strict";t.exports=function(n){var i=n.helpers,t=n.defaults.global;n.defaults.global.elements.line={tension:.4,backgroundColor:t.defaultColor,borderWidth:3,borderColor:t.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0};n.elements.Line=n.Element.extend({draw:function(){var r,c,h,u,f=this._view,n=this._chart.ctx,l=f.spanGaps,e=this._children.slice(),s=t.elements.line,o=-1;for(this._loop&&e.length&&e.push(e[0]),n.save(),n.lineCap=f.borderCapStyle||s.borderCapStyle,n.setLineDash&&n.setLineDash(f.borderDash||s.borderDash),n.lineDashOffset=f.borderDashOffset||s.borderDashOffset,n.lineJoin=f.borderJoinStyle||s.borderJoinStyle,n.lineWidth=f.borderWidth||s.borderWidth,n.strokeStyle=f.borderColor||t.defaultColor,n.beginPath(),o=-1,r=0;r<e.length;++r)c=e[r],h=i.previousItem(e,r),u=c._view,0===r?u.skip||(n.moveTo(u.x,u.y),o=r):(h=-1===o?h:e[o],u.skip||(o!==r-1&&!l||-1===o?n.moveTo(u.x,u.y):i.canvas.lineTo(n,h._view,c._view),o=r));n.stroke();n.restore()}})}},{}],37:[function(n,t){"use strict";t.exports=function(n){function r(n){var t=this._view;return!!t&&Math.pow(n-t.x,2)<Math.pow(t.radius+t.hitRadius,2)}var u=n.helpers,i=n.defaults.global,t=i.defaultColor;i.elements.point={radius:3,pointStyle:"circle",backgroundColor:t,borderWidth:1,borderColor:t,hitRadius:1,hoverRadius:4,hoverBorderWidth:1};n.elements.Point=n.Element.extend({inRange:function(n,t){var i=this._view;return!!i&&Math.pow(n-i.x,2)+Math.pow(t-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:r,inXRange:r,inYRange:function(n){var t=this._view;return!!t&&Math.pow(n-t.y,2)<Math.pow(t.radius+t.hitRadius,2)},getCenterPoint:function(){var n=this._view;return{x:n.x,y:n.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var n=this._view;return{x:n.x,y:n.y,padding:n.radius+n.borderWidth}},draw:function(r){var e=this._view,f=this._model,o=this._chart.ctx,a=e.pointStyle,v=e.radius,h=e.x,c=e.y,l=n.helpers.color,s=0;e.skip||(o.strokeStyle=e.borderColor||t,o.lineWidth=u.getValueOrDefault(e.borderWidth,i.elements.point.borderWidth),o.fillStyle=e.backgroundColor||t,void 0!==r&&(f.x<r.left||1.01*r.right<f.x||f.y<r.top||1.01*r.bottom<f.y)&&(f.x<r.left?s=(h-f.x)/(r.left-f.x):1.01*r.right<f.x?s=(f.x-h)/(f.x-r.right):f.y<r.top?s=(c-f.y)/(r.top-f.y):1.01*r.bottom<f.y&&(s=(f.y-c)/(f.y-r.bottom)),s=Math.round(100*s)/100,o.strokeStyle=l(o.strokeStyle).alpha(s).rgbString(),o.fillStyle=l(o.fillStyle).alpha(s).rgbString()),n.canvasHelpers.drawPoint(o,a,v,h,c))}})}},{}],38:[function(n,t){"use strict";t.exports=function(n){function r(n){return void 0!==n._view.width}function t(n){var i,u,f,e,t=n._view,o,s;return r(n)?(o=t.width/2,i=t.x-o,u=t.x+o,f=Math.min(t.y,t.base),e=Math.max(t.y,t.base)):(s=t.height/2,i=Math.min(t.x,t.base),u=Math.max(t.x,t.base),f=t.y-s,e=t.y+s),{left:i,top:f,right:u,bottom:e}}var i=n.defaults.global;i.elements.rectangle={backgroundColor:i.defaultColor,borderWidth:0,borderColor:i.defaultColor,borderSkipped:"bottom"};n.elements.Rectangle=n.Element.extend({draw:function(){function g(n){return d[(a+n)%4]}var t,i,r,f,h,c,e,u=this._chart.ctx,n=this._view,o=n.borderWidth,d,a,s,v;if(n.horizontal?(t=n.base,i=n.x,r=n.y-n.height/2,f=n.y+n.height/2,h=i>t?1:-1,c=1,e=n.borderSkipped||"left"):(t=n.x-n.width/2,i=n.x+n.width/2,r=n.y,h=1,c=(f=n.base)>r?1:-1,e=n.borderSkipped||"bottom"),o){var y=Math.min(Math.abs(t-i),Math.abs(r-f)),l=(o=o>y?y:o)/2,p=t+("left"!==e?l*h:0),w=i+("right"!==e?-l*h:0),b=r+("top"!==e?l*c:0),k=f+("bottom"!==e?-l*c:0);p!==w&&(r=b,f=k);b!==k&&(t=p,i=w)}for(u.beginPath(),u.fillStyle=n.backgroundColor,u.strokeStyle=n.borderColor,u.lineWidth=o,d=[[t,f],[t,r],[i,r],[i,f]],a=["bottom","left","top","right"].indexOf(e,0),-1===a&&(a=0),s=g(0),u.moveTo(s[0],s[1]),v=1;v<4;v++)s=g(v),u.lineTo(s[0],s[1]);u.fill();o&&u.stroke()},height:function(){var n=this._view;return n.base-n.y},inRange:function(n,i){var u=!1,r;return this._view&&(r=t(this),u=n>=r.left&&n<=r.right&&i>=r.top&&i<=r.bottom),u},inLabelRange:function(n,i){if(!this._view)return!1;var u=t(this);return r(this)?n>=u.left&&n<=u.right:i>=u.top&&i<=u.bottom},inXRange:function(n){var i=t(this);return n>=i.left&&n<=i.right},inYRange:function(n){var i=t(this);return n>=i.top&&n<=i.bottom},getCenterPoint:function(){var t,i,n=this._view;return r(this)?(t=n.x,i=(n.y+n.base)/2):(t=(n.x+n.base)/2,i=n.y),{x:t,y:i}},getArea:function(){var n=this._view;return n.width*Math.abs(n.y-n.base)},tooltipPosition:function(){var n=this._view;return{x:n.x,y:n.y}}})}},{}],39:[function(n,t){"use strict";t.exports=function(n){function i(n,i){var r=t.getStyle(n,i),u=r&&r.match(/^(\d+)(\.\d+)?px$/);if(u)return Number(u[1])}function r(n,t,i,r,u){return{type:n,chart:t,"native":u||null,x:void 0!==i?i:null,y:void 0!==r?r:null}}function f(n,i,u){var o,f,e=n._chartjs={ticking:!1};e.resizer=(o=function(){e.ticking||(e.ticking=!0,t.requestAnimFrame.call(window,function(){if(e.resizer)return e.ticking=!1,i(r("resize",u))}))},(f=document.createElement("iframe")).className="chartjs-hidden-iframe",f.style.cssText="display:block;overflow:hidden;border:0;margin:0;top:0;left:0;bottom:0;right:0;height:100%;width:100%;position:absolute;pointer-events:none;z-index:-1;",f.tabIndex=-1,t.addEvent(f,"load",function(){t.addEvent(f.contentWindow||f,"resize",o);o()}),f);n.insertBefore(e.resizer,n.firstChild)}var t=n.helpers,u={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};return{acquireContext:function(n,t){"string"==typeof n?n=document.getElementById(n):n.length&&(n=n[0]);n&&n.canvas&&(n=n.canvas);var r=n&&n.getContext&&n.getContext("2d");return r&&r.canvas===n?(function(n,t){var r=n.style,f=n.getAttribute("height"),e=n.getAttribute("width"),u,o;(n._chartjs={initial:{height:f,width:e,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===e||""===e)&&(u=i(n,"width"),void 0!==u&&(n.width=u));(null===f||""===f)&&(""===n.style.height?n.height=n.width/(t.options.aspectRatio||2):(o=i(n,"height"),void 0!==u&&(n.height=o)))}(n,t),r):null},releaseContext:function(n){var i=n.canvas,r;i._chartjs&&(r=i._chartjs.initial,["height","width"].forEach(function(n){var t=r[n];void 0===t||null===t?i.removeAttribute(n):i.setAttribute(n,t)}),t.each(r.style||{},function(n,t){i.style[t]=n}),i.width=i.width,delete i._chartjs)},addEventListener:function(n,i,e){var s=n.canvas,o,h;"resize"!==i?(o=e._chartjs||(e._chartjs={}),h=(o.proxies||(o.proxies={}))[n.id+"_"+i]=function(i){e(function(n,i){var e=u[n.type]||n.type,f=t.getRelativePosition(n,i);return r(e,i,f.x,f.y,n)}(i,n))},t.addEvent(s,i,h)):f(s.parentNode,e,n)},removeEventListener:function(n,i,r){var f=n.canvas,u;"resize"!==i?(u=((r._chartjs||{}).proxies||{})[n.id+"_"+i],u&&t.removeEvent(f,i,u)):!function(n){if(n&&n._chartjs){var t=n._chartjs.resizer;t&&(t.parentNode.removeChild(t),n._chartjs.resizer=null);delete n._chartjs}}(f.parentNode)}}}},{}],40:[function(n,t){"use strict";var i=n(39);t.exports=function(n){n.platform={acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}};n.helpers.extend(n.platform,i(n))}},{39:39}],41:[function(n,t){"use strict";t.exports=function(n){function e(n,t,i){var r,f=n._model||{},u=f.fill;if(void 0===u&&(u=!!f.backgroundColor),!1===u||null===u)return!1;if(!0===u)return"origin";if(r=parseFloat(u,10),isFinite(r)&&Math.floor(r)===r)return"-"!==u[0]&&"+"!==u[0]||(r=t+r),!(r===t||r<0||r>=i)&&r;switch(u){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return u;default:return!1}}function o(n){var f,r=n.el._model||{},i=n.el._scale||{},u=n.fill,t=null;if(isFinite(u))return null;if("start"===u?t=void 0===r.scaleBottom?i.bottom:r.scaleBottom:"end"===u?t=void 0===r.scaleTop?i.top:r.scaleTop:void 0!==r.scaleZero?t=r.scaleZero:i.getBasePosition?t=i.getBasePosition():i.getBasePixel&&(t=i.getBasePixel()),void 0!==t&&null!==t){if(void 0!==t.x&&void 0!==t.y)return t;if("number"==typeof t&&isFinite(t))return{x:(f=i.isHorizontal())?t:null,y:f?null:t}}return null}function s(n,t,i){var u,r=n[t].fill,f=[t];if(!i)return r;for(;!1!==r&&-1===f.indexOf(r);){if(!isFinite(r))return r;if(!(u=n[r]))return!1;if(u.visible)return r;f.push(r);r=u.fill}return!1}function h(n){var t=n.fill,i="dataset";return!1===t?null:(isFinite(t)||(i="boundary"),f[i](n))}function i(n){return n&&!n.skip}function r(n,i,r,u,f){var e;if(u&&f){for(n.moveTo(i[0].x,i[0].y),e=1;e<u;++e)t.canvas.lineTo(n,i[e-1],i[e]);for(n.lineTo(r[f-1].x,r[f-1].y),e=f-1;e>0;--e)t.canvas.lineTo(n,r[e],r[e-1],!0)}}n.defaults.global.plugins.filler={propagate:!0};var u=n.defaults,t=n.helpers,f={dataset:function(n){var t=n.fill,i=n.chart,r=i.getDatasetMeta(t),u=r&&i.isDatasetVisible(t)&&r.dataset._children||[];return u.length?function(n,t){return u[t]._view||null}:null},boundary:function(n){var t=n.boundary,i=t?t.x:null,r=t?t.y:null;return function(n){return{x:null===i?n.x:i,y:null===r?n.y:r}}}};return{id:"filler",afterDatasetsUpdate:function(t,i){for(var a,f,u,c=(t.data.datasets||[]).length,v=i.propagate,l=[],r=0;r<c;++r)u=null,(f=(a=t.getDatasetMeta(r)).dataset)&&f._model&&f instanceof n.elements.Line&&(u={visible:t.isDatasetVisible(r),fill:e(f,r,c),chart:t,el:f}),a.$filler=u,l.push(u);for(r=0;r<c;++r)(u=l[r])&&(u.fill=s(l,r,v),u.boundary=o(u),u.mapper=h(u))},beforeDatasetDraw:function(n,t){var f=t.meta.$filler;if(f){var e=f.el,o=e._view,s=e._children||[],h=f.mapper,c=o.backgroundColor||u.global.defaultColor;h&&c&&s.length&&function(n,t,u,f,e,o){var a,b,k,v,y,p,w,d=t.length,g=f.spanGaps,s=[],h=[],c=0,l=0;for(n.beginPath(),a=0,b=d+!!o;a<b;++a)y=u(v=t[k=a%d]._view,k,f),p=i(v),w=i(y),p&&w?(c=s.push(v),l=h.push(y)):c&&l&&(g?(p&&s.push(v),w&&h.push(y)):(r(n,s,h,c,l),c=l=0,s=[],h=[]));r(n,s,h,c,l);n.closePath();n.fillStyle=e;n.fill()}(n.ctx,s,h,o,c,e._loop)}}}}},{}],42:[function(n,t){"use strict";t.exports=function(n){function u(n,t){return n.usePointStyle?t*Math.SQRT2:n.boxWidth}function f(t,i){var u=new n.Legend({ctx:t.ctx,options:i,chart:t});r.configure(t,u,i);r.addBox(t,u);t.legend=u}var t=n.helpers,r=n.layoutService,i=t.noop;return n.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(n,t){var r=t.datasetIndex,i=this.chart,u=i.getDatasetMeta(r);u.hidden=null===u.hidden?!i.data.datasets[r].hidden:null;i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var i=n.data;return t.isArray(i.datasets)?i.datasets.map(function(i,r){return{text:i.label,fillStyle:t.isArray(i.backgroundColor)?i.backgroundColor[0]:i.backgroundColor,hidden:!n.isDatasetVisible(r),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,datasetIndex:r}},this):[]}}},n.Legend=n.Element.extend({initialize:function(n){t.extend(this,n);this.legendHitBoxes=[];this.doughnutMode=!1},beforeUpdate:i,update:function(n,t,i){var r=this;return r.beforeUpdate(),r.maxWidth=n,r.maxHeight=t,r.margins=i,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:i,beforeSetDimensions:i,setDimensions:function(){var n=this;n.isHorizontal()?(n.width=n.maxWidth,n.left=0,n.right=n.width):(n.height=n.maxHeight,n.top=0,n.bottom=n.height);n.paddingLeft=0;n.paddingTop=0;n.paddingRight=0;n.paddingBottom=0;n.minSize={width:0,height:0}},afterSetDimensions:i,beforeBuildLabels:i,buildLabels:function(){var n=this,i=n.options.labels,t=i.generateLabels.call(n,n.chart);i.filter&&(t=t.filter(function(t){return i.filter(t,n.chart.data)}));n.options.reverse&&t.reverse();n.legendItems=t},afterBuildLabels:i,beforeFit:i,fit:function(){var i=this,w=i.options,r=w.labels,c=w.display,h=i.ctx,l=n.defaults.global,a=t.getValueOrDefault,f=a(r.fontSize,l.defaultFontSize),nt=a(r.fontStyle,l.defaultFontStyle),tt=a(r.fontFamily,l.defaultFontFamily),it=t.fontString(f,nt,tt),b=i.legendHitBoxes=[],e=i.minSize,k=i.isHorizontal(),o,v;if(k?(e.width=i.maxWidth,e.height=c?10:0):(e.width=c?10:0,e.height=i.maxHeight),c)if(h.font=it,k)o=i.lineWidths=[0],v=i.legendItems.length?f+r.padding:0,h.textAlign="left",h.textBaseline="top",t.each(i.legendItems,function(n,t){var e=u(r,f)+f/2+h.measureText(n.text).width;o[o.length-1]+e+r.padding>=i.width&&(v+=f+r.padding,o[o.length]=i.left);b[t]={left:0,top:0,width:e,height:f};o[o.length-1]+=e+r.padding}),e.height+=v;else{var rt=r.padding,d=i.columnWidths=[],y=r.padding,s=0,p=0,g=f+rt;t.each(i.legendItems,function(n,t){var i=u(r,f)+f/2+h.measureText(n.text).width;p+g>e.height&&(y+=s+r.padding,d.push(s),s=0,p=0);s=Math.max(s,i);p+=g;b[t]={left:0,top:0,width:i,height:f}});y+=s;d.push(s);e.width+=y}i.width=e.width;i.height=e.height},afterFit:i,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var r=this,a=r.options,e=a.labels,c=n.defaults.global,l=c.elements.line,y=r.width,w=r.lineWidths,v;if(a.display){var f,i=r.ctx,o=t.getValueOrDefault,b=o(e.fontColor,c.defaultFontColor),s=o(e.fontSize,c.defaultFontSize),d=o(e.fontStyle,c.defaultFontStyle),g=o(e.fontFamily,c.defaultFontFamily),nt=t.fontString(s,d,g);i.textAlign="left";i.textBaseline="top";i.lineWidth=.5;i.strokeStyle=b;i.fillStyle=b;i.font=nt;var h=u(e,s),k=r.legendHitBoxes,p=r.isHorizontal();f=p?{x:r.left+(y-w[0])/2,y:r.top+e.padding,line:0}:{x:r.left+e.padding,y:r.top+e.padding,line:0};v=s+e.padding;t.each(r.legendItems,function(t,u){var g=i.measureText(t.text).width,nt=h+s/2+g,b=f.x,d=f.y;p?b+nt>=y&&(d=f.y+=v,f.line++,b=f.x=r.left+(y-w[f.line])/2):d+v>r.bottom&&(b=f.x=b+r.columnWidths[f.line]+e.padding,d=f.y=r.top+e.padding,f.line++),function(t,r,u){var f;if(!(isNaN(h)||h<=0)){if(i.save(),i.fillStyle=o(u.fillStyle,c.defaultColor),i.lineCap=o(u.lineCap,l.borderCapStyle),i.lineDashOffset=o(u.lineDashOffset,l.borderDashOffset),i.lineJoin=o(u.lineJoin,l.borderJoinStyle),i.lineWidth=o(u.lineWidth,l.borderWidth),i.strokeStyle=o(u.strokeStyle,c.defaultColor),f=0===o(u.lineWidth,l.borderWidth),i.setLineDash&&i.setLineDash(o(u.lineDash,l.borderDash)),a.labels&&a.labels.usePointStyle){var e=s*Math.SQRT2/2,v=e/Math.SQRT2,y=t+v,p=r+v;n.canvasHelpers.drawPoint(i,u.pointStyle,e,y,p)}else f||i.strokeRect(t,r,h,s),i.fillRect(t,r,h,s);i.restore()}}(b,d,t);k[u].left=b;k[u].top=d,function(n,t,r,u){i.fillText(r.text,h+s/2+n,t);r.hidden&&(i.beginPath(),i.lineWidth=2,i.moveTo(h+s/2+n,t+s/2),i.lineTo(h+s/2+n+u,t+s/2),i.stroke())}(b,d,t,g);p?f.x+=nt+e.padding:f.y+=v})}},handleEvent:function(n){var t=this,e=t.options,o="mouseup"===n.type?"click":n.type,s=!1,u,f,h,r,i;if("mousemove"===o){if(!e.onHover)return}else{if("click"!==o)return;if(!e.onClick)return}if(u=n.x,f=n.y,u>=t.left&&u<=t.right&&f>=t.top&&f<=t.bottom)for(h=t.legendHitBoxes,r=0;r<h.length;++r)if(i=h[r],u>=i.left&&u<=i.left+i.width&&f>=i.top&&f<=i.top+i.height){if("click"===o){e.onClick.call(t,n.native,t.legendItems[r]);s=!0;break}if("mousemove"===o){e.onHover.call(t,n.native,t.legendItems[r]);s=!0;break}}return s}}),{id:"legend",beforeInit:function(n){var t=n.options.legend;t&&f(n,t)},beforeUpdate:function(i){var u=i.options.legend,e=i.legend;u?(u=t.configMerge(n.defaults.global.legend,u),e?(r.configure(i,e,u),e.options=u):f(i,u)):e&&(r.removeBox(i,e),delete i.legend)},afterEvent:function(n,t){var i=n.legend;i&&i.handleEvent(t)}}}},{}],43:[function(n,t){"use strict";t.exports=function(n){function u(t,i){var u=new n.Title({ctx:t.ctx,options:i,chart:t});r.configure(t,u,i);r.addBox(t,u);t.titleBlock=u}var i=n.helpers,r=n.layoutService,t=i.noop;return n.defaults.global.title={display:!1,position:"top",fullWidth:!0,weight:2e3,fontStyle:"bold",padding:10,text:""},n.Title=n.Element.extend({initialize:function(n){i.extend(this,n);this.legendHitBoxes=[]},beforeUpdate:t,update:function(n,t,i){var r=this;return r.beforeUpdate(),r.maxWidth=n,r.maxHeight=t,r.margins=i,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var n=this;n.isHorizontal()?(n.width=n.maxWidth,n.left=0,n.right=n.width):(n.height=n.maxHeight,n.top=0,n.bottom=n.height);n.paddingLeft=0;n.paddingTop=0;n.paddingRight=0;n.paddingBottom=0;n.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:t,afterBuildLabels:t,beforeFit:t,fit:function(){var t=this,o=i.getValueOrDefault,u=t.options,s=n.defaults.global,f=u.display,e=o(u.fontSize,s.defaultFontSize),r=t.minSize;t.isHorizontal()?(r.width=t.maxWidth,r.height=f?e+2*u.padding:0):(r.width=f?e+2*u.padding:0,r.height=t.maxHeight);t.width=r.width;t.height=r.height},afterFit:t,isHorizontal:function(){var n=this.options.position;return"top"===n||"bottom"===n},draw:function(){var u=this,t=u.ctx,e=i.getValueOrDefault,r=u.options,o=n.defaults.global;if(r.display){var h,c,l,a=e(r.fontSize,o.defaultFontSize),w=e(r.fontStyle,o.defaultFontStyle),b=e(r.fontFamily,o.defaultFontFamily),k=i.fontString(a,w,b),p=0,f=u.top,s=u.left,v=u.bottom,y=u.right;t.fillStyle=e(r.fontColor,o.defaultFontColor);t.font=k;u.isHorizontal()?(h=s+(y-s)/2,c=f+(v-f)/2,l=y-s):(h="left"===r.position?s+a/2:y-a/2,c=f+(v-f)/2,l=v-f,p=Math.PI*("left"===r.position?-.5:.5));t.save();t.translate(h,c);t.rotate(p);t.textAlign="center";t.textBaseline="middle";t.fillText(r.text,0,0,l);t.restore()}}}),{id:"title",beforeInit:function(n){var t=n.options.title;t&&u(n,t)},beforeUpdate:function(t){var f=t.options.title,e=t.titleBlock;f?(f=i.configMerge(n.defaults.global.title,f),e?(r.configure(t,e,f),e.options=f):u(t,f)):e&&(n.layoutService.removeBox(t,e),delete t.titleBlock)}}}},{}],44:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers,i=n.Scale.extend({getLabels:function(){var n=this.chart.data;return(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels},determineDataLimits:function(){var i,n=this,r=n.getLabels();n.minIndex=0;n.maxIndex=r.length-1;void 0!==n.options.ticks.min&&(i=t.indexOf(r,n.options.ticks.min),n.minIndex=-1!==i?i:n.minIndex);void 0!==n.options.ticks.max&&(i=t.indexOf(r,n.options.ticks.max),n.maxIndex=-1!==i?i:n.maxIndex);n.min=r[n.minIndex];n.max=r[n.maxIndex]},buildTicks:function(){var n=this,t=n.getLabels();n.ticks=0===n.minIndex&&n.maxIndex===t.length-1?t:t.slice(n.minIndex,n.maxIndex+1)},getLabelForIndex:function(n,t){var i=this,r=i.chart.data,u=i.isHorizontal();return r.yLabels&&!u?i.getRightValue(r.datasets[t].data[n]):i.ticks[n-i.minIndex]},getPixelForValue:function(n,t,i,r){var f,u=this,l=Math.max(u.maxIndex+1-u.minIndex-(u.options.gridLines.offsetGridLines?0:1),1),a,e,o,s,h,c;return((void 0!==n&&null!==n&&(f=u.isHorizontal()?n.x:n.y),void 0!==f||void 0!==n&&isNaN(t))&&(a=u.getLabels(),n=f||n,e=a.indexOf(n),t=-1!==e?e:t),u.isHorizontal())?(o=u.width/l,s=o*(t-u.minIndex),(u.options.gridLines.offsetGridLines&&r||u.maxIndex===u.minIndex&&r)&&(s+=o/2),u.left+Math.round(s)):(h=u.height/l,c=h*(t-u.minIndex),u.options.gridLines.offsetGridLines&&r&&(c+=h/2),u.top+Math.round(c))},getPixelForTick:function(n,t){return this.getPixelForValue(this.ticks[n],n+this.minIndex,null,t)},getValueForPixel:function(n){var t=this,u=Math.max(t.ticks.length-(t.options.gridLines.offsetGridLines?0:1),1),i=t.isHorizontal(),r=(i?t.width:t.height)/u;return n-=i?t.left:t.top,t.options.gridLines.offsetGridLines&&(n-=r/2),n<=0?0:Math.round(n/r)},getBasePixel:function(){return this.bottom}});n.scaleService.registerScaleType("category",i,{position:"bottom"})}},{}],45:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers,i={position:"left",ticks:{callback:n.Ticks.formatters.linear}},r=n.LinearScaleBase.extend({determineDataLimits:function(){function o(t){return s?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,f=n.options,i=n.chart,e=i.data.datasets,s=n.isHorizontal(),u,r;n.min=null;n.max=null;u=f.stacked;(void 0===u&&t.each(e,function(n,t){if(!u){var r=i.getDatasetMeta(t);i.isDatasetVisible(t)&&o(r)&&void 0!==r.stack&&(u=!0)}}),f.stacked||u)?(r={},t.each(e,function(u,e){var s=i.getDatasetMeta(e),c=[s.type,void 0===f.stacked&&void 0===s.stack?e:"",s.stack].join("."),h,l;void 0===r[c]&&(r[c]={positiveValues:[],negativeValues:[]});h=r[c].positiveValues;l=r[c].negativeValues;i.isDatasetVisible(e)&&o(s)&&t.each(u.data,function(t,i){var r=+n.getRightValue(t);isNaN(r)||s.data[i].hidden||(h[i]=h[i]||0,l[i]=l[i]||0,f.relativePoints?h[i]=100:r<0?l[i]+=r:h[i]+=r)})}),t.each(r,function(i){var r=i.positiveValues.concat(i.negativeValues),u=t.min(r),f=t.max(r);n.min=null===n.min?u:Math.min(n.min,u);n.max=null===n.max?f:Math.max(n.max,f)})):t.each(e,function(r,u){var f=i.getDatasetMeta(u);i.isDatasetVisible(u)&&o(f)&&t.each(r.data,function(t,i){var r=+n.getRightValue(t);isNaN(r)||f.data[i].hidden||(null===n.min?n.min=r:r<n.min&&(n.min=r),null===n.max?n.max=r:r>n.max&&(n.max=r))})});n.min=isFinite(n.min)?n.min:0;n.max=isFinite(n.max)?n.max:1;this.handleTickRangeOptions()},getTickLimit:function(){var r,i=this.options.ticks,u;return this.isHorizontal()?r=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(this.width/50)):(u=t.getValueOrDefault(i.fontSize,n.defaults.global.defaultFontSize),r=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(this.height/(2*u)))),r},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(n,t){return+this.getRightValue(this.chart.data.datasets[t].data[n])},getPixelForValue:function(n){var i,t=this,r=t.start,u=+t.getRightValue(n),f=t.end-r;return t.isHorizontal()?(i=t.left+t.width/f*(u-r),Math.round(i)):(i=t.bottom-t.height/f*(u-r),Math.round(i))},getValueForPixel:function(n){var t=this,i=t.isHorizontal(),r=i?t.width:t.height,u=(i?n-t.left:t.bottom-n)/r;return t.start+(t.end-t.start)*u},getPixelForTick:function(n){return this.getPixelForValue(this.ticksAsNumbers[n])}});n.scaleService.registerScaleType("linear",r,i)}},{}],46:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers,i=t.noop;n.LinearScaleBase=n.Scale.extend({handleTickRangeOptions:function(){var n=this,i=n.options.ticks,r,u;i.beginAtZero&&(r=t.sign(n.min),u=t.sign(n.max),r<0&&u<0?n.max=0:r>0&&u>0&&(n.min=0));void 0!==i.min?n.min=i.min:void 0!==i.suggestedMin&&(n.min=null===n.min?i.suggestedMin:Math.min(n.min,i.suggestedMin));void 0!==i.max?n.max=i.max:void 0!==i.suggestedMax&&(n.max=null===n.max?i.suggestedMax:Math.max(n.max,i.suggestedMax));n.min===n.max&&(n.max++,i.beginAtZero||n.min--)},getTickLimit:i,handleDirectionalChanges:i,buildTicks:function(){var i=this,r=i.options.ticks,f=i.getTickLimit(),e={maxTicks:f=Math.max(2,f),min:r.min,max:r.max,stepSize:t.getValueOrDefault(r.fixedStepSize,r.stepSize)},u=i.ticks=n.Ticks.generators.linear(e,i);i.handleDirectionalChanges();i.max=t.max(u);i.min=t.min(u);r.reverse?(u.reverse(),i.start=i.max,i.end=i.min):(i.start=i.min,i.end=i.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice();t.zeroLineIndex=t.ticks.indexOf(0);n.Scale.prototype.convertTicksToLabels.call(t)}})}},{}],47:[function(n,t){"use strict";t.exports=function(n){var t=n.helpers,i={position:"left",ticks:{callback:n.Ticks.formatters.logarithmic}},r=n.Scale.extend({determineDataLimits:function(){function o(t){return c?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,r=n.options,s=r.ticks,i=n.chart,e=i.data.datasets,h=t.getValueOrDefault,c=n.isHorizontal(),u,f;n.min=null;n.max=null;n.minNotZero=null;u=r.stacked;(void 0===u&&t.each(e,function(n,t){if(!u){var r=i.getDatasetMeta(t);i.isDatasetVisible(t)&&o(r)&&void 0!==r.stack&&(u=!0)}}),r.stacked||u)?(f={},t.each(e,function(u,e){var s=i.getDatasetMeta(e),h=[s.type,void 0===r.stacked&&void 0===s.stack?e:"",s.stack].join(".");i.isDatasetVisible(e)&&o(s)&&(void 0===f[h]&&(f[h]=[]),t.each(u.data,function(t,i){var u=f[h],e=+n.getRightValue(t);isNaN(e)||s.data[i].hidden||(u[i]=u[i]||0,r.relativePoints?u[i]=100:u[i]+=e)}))}),t.each(f,function(i){var r=t.min(i),u=t.max(i);n.min=null===n.min?r:Math.min(n.min,r);n.max=null===n.max?u:Math.max(n.max,u)})):t.each(e,function(r,u){var f=i.getDatasetMeta(u);i.isDatasetVisible(u)&&o(f)&&t.each(r.data,function(t,i){var r=+n.getRightValue(t);isNaN(r)||f.data[i].hidden||(null===n.min?n.min=r:r<n.min&&(n.min=r),null===n.max?n.max=r:r>n.max&&(n.max=r),0!==r&&(null===n.minNotZero||r<n.minNotZero)&&(n.minNotZero=r))})});n.min=h(s.min,n.min);n.max=h(s.max,n.max);n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(t.log10(n.min))-1),n.max=Math.pow(10,Math.floor(t.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){var i=this,u=i.options.ticks,f={min:u.min,max:u.max},r=i.ticks=n.Ticks.generators.logarithmic(f,i);i.isHorizontal()||r.reverse();i.max=t.max(r);i.min=t.min(r);u.reverse?(r.reverse(),i.start=i.max,i.end=i.min):(i.start=i.min,i.end=i.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice();n.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(n,t){return+this.getRightValue(this.chart.data.datasets[t].data[n])},getPixelForTick:function(n){return this.getPixelForValue(this.tickValues[n])},getPixelForValue:function(n){var r,e,f,i=this,o=i.start,u=+i.getRightValue(n),s=i.options.ticks;return i.isHorizontal()?(f=t.log10(i.end)-t.log10(o),0===u?e=i.left:(r=i.width,e=i.left+r/f*(t.log10(u)-t.log10(o)))):(r=i.height,0!==o||s.reverse?0===i.end&&s.reverse?(f=t.log10(i.start)-t.log10(i.minNotZero),e=u===i.end?i.top:u===i.minNotZero?i.top+.02*r:i.top+.02*r+.98*r/f*(t.log10(u)-t.log10(i.minNotZero))):0===u?e=s.reverse?i.top:i.bottom:(f=t.log10(i.end)-t.log10(o),r=i.height,e=i.bottom-r/f*(t.log10(u)-t.log10(o))):(f=t.log10(i.end)-t.log10(i.minNotZero),e=u===o?i.bottom:u===i.minNotZero?i.bottom-.02*r:i.bottom-.02*r-.98*r/f*(t.log10(u)-t.log10(i.minNotZero)))),e},getValueForPixel:function(n){var u,r,i=this,f=t.log10(i.end)-t.log10(i.start);return i.isHorizontal()?(r=i.width,u=i.start*Math.pow(10,(n-i.left)*f/r)):(r=i.height,u=Math.pow(10,(i.bottom-n)*f/r)/i.start),u}});n.scaleService.registerScaleType("logarithmic",r,i)}},{}],48:[function(n,t){"use strict";t.exports=function(n){function r(n){var t=n.options;return t.angleLines.display||t.pointLabels.display?n.chart.data.labels.length:0}function f(n){var r=n.options.pointLabels,u=t.getValueOrDefault(r.fontSize,i.defaultFontSize),f=t.getValueOrDefault(r.fontStyle,i.defaultFontStyle),e=t.getValueOrDefault(r.fontFamily,i.defaultFontFamily);return{size:u,style:f,family:e,font:t.fontString(u,f,e)}}function e(n,t,i,r,u){return n===r||n===u?{start:t-i/2,end:t+i/2}:n<r||n>u?{start:t-i-5,end:t}:{start:t,end:t+i+5}}function s(n){return 0===n||180===n?"center":n<180?"left":"right"}function h(n,i,r,u){if(t.isArray(i))for(var e=r.y,o=1.5*u,f=0;f<i.length;++f)n.fillText(i[f],r.x,e),e+=o;else n.fillText(i,r.x,r.y)}function c(n,t,i){90===n||270===n?i.y-=t.h/2:(n>270||n<90)&&(i.y-=t.h)}function u(n){return t.isNumber(n)?n:0}var t=n.helpers,i=n.defaults.global,o={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:n.Ticks.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(n){return n}}},l=n.LinearScaleBase.extend({setDimensions:function(){var n=this,u=n.options,f=u.ticks,r,e;n.width=n.maxWidth;n.height=n.maxHeight;n.xCenter=Math.round(n.width/2);n.yCenter=Math.round(n.height/2);r=t.min([n.height,n.width]);e=t.getValueOrDefault(f.fontSize,i.defaultFontSize);n.drawingArea=u.display?r/2-(e/2+f.backdropPaddingY):r/2},determineDataLimits:function(){var n=this,u=n.chart,i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;t.each(u.data.datasets,function(f,e){if(u.isDatasetVisible(e)){var o=u.getDatasetMeta(e);t.each(f.data,function(t,u){var f=+n.getRightValue(t);isNaN(f)||o.data[u].hidden||(i=Math.min(f,i),r=Math.max(f,r))})}});n.min=i===Number.POSITIVE_INFINITY?0:i;n.max=r===Number.NEGATIVE_INFINITY?0:r;n.handleTickRangeOptions()},getTickLimit:function(){var n=this.options.ticks,r=t.getValueOrDefault(n.fontSize,i.defaultFontSize);return Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*r)))},convertTicksToLabels:function(){var t=this;n.LinearScaleBase.prototype.convertTicksToLabels.call(t);t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(n,t){return+this.getRightValue(this.chart.data.datasets[t].data[n])},fit:function(){var n,i;this.options.pointLabels.display?function(n){var u,c,p,w=f(n),b=Math.min(n.height/2,n.width/2),i={r:n.width,l:0,t:n.height,b:0},s={},l,a,o,k;for(n.ctx.font=w.font,n._pointLabelSizes=[],k=r(n),u=0;u<k;u++){p=n.getPointPosition(u,b);l=n.ctx;a=w.size;o=n.pointLabels[u]||"";c=t.isArray(o)?{w:t.longestText(l,l.font,o),h:o.length*a+1.5*(o.length-1)*a}:{w:l.measureText(o).width,h:a};n._pointLabelSizes[u]=c;var h=n.getIndexAngle(u),d=t.toDegrees(h)%360,v=e(d,p.x,c.w,0,180),y=e(d,p.y,c.h,90,270);v.start<i.l&&(i.l=v.start,s.l=h);v.end>i.r&&(i.r=v.end,s.r=h);y.start<i.t&&(i.t=y.start,s.t=h);y.end>i.b&&(i.b=y.end,s.b=h)}n.setReductions(b,i,s)}(this):(n=this,i=Math.min(n.height/2,n.width/2),n.drawingArea=Math.round(i),n.setCenterPoint(0,0,0,0))},setReductions:function(n,t,i){var r=t.l/Math.sin(i.l),f=Math.max(t.r-this.width,0)/Math.sin(i.r),e=-t.t/Math.cos(i.t),o=-Math.max(t.b-this.height,0)/Math.cos(i.b);r=u(r);f=u(f);e=u(e);o=u(o);this.drawingArea=Math.min(Math.round(n-(r+f)/2),Math.round(n-(e+o)/2));this.setCenterPoint(r,f,e,o)},setCenterPoint:function(n,t,i,r){var u=this,f=u.width-t-u.drawingArea,e=n+u.drawingArea,o=i+u.drawingArea,s=u.height-r-u.drawingArea;u.xCenter=Math.round((e+f)/2+u.left);u.yCenter=Math.round((o+s)/2+u.top)},getIndexAngle:function(n){return n*(2*Math.PI/r(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI/180},getDistanceFromCenterForValue:function(n){var t=this,i;return null===n?0:(i=t.drawingArea/(t.max-t.min),t.options.reverse?(t.max-n)*i:(n-t.min)*i)},getPointPosition:function(n,t){var i=this.getIndexAngle(n)-Math.PI/2;return{x:Math.round(Math.cos(i)*t)+this.xCenter,y:Math.round(Math.sin(i)*t)+this.yCenter}},getPointPositionForValue:function(n,t){return this.getPointPosition(n,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var n=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:n<0&&t<0?t:n>0&&t>0?n:0)},draw:function(){var u=this,o=u.options,v=o.gridLines,n=o.ticks,l=t.getValueOrDefault;if(o.display){var e=u.ctx,a=l(n.fontSize,i.defaultFontSize),y=l(n.fontStyle,i.defaultFontStyle),p=l(n.fontFamily,i.defaultFontFamily),w=t.fontString(a,y,p);t.each(u.ticks,function(f,s){var h,c,p,y;(s>0||o.reverse)&&(h=u.getDistanceFromCenterForValue(u.ticksAsNumbers[s]),c=u.yCenter-h,(v.display&&0!==s&&function(n,i,u,f){var e=n.ctx,h,o,s;if(e.strokeStyle=t.getValueAtIndexOrDefault(i.color,f-1),e.lineWidth=t.getValueAtIndexOrDefault(i.lineWidth,f-1),n.options.gridLines.circular)e.beginPath(),e.arc(n.xCenter,n.yCenter,u,0,2*Math.PI),e.closePath(),e.stroke();else{if(h=r(n),0===h)return;for(e.beginPath(),o=n.getPointPosition(0,u),e.moveTo(o.x,o.y),s=1;s<h;s++)o=n.getPointPosition(s,u),e.lineTo(o.x,o.y);e.closePath();e.stroke()}}(u,v,h,s),n.display)&&(p=l(n.fontColor,i.defaultFontColor),(e.font=w,n.showLabelBackdrop)&&(y=e.measureText(f).width,e.fillStyle=n.backdropColor,e.fillRect(u.xCenter-y/2-n.backdropPaddingX,c-a/2-n.backdropPaddingY,y+2*n.backdropPaddingX,a+2*n.backdropPaddingY)),e.textAlign="center",e.textBaseline="middle",e.fillStyle=p,e.fillText(f,u.xCenter,c)))});(o.angleLines.display||o.pointLabels.display)&&function(n){var u=n.ctx,g=t.getValueOrDefault,o=n.options,l=o.angleLines,b=o.pointLabels,a,v,e,y,p,k,d,w;for(u.lineWidth=l.lineWidth,u.strokeStyle=l.color,a=n.getDistanceFromCenterForValue(o.reverse?n.min:n.max),v=f(n),u.textBaseline="top",e=r(n)-1;e>=0;e--)l.display&&(y=n.getPointPosition(e,a),u.beginPath(),u.moveTo(n.xCenter,n.yCenter),u.lineTo(y.x,y.y),u.stroke(),u.closePath()),b.display&&(p=n.getPointPosition(e,a+5),k=g(b.fontColor,i.defaultFontColor),u.font=v.font,u.fillStyle=k,d=n.getIndexAngle(e),w=t.toDegrees(d),u.textAlign=s(w),c(w,n._pointLabelSizes[e],p),h(u,n.pointLabels[e]||"",p,v.size))}(u)}}});n.scaleService.registerScaleType("radialLinear",l,o)}},{}],49:[function(n,t){"use strict";var i=n(1);i="function"==typeof i?i:window.moment;t.exports=function(n){function r(n,t){var r=n.options.time,u;return"string"==typeof r.parser?i(t,r.parser):"function"==typeof r.parser?r.parser(t):"function"==typeof t.getMonth||"number"==typeof t?i(t):t.isValid&&t.isValid()?t:(u=r.format,"string"!=typeof u&&u.call?(console.warn("options.time.format is deprecated and replaced by options.time.parser."),u(t)):i(t,u))}var t=n.helpers,u={millisecond:{size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{size:1e3,steps:[1,2,5,10,30]},minute:{size:6e4,steps:[1,2,5,10,30]},hour:{size:36e5,steps:[1,2,3,6,12]},day:{size:864e5,steps:[1,2,5]},week:{size:6048e5,maxStep:4},month:{size:2628e6,maxStep:3},quarter:{size:7884e6,maxStep:4},year:{size:3154e7,maxStep:!1}},f;n.Ticks.generators.time=function(n,t){var u,r,f=n.isoWeekday;return"week"===n.unit&&!1!==f?(u=i(t.min).startOf("isoWeek").isoWeekday(f).valueOf(),r=i(t.max).startOf("isoWeek").isoWeekday(f),t.max-r>0&&r.add(1,"week"),r=r.valueOf()):(u=i(t.min).startOf(n.unit).valueOf(),r=i(t.max).startOf(n.unit),t.max-r>0&&r.add(1,n.unit),r=r.valueOf()),function(n,t,r){var u=[],o,f,e;if(n.maxTicks){for(o=n.stepSize,u.push(void 0!==n.min?n.min:r.min),f=i(r.min);f.add(o,n.unit).valueOf()<r.max;)u.push(f.valueOf());e=n.max||r.max;u[u.length-1]!==e&&u.push(e)}return u}(n,0,{min:u,max:r})};f=n.Scale.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");n.Scale.prototype.initialize.call(this)},determineDataLimits:function(){var i,n=this,e=n.options.time,u=Number.MAX_SAFE_INTEGER,f=Number.MIN_SAFE_INTEGER,s=n.chart.data,o={labels:[],datasets:[]};t.each(s.labels,function(t,s){var h=r(n,t);h.isValid()&&(e.round&&h.startOf(e.round),i=h.valueOf(),u=Math.min(i,u),f=Math.max(i,f),o.labels[s]=i)});t.each(s.datasets,function(s,h){var c=[];"object"==typeof s.data[0]&&null!==s.data[0]&&n.chart.isDatasetVisible(h)?t.each(s.data,function(t,o){var s=r(n,n.getRightValue(t));s.isValid()&&(e.round&&s.startOf(e.round),i=s.valueOf(),u=Math.min(i,u),f=Math.max(i,f),c[o]=i)}):c=o.labels.slice();o.datasets[h]=c});n.dataMin=u;n.dataMax=f;n._parsedData=o},buildTicks:function(){var e,o,i=this,f=i.options.time,s=i.dataMin,l=i.dataMax,a,h,c,v;f.min&&(a=r(i,f.min),f.round&&a.round(f.round),e=a.valueOf());f.max&&(o=r(i,f.max).valueOf());h=i.getLabelCapacity(e||s);c=f.unit||function(n,t,i,r){for(var f,h,e,o=Object.keys(u),c=o.length,s=o.indexOf(n);s<c;s++)if(e=o[s],f=u[e],h=f.steps&&f.steps[f.steps.length-1]||f.maxStep,void 0===h||Math.ceil((i-t)/(h*f.size))<=r)break;return e}(f.minUnit,e||s,o||l,h);i.displayFormat=f.displayFormats[c];v=f.stepSize||function(n,t,i,r){var e=u[i],h=e.size,o=Math.ceil((t-n)/h),f=1,c=t-n,l,s;if(e.steps)for(l=e.steps.length,s=0;s<l&&o>r;s++)f=e.steps[s],o=Math.ceil(c/(h*f));else for(;o>r&&r>0;)++f,o=Math.ceil(c/(h*f));return f}(e||s,o||l,c,h);i.ticks=n.Ticks.generators.time({maxTicks:h,min:e,max:o,stepSize:v,unit:c,isoWeekday:f.isoWeekday},{min:s,max:l});i.max=t.max(i.ticks);i.min=t.min(i.ticks)},getLabelForIndex:function(n,t){var i=this,u=i.chart.data.labels&&n<i.chart.data.labels.length?i.chart.data.labels[n]:"",f=i.chart.data.datasets[t].data[n];return null!==f&&"object"==typeof f&&(u=i.getRightValue(f)),i.options.time.tooltipFormat&&(u=r(i,u).format(i.options.time.tooltipFormat)),u},tickFormatFunction:function(n,i,r){var u=n.format(this.displayFormat),f=this.options.ticks,e=t.getValueOrDefault(f.callback,f.userCallback);return e?e(u,i,r):u},convertTicksToLabels:function(){var n=this;n.ticksAsTimestamps=n.ticks;n.ticks=n.ticks.map(function(n){return i(n)}).map(n.tickFormatFunction,n)},getPixelForOffset:function(n){var t=this,i=t.max-t.min,r=i?(n-t.min)/i:0,u,f;return t.isHorizontal()?(u=t.width*r,t.left+Math.round(u)):(f=t.height*r,t.top+Math.round(f))},getPixelForValue:function(n,t,i){var u=null;if(void 0!==t&&void 0!==i&&(u=this._parsedData.datasets[i][t]),null===u&&(n&&n.isValid||(n=r(this,this.getRightValue(n))),n&&n.isValid&&n.isValid()&&(u=n.valueOf())),null!==u)return this.getPixelForOffset(u)},getPixelForTick:function(n){return this.getPixelForOffset(this.ticksAsTimestamps[n])},getValueForPixel:function(n){var t=this,r=t.isHorizontal()?t.width:t.height,u=(n-(t.isHorizontal()?t.left:t.top))/r;return i(t.min+u*(t.max-t.min))},getLabelWidth:function(i){var r=this.options.ticks,u=this.ctx.measureText(i).width,f=Math.cos(t.toRadians(r.maxRotation)),e=Math.sin(t.toRadians(r.maxRotation));return u*f+t.getValueOrDefault(r.fontSize,n.defaults.global.defaultFontSize)*e},getLabelCapacity:function(n){var t=this,r,u;return t.displayFormat=t.options.time.displayFormats.millisecond,r=t.tickFormatFunction(i(n),0,[]),u=t.getLabelWidth(r),(t.isHorizontal()?t.width:t.height)/u}});n.scaleService.registerScaleType("time",f,{position:"bottom",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:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}})}},{1:1}]},{},[7])(7)}),function(n){WOW=function(){return{init:function(){function u(){var u=window.innerHeight,r=window.scrollY;n(".wow").each(function(){var s,e,f,o;"visible"!=n(this).css("visibility")&&(u+r-100>t(this)&&r<t(this)||u+r-100>t(this)+n(this).height()&&r<t(this)+n(this).height()||u+r==n(document).height()&&t(this)+100>n(document).height())&&(s=n(this).index(".wow"),e=n(this).attr("data-wow-delay"),e?(e=n(this).attr("data-wow-delay").slice(0,-1),f=this,parseFloat(e),n(f).addClass("animated"),n(f).css({visibility:"visible"}),n(f).css({"animation-delay":e}),n(f).css({"animation-name":i[s]}),o=1e3*n(this).css("animation-duration").slice(0,-1),n(this).attr("data-wow-delay")&&(o+=1e3*n(this).attr("data-wow-delay").slice(0,-1)),f=this,setTimeout(function(){n(f).removeClass("animated")},o)):(n(this).addClass("animated"),n(this).css({visibility:"visible"}),n(this).css({"animation-name":i[s]}),o=1e3*n(this).css("animation-duration").slice(0,-1),f=this,setTimeout(function(){n(f).removeClass("animated")},o)))})}function t(n){var r=n.getBoundingClientRect(),t=document.body,i=document.documentElement,u=window.pageYOffset||i.scrollTop||t.scrollTop,f=i.clientTop||t.clientTop||0,e=r.top+u-f;return Math.round(e)}var i=[],r=1;n(".wow").each(function(){n(this).css({visibility:"hidden"});i[n(this).index(".wow")]=n(this).css("animation-name");n(this).css({"animation-name":"none"})});n(window).scroll(function(){var f,i;r?(f=window.innerHeight,i=window.scrollY,n(".wow.animated").each(function(){var r,u;f+i-100>t(this)&&i>t(this)+100||f+i-100<t(this)&&i<t(this)+100||t(this)+n(this).height>n(document).height()-100?(n(this).removeClass("animated"),n(this).css({"animation-name":"none"}),n(this).css({visibility:"hidden"})):(r=1e3*n(this).css("animation-duration").slice(0,-1),n(this).attr("data-wow-delay")&&(r+=1e3*n(this).attr("data-wow-delay").slice(0,-1)),u=this,setTimeout(function(){n(u).removeClass("animated")},r))}),u(),r--):u()});n(".wow").each(function(){var r=n(this).index(".wow"),t=n(this).attr("data-wow-delay");t?(t=n(this).attr("data-wow-delay").slice(0,-1),parseFloat(t),n(this).addClass("animated"),n(this).css({visibility:"visible"}),n(this).css({"animation-delay":t+"s"}),n(this).css({"animation-name":i[r]})):(n(this).addClass("animated"),n(this).css({visibility:"visible"}),n(this).css({"animation-name":i[r]}))})}}}}(jQuery);OFFSET_TOP=50;$(window).scroll(function(){$(".navbar").length&&($(".navbar").offset().top>OFFSET_TOP?$(".scrolling-navbar").addClass("top-nav-collapse"):$(".scrolling-navbar").removeClass("top-nav-collapse"))}),function(n,t){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.apply(n)}):"object"==typeof exports?module.exports=t.call(n):n.Waves=t.call(n)}("object"==typeof global?global:this,function(){"use strict";function o(n){var t=typeof n;return"function"===t||"object"===t&&!!n}function r(n){var t,i=f.call(n);return"[object String]"===i?c(n):o(n)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(i)&&n.hasOwnProperty("length")?n:o(t=n)&&t.nodeType>0?[n]:[]}function s(n){var t,i,r={top:0,left:0},u=n&&n.ownerDocument;return t=u.documentElement,void 0!==n.getBoundingClientRect&&(r=n.getBoundingClientRect()),i=function(n){return null!==(t=n)&&t===t.window?n:9===n.nodeType&&n.defaultView;var t}(u),{top:r.top+i.pageYOffset-t.clientTop,left:r.left+i.pageXOffset-t.clientLeft}}function u(n){var i="",t;for(t in n)n.hasOwnProperty(t)&&(i+=t+":"+n[t]+";");return i}function a(t,i,r){var f;if(r){r.classList.remove("waves-rippling");var h=r.getAttribute("data-x"),c=r.getAttribute("data-y"),e=r.getAttribute("data-scale"),o=r.getAttribute("data-translate"),s=350-(Date.now()-Number(r.getAttribute("data-hold")));s<0&&(s=0);"mousemove"===t.type&&(s=150);f="mousemove"===t.type?2500:n.duration;setTimeout(function(){var n={top:c+"px",left:h+"px",opacity:"0","-webkit-transition-duration":f+"ms","-moz-transition-duration":f+"ms","-o-transition-duration":f+"ms","transition-duration":f+"ms","-webkit-transform":e+" "+o,"-moz-transform":e+" "+o,"-ms-transform":e+" "+o,"-o-transform":e+" "+o,transform:e+" "+o};r.setAttribute("style",u(n));setTimeout(function(){try{i.removeChild(r)}catch(n){return!1}},f)},s)}}function h(t){var r=function(n){if(!1===i.allowEvent(n))return null;for(var r=null,t=n.target||n.srcElement;null!==t.parentElement;){if(t.classList.contains("waves-effect")&&!(t instanceof SVGElement)){r=t;break}t=t.parentElement}return r}(t);if(null!==r){if(r.disabled||r.getAttribute("disabled")||r.classList.contains("disabled"))return;if(i.registerEvent(t),"touchstart"===t.type&&n.delay){var o=!1,u=setTimeout(function(){u=null;n.show(t,r)},n.delay),f=function(i){u&&(clearTimeout(u),u=null,n.show(t,r));o||(o=!0,n.hide(i,r))};r.addEventListener("touchmove",function(n){u&&(clearTimeout(u),u=null);f(n)},!1);r.addEventListener("touchend",f,!1);r.addEventListener("touchcancel",f,!1)}else n.show(t,r),e&&(r.addEventListener("touchend",n.hide,!1),r.addEventListener("touchcancel",n.hide,!1)),r.addEventListener("mouseup",n.hide,!1),r.addEventListener("mouseleave",n.hide,!1)}}var t=t||{},c=document.querySelectorAll.bind(document),f=Object.prototype.toString,e="ontouchstart"in window,n={duration:750,delay:200,show:function(t,i,r){var e,l,o,f,a;if(2===t.button)return!1;i=i||this;e=document.createElement("div");e.className="waves-ripple waves-rippling";i.appendChild(e);var v=s(i),h=0,c=0;"touches"in t&&t.touches.length?(h=t.touches[0].pageY-v.top,c=t.touches[0].pageX-v.left):(h=t.pageY-v.top,c=t.pageX-v.left);c=c>=0?c:0;h=h>=0?h:0;l="scale("+i.clientWidth/100*3+")";o="translate(0,0)";r&&(o="translate("+r.x+"px, "+r.y+"px)");e.setAttribute("data-hold",Date.now());e.setAttribute("data-x",c);e.setAttribute("data-y",h);e.setAttribute("data-scale",l);e.setAttribute("data-translate",o);f={top:h+"px",left:c+"px"};e.classList.add("waves-notransition");e.setAttribute("style",u(f));e.classList.remove("waves-notransition");f["-webkit-transform"]=l+" "+o;f["-moz-transform"]=l+" "+o;f["-ms-transform"]=l+" "+o;f["-o-transform"]=l+" "+o;f.transform=l+" "+o;f.opacity="1";a="mousemove"===t.type?2500:n.duration;f["-webkit-transition-duration"]=a+"ms";f["-moz-transition-duration"]=a+"ms";f["-o-transition-duration"]=a+"ms";f["transition-duration"]=a+"ms";e.setAttribute("style",u(f))},hide:function(n,t){for(var r=(t=t||this).getElementsByClassName("waves-rippling"),i=0,u=r.length;i<u;i++)a(n,t,r[i])}},l={input:function(n){var i=n.parentNode,t,r;"div"===i.tagName.toLowerCase()&&i.classList.contains("waves-effect")||(t=document.createElement("div"),t.className="waves-input-wrapper",i.replaceChild(t,n),t.appendChild(n),r=window.getComputedStyle(n,null),r.color,r.backgroundColor)},img:function(n){var t=n.parentNode,i;"i"===t.tagName.toLowerCase()&&t.classList.contains("waves-effect")||(i=document.createElement("i"),t.replaceChild(i,n),i.appendChild(n))}},i={touches:0,allowEvent:function(n){var t=!0;return/^(mousedown|mousemove)$/.test(n.type)&&i.touches&&(t=!1),t},registerEvent:function(n){var t=n.type;"touchstart"===t?i.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout(function(){i.touches&&(i.touches-=1)},500)}};return t.init=function(t){var r=document.body;"duration"in(t=t||{})&&(n.duration=t.duration);"delay"in t&&(n.delay=t.delay);e&&(r.addEventListener("touchstart",h,!1),r.addEventListener("touchcancel",i.registerEvent,!1),r.addEventListener("touchend",i.registerEvent,!1));r.addEventListener("mousedown",h,!1)},t.attach=function(n,t){var i,e,u,o;for(n=r(n),"[object Array]"===f.call(t)&&(t=t.join(" ")),t=t?" "+t:"",u=0,o=n.length;u<o;u++)e=(i=n[u]).tagName.toLowerCase(),-1!==["input","img"].indexOf(e)&&(l[e](i),i=i.parentElement),-1===i.className.indexOf("waves-effect")&&(i.className+=" waves-effect"+t)},t.ripple=function(t,i){var l=(t=r(t)).length;if((i=i||{}).wait=i.wait||0,i.position=i.position||null,l)for(var u,e,o,f={},h=0,c={type:"mousedown",button:1},a=function(t,i){return function(){n.hide(t,i)}};h<l;h++)(u=t[h],e=i.position||{x:u.clientWidth/2,y:u.clientHeight/2},o=s(u),f.x=o.left+e.x,f.y=o.top+e.y,c.pageX=f.x,c.pageY=f.y,n.show(c,u),i.wait>=0&&null!==i.wait)&&setTimeout(a({type:"mouseup",button:1},u),i.wait)},t.calm=function(t){for(var u={type:"mouseup",button:1},i=0,f=(t=r(t)).length;i<f;i++)n.hide(u,t[i])},t.displayEffect=function(n){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect");t.init(n)},t});Waves.attach(".btn:not(.btn-flat), .btn-floating",["waves-light"]);Waves.attach(".btn-flat",["waves-effect"]);Waves.attach(".view a .mask",["waves-light"]);Waves.attach(".waves-light",["waves-light"]);Waves.attach(".navbar-nav a:not(.navbar-brand), .nav-icons li a, .navbar input, .nav-tabs .nav-item:not(.dropdown)",["waves-light"]);Waves.attach(".pager li a",["waves-light"]);Waves.attach(".pagination .page-item .page-link",["waves-effect"]);Waves.init(),function(n){n(document).ready(function(){var t=["text","password","email","url","tel","number","search","search-md"].map(function(n){return"input[type="+n+"]"}).join(", ")+", textarea",i=function(n){var t=n.siblings("label, i"),i=n.val().length,r=n.attr("placeholder");t[(i||r?"add":"remove")+"Class"]("active")},r=function(n){var r,t;if(n.hasClass("validate")){var i=n.val(),u=!i.length,f=!n[0].validity.badInput;u&&f?n.removeClass("valid").removeClass("invalid"):(r=n.is(":valid"),t=Number(n.attr("length"))||0,r&&(!t||t>i.length)?n.removeClass("invalid").addClass("valid"):n.removeClass("valid").addClass("invalid"))}},u=function(){var t=n(void 0),f;if(t.val().length){var i=n(".hiddendiv"),r=t.css("font-family"),u=t.css("font-size");u&&i.css("font-size",u);r&&i.css("font-family",r);"off"===t.attr("wrap")&&i.css("overflow-wrap","normal").css("white-space","pre");i.text(t.val()+"\n");f=i.html().replace(/\n/g,"<br>");i.html(f);i.css("width",t.is(":visible")?t.width():n(window).width()/2);t.css("height",i.height())}};n(t).each(function(t,r){var u=n(r),f=u.siblings("label, i");i(u);r.validity.badInput&&f.addClass("active")});n(document).on("focus",t,function(t){n(t.target).siblings("label, i").addClass("active")});n(document).on("blur",t,function(t){var i=n(t.target),u=!i.val(),f=!t.target.validity.badInput,e=void 0===i.attr("placeholder");u&&f&&e&&i.siblings("label, i").removeClass("active");r(i)});n(document).on("change",t,function(t){var u=n(t.target);i(u);r(u)});n("input[autofocus]").siblings("label, i").addClass("active");n(document).on("reset",function(i){var r=n(i.target);r.is("form")&&(r.find(t).removeClass("valid").removeClass("invalid").each(function(t,i){var r=n(i),u=!r.val(),f=!r.attr("placeholder");u&&f&&r.siblings("label, i").removeClass("active")}),r.find("select.initialized").each(function(t,i){var r=n(i),f=r.siblings("input.select-dropdown"),u=r.children("[selected]").val();r.val(u);f.val(u)}))});n(".hiddendiv").first().length||($hiddenDiv=n('<div class="hiddendiv common"><\/div>'),n("body").append($hiddenDiv));n(".materialize-textarea").each(u);n("body").on("keyup keydown",".materialize-textarea",u)})}(jQuery);$("body").on("shown.bs.modal",".modal",function(){$(".modal-backdrop").length||($modal_dialog=$(this).children(".modal-dialog"),$modal_dialog.hasClass("modal-side")&&($(this).addClass("modal-scrolling"),$("body").addClass("scrollable")),$modal_dialog.hasClass("modal-frame")&&($(this).addClass("modal-content-clickable"),$("body").addClass("scrollable")))});$("body").on("hidden.bs.modal",".modal",function(){$("body").removeClass("scrollable")}),function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()}(this,function(){"use strict";function ut(n){return n&&"[object Function]"==={}.toString.call(n)}function r(n,t){if(1!==n.nodeType)return[];var i=window.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function o(n){if(!n||-1!==["HTML","BODY","#document"].indexOf(n.nodeName))return window.document.body;var t=r(n),i=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll)/.test(i+f+u)?n:o(y(n))}function u(n){var t=n&&n.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===r(t,"position")?u(t):t:window.document.documentElement}function ri(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||u(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function h(n,t){var i,f;if(!n||!n.nodeType||!t||!t.nodeType)return window.document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?ri(i)?i:u(i):(f=p(n),f.host?h(f.host,t):h(n,p(t).host))}function f(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=window.document.documentElement,u=window.document.scrollingElement||r,u[t]):n[t]}function ui(n,t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=f(t,"top"),u=f(t,"left"),i=e?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ft(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return+n["border"+i+"Width"].split("px")[0]+ +n["border"+r+"Width"].split("px")[0]}function et(n,t,r,u){return i(t["offset"+n],t["scroll"+n],r["client"+n],r["offset"+n],r["scroll"+n],l()?r["offset"+n]+u["margin"+("Height"===n?"Top":"Left")]+u["margin"+("Height"===n?"Bottom":"Right")]:0)}function ot(){var t=window.document.body,n=window.document.documentElement,i=l()&&window.getComputedStyle(n);return{height:et("Height",t,n,i),width:et("Width",t,n,i)}}function t(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var i={},e,o,c;if(l())try{i=n.getBoundingClientRect();e=f(n,"top");o=f(n,"left");i.top+=e;i.left+=o;i.bottom+=e;i.right+=o}catch(n){}else i=n.getBoundingClientRect();var u={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===n.nodeName?ot():{},v=a.width||n.clientWidth||u.right-u.left,y=a.height||n.clientHeight||u.bottom-u.top,s=n.offsetWidth-v,h=n.offsetHeight-y;return(s||h)&&(c=r(n),s-=ft(c,"x"),h-=ft(c,"y"),u.width-=s,u.height-=h),t(u)}function b(n,i){var y=l(),b="HTML"===i.nodeName,f=w(n),p=w(i),c=o(n),e=r(i),a=+e.borderTopWidth.split("px")[0],v=+e.borderLeftWidth.split("px")[0],u=t({top:f.top-p.top-a,left:f.left-p.left-v,width:f.width,height:f.height}),s,h;return(u.marginTop=0,u.marginLeft=0,!y&&b)&&(s=+e.marginTop.split("px")[0],h=+e.marginLeft.split("px")[0],u.top-=a-s,u.bottom-=a-s,u.left-=v-h,u.right-=v-h,u.marginTop=s,u.marginLeft=h),(y?i.contains(c):i===c&&"BODY"!==c.nodeName)&&(u=ui(u,i)),u}function fi(n){var r=window.document.documentElement,u=b(n,r),e=i(r.clientWidth,window.innerWidth||0),o=i(r.clientHeight,window.innerHeight||0),s=f(r),h=f(r,"left"),c={top:s-u.top+u.marginTop,left:h-u.left+u.marginLeft,width:e,height:o};return t(c)}function st(n){var t=n.nodeName;return"BODY"===t||"HTML"===t?!1:"fixed"===r(n,"position")||st(y(n))}function k(n,t,i,r){var u={top:0,left:0},s=h(n,t),e,f;if("viewport"===r)u=fi(s);else if("scrollParent"===r?(e=o(y(n)),"BODY"===e.nodeName&&(e=window.document.documentElement)):e="window"===r?window.document.documentElement:r,f=b(e,s),"HTML"!==e.nodeName||st(s))u=f;else{var c=ot(),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function ei(n){var t=n.width,i=n.height;return t*i}function ht(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:ei(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function ct(n,t,i){var r=h(t,i);return b(i,r)}function lt(n){var t=window.getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function c(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function at(n,t,i){i=i.split("-")[0];var r=lt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[c(f)],e}function s(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function oi(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=s(n,function(n){return n[t]===i});return n.indexOf(r)}function vt(n,i,r){var u=void 0===r?n:n.slice(0,oi(n,"name",r));return u.forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n.function||n.fn;n.enabled&&ut(r)&&(i.offsets.popper=t(i.offsets.popper),i.offsets.reference=t(i.offsets.reference),i=r(i,n))}),i}function si(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=ct(this.state,this.popper,this.reference);n.placement=ht(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.offsets.popper=at(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=vt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function yt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function pt(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length-1;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof window.document.body.style[r])return r;return null}function hi(){return this.state.isDestroyed=!0,yt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[pt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function wt(n,t,i,r){var f="BODY"===n.nodeName,u=f?window:n;u.addEventListener(t,i,{passive:!0});f||wt(o(u.parentNode),t,i,r);r.push(u)}function ci(n,t,i,r){i.updateBound=r;window.addEventListener("resize",i.updateBound,{passive:!0});var u=o(n);return wt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function li(){this.state.eventsEnabled||(this.state=ci(this.reference,this.options,this.state,this.scheduleUpdate))}function ai(n,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function vi(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=ai(this.reference,this.state))}function d(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function g(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&d(t[i])&&(r="px");n.style[i]=t[i]+r})}function yi(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function bt(n,t,i){var u=s(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function pi(n){return"end"===n?"start":"start"===n?"end":n}function kt(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=it.indexOf(n),i=it.slice(t+1).concat(it.slice(0,t));return r?i.reverse():i}function wi(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=t(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function bi(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(s(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return wi(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){d(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}function ki(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=d(+f)?[+f,0]:bi(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}for(var dt=Math.min,e=Math.floor,i=Math.max,di=["native code","[object MutationObserverConstructor]"],gi=function(n){return di.some(function(t){return-1<(n||"").toString().indexOf(t)})},gt="undefined"!=typeof window,ni=["Edge","Trident","Firefox"],ti=0,nt=0;nt<ni.length;nt+=1)if(gt&&0<=navigator.userAgent.indexOf(ni[nt])){ti=1;break}var tt,nr=gt&&gi(window.MutationObserver),tr=nr?function(n){var t=!1,i=0,r=document.createElement("span"),u=new MutationObserver(function(){n();t=!1});return u.observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",i),++i)}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ti))}},l=function(){return void 0==tt&&(tt=-1!==navigator.appVersion.indexOf("MSIE 10")),tt},ir=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},rr=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),a=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},ii=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],it=ii.slice(3),rt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;ir(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=tr(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i.jquery?i[0]:i;this.popper=r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ut(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return rr(t,[{key:"update",value:function(){return si.call(this)}},{key:"destroy",value:function(){return hi.call(this)}},{key:"enableEventListeners",value:function(){return li.call(this)}},{key:"disableEventListeners",value:function(){return vi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ii,v.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,c=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,o=e.popper,s=-1!==["bottom","top"].indexOf(c),i=s?"left":"top",h=s?"width":"height",l={start:a({},i,r[i]),end:a({},i,r[i]+r[h]-o[h])};t.offsets.popper=n({},o,l[f])}return t}},offset:{order:200,enabled:!0,fn:ki,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,r){var o=r.boundariesElement||u(t.instance.popper),e;t.instance.reference===o&&(o=u(o));e=k(t.instance.popper,t.instance.reference,r.padding,o);r.boundaries=e;var s=r.priority,f=t.offsets.popper,h={primary:function(n){var t=f[n];return f[n]<e[n]&&!r.escapeWithReference&&(t=i(f[n],e[n])),a({},n,t)},secondary:function(n){var t="right"===n?"left":"top",i=f[t];return f[n]>e[n]&&!r.escapeWithReference&&(i=dt(f[t],e[n]-("right"===n?f.width:f.height))),a({},t,i)}};return s.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";f=n({},f,h[i](t))}),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var s=n.offsets,u=s.popper,i=s.reference,h=n.placement.split("-")[0],r=e,f=-1!==["top","bottom"].indexOf(h),o=f?"right":"bottom",t=f?"left":"top",c=f?"width":"height";return u[o]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[c]),u[t]>r(i[o])&&(n.offsets.popper[t]=r(i[o])),n}},arrow:{order:500,enabled:!0,fn:function(n,u){var e;if(!bt(n.instance.modifiers,"arrow","keepTogether"))return n;if(e=u.element,"string"==typeof e){if(e=n.instance.popper.querySelector(e),!e)return n}else if(!n.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var w=n.placement.split("-")[0],y=n.offsets,h=y.popper,o=y.reference,c=-1!==["left","right"].indexOf(w),a=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),b=c?"left":"top",l=c?"bottom":"right",s=lt(e)[a];o[l]-s<h[f]&&(n.offsets.popper[f]-=h[f]-(o[l]-s));o[f]+s>h[l]&&(n.offsets.popper[f]+=o[f]+s-h[l]);var k=o[f]+o[a]/2-s/2,d=r(n.instance.popper,"margin"+p).replace("px",""),v=k-t(n.offsets.popper)[f]-d;return v=i(dt(h[a]-s,v),0),n.arrowElement=e,n.offsets.arrow={},n.offsets.arrow[f]=Math.round(v),n.offsets.arrow[b]="",n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(yt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var o=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement),r=t.placement.split("-")[0],s=c(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case rt.FLIP:f=[r,s];break;case rt.CLOCKWISE:f=kt(r);break;case rt.COUNTERCLOCKWISE:f=kt(r,!0);break;default:f=i.behavior}return f.forEach(function(h,l){if(r!==h||f.length===l+1)return t;r=t.placement.split("-")[0];s=c(r);var v=t.offsets.popper,y=t.offsets.reference,a=e,w="left"===r&&a(v.right)>a(y.left)||"right"===r&&a(v.left)<a(y.right)||"top"===r&&a(v.bottom)>a(y.top)||"bottom"===r&&a(v.top)<a(y.bottom),b=a(v.left)<a(o.left),k=a(v.right)>a(o.right),d=a(v.top)<a(o.top),g=a(v.bottom)>a(o.bottom),nt="left"===r&&b||"right"===r&&k||"top"===r&&d||"bottom"===r&&g,p=-1!==["top","bottom"].indexOf(r),tt=!!i.flipVariations&&(p&&"start"===u&&b||p&&"end"===u&&k||!p&&"start"===u&&d||!p&&"end"===u&&g);(w||nt||tt)&&(t.flipped=!0,(w||nt)&&(r=f[l+1]),tt&&(u=pi(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,at(t.instance.popper,t.offsets.reference,t.placement)),t=vt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var u=n.placement,i=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return r[e?"left":"top"]=o[i]-(s?r[e?"width":"height"]:0),n.placement=c(u),n.offsets.popper=t(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!bt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=s(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(t,i){var g=i.x,nt=i.y,f=t.offsets.popper,l=s(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,b,k,d;void 0!==l&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,v,tt=void 0===l?i.gpuAcceleration:l,it=u(t.instance.popper),y=w(it),r={position:f.position},c={left:e(f.left),top:e(f.top),bottom:e(f.bottom),right:e(f.right)},o="bottom"===g?"top":"bottom",h="right"===nt?"left":"right",p=pt("transform");return(v="bottom"==o?-y.height+c.bottom:c.top,a="right"==h?-y.width+c.right:c.left,tt&&p)?(r[p]="translate3d("+a+"px, "+v+"px, 0)",r[o]=0,r[h]=0,r.willChange="transform"):(b="bottom"==o?-1:1,k="right"==h?-1:1,r[o]=v*b,r[h]=a*k,r.willChange=o+", "+h),d={"x-placement":t.placement},t.attributes=n({},d,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return g(n.instance.popper,n.styles),yi(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&g(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=ct(u,t,n),e=ht(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),g(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},v});$(document).ready(function(){$(".mobile-menu-toggle").click(function(){$(".mobile-menu").toggleClass("open");$(this).toggleClass("open")});$("#shop-list").click(function(n){n.stopPropagation();$(this).toggleClass("arrow-down");$(this).toggleClass("arrow-up");$("#shop-drop-list").toggle();$("#explore-drop-list").hide();$("#support-drop-list").hide()});$("#explore-list").click(function(n){n.stopPropagation();$(this).toggleClass("arrow-down");$(this).toggleClass("arrow-up");$("#explore-drop-list").toggle();$("#shop-drop-list").hide();$("#support-drop-list").hide()});$("#support-list").click(function(n){n.stopPropagation();$(this).toggleClass("arrow-down");$(this).toggleClass("arrow-up");$("#support-drop-list").toggle();$("#shop-drop-list").hide();$("#explore-drop-list").hide()})})