mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 18:44:31 +00:00
2 lines
556 KiB
JavaScript
Vendored
2 lines
556 KiB
JavaScript
Vendored
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}({"+ItH":function(t,e,n){"use strict";t.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.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(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}},t.Chart=t,t}},"/5sW":function(t,e,n){"use strict";(function(t){function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function a(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===er.call(t)}function l(t){return"[object RegExp]"===er.call(t)}function c(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function p(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function g(t,e){return rr.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function y(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function _(t,e){for(var n in e)t[n]=e[n];return t}function b(t){for(var e={},n=0;n<t.length;n++)t[n]&&_(e,t[n]);return e}function x(t,e,n){}function w(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return w(t,e[n])});if(i||o)return!1;var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return w(t[n],e[n])})}catch(t){return!1}}function C(t,e){for(var n=0;n<t.length;n++)if(w(t[n],e))return n;return-1}function k(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function S(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function T(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function A(t){if(!vr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function D(t,e,n){if(pr.errorHandler)pr.errorHandler.call(null,t,e,n);else{if(!_r||"undefined"==typeof console)throw t;console.error(t)}}function E(t){return"function"==typeof t&&/native code/.test(t.toString())}function O(t){jr.target&&Fr.push(jr.target),jr.target=t}function M(){jr.target=Fr.pop()}function I(t,e,n){t.__proto__=e}function P(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];T(t,o,e[o])}}function L(t,e){if(s(t)){var n;return g(t,"__ob__")&&t.__ob__ instanceof zr?n=t.__ob__:Br.shouldConvert&&!Ir()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new zr(t)),e&&n&&n.vmCount++,n}}function N(t,e,n,r,i){var o=new jr,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set,l=!i&&L(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return jr.target&&(o.depend(),l&&l.dep.depend(),Array.isArray(e)&&F(e)),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||(u?u.call(t,e):n=e,l=!i&&L(e),o.notify())}})}}function R(t,e,n){if(Array.isArray(t)&&c(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(g(t,e))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(N(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function j(t,e){if(Array.isArray(t)&&c(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}function F(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&F(e)}function W(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),a=0;a<o.length;a++)n=o[a],r=t[n],i=e[n],g(t,n)?u(r)&&u(i)&&W(r,i):R(t,n,i);return t}function H(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?W(r,i):i}:void 0:e?t?function(){return W("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function V(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function B(t,e){var n=Object.create(t||null);return e?_(n,e):n}function z(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(i=or(r),o[i]={type:null});else if(u(e))for(var a in e)r=e[a],i=or(a),o[i]=u(r)?r:{type:r};t.props=o}}function U(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},r=0;r<e.length;r++)n[e[r]]=e[r]}function $(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function Y(t,e,n){function r(r){var i=Ur[r]||$r;u[r]=i(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),z(e),U(e),$(e);var i=e.extends;if(i&&(t=Y(t,i,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=Y(t,e.mixins[o],n);var s,u={};for(s in t)r(s);for(s in e)g(t,s)||r(s);return u}function q(t,e,n,r){if("string"==typeof n){var i=t[e];if(g(i,n))return i[n];var o=or(n);if(g(i,o))return i[o];var a=ar(o);if(g(i,a))return i[a];return i[n]||i[o]||i[a]}}function G(t,e,n,r){var i=e[t],o=!g(n,t),a=n[t];if(Q(Boolean,i.type)&&(o&&!g(i,"default")?a=!1:Q(String,i.type)||""!==a&&a!==ur(t)||(a=!0)),void 0===a){a=J(r,i,t);var s=Br.shouldConvert;Br.shouldConvert=!0,L(a),Br.shouldConvert=s}return a}function J(t,e,n){if(g(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==K(e.type)?r.call(t):r}}function K(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Q(t,e){if(!Array.isArray(e))return K(e)===K(t);for(var n=0,r=e.length;n<r;n++)if(K(e[n])===K(t))return!0;return!1}function X(t){return new Yr(void 0,void 0,void 0,String(t))}function Z(t){var e=new Yr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.isCloned=!0,e}function tt(t){for(var e=t.length,n=new Array(e),r=0;r<e;r++)n[r]=Z(t[r]);return n}function et(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function nt(t,e,r,i,o){var a,s,u,l;for(a in t)s=t[a],u=e[a],l=Kr(a),n(s)||(n(u)?(n(s.fns)&&(s=t[a]=et(s)),r(l.name,s,l.once,l.capture,l.passive)):s!==u&&(u.fns=s,t[a]=u));for(a in e)n(t[a])&&(l=Kr(a),i(l.name,e[a],l.capture))}function rt(t,e,o){function a(){o.apply(this,arguments),p(s.fns,a)}var s,u=t[e];n(u)?s=et([a]):r(u.fns)&&i(u.merged)?(s=u,s.fns.push(a)):s=et([u,a]),s.merged=!0,t[e]=s}function it(t,e,i){var o=e.options.props;if(!n(o)){var a={},s=t.attrs,u=t.props;if(r(s)||r(u))for(var l in o){var c=ur(l);ot(a,u,l,c,!0)||ot(a,s,l,c,!1)}return a}}function ot(t,e,n,i,o){if(r(e)){if(g(e,n))return t[n]=e[n],o||delete e[n],!0;if(g(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function at(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function st(t){return a(t)?[X(t)]:Array.isArray(t)?lt(t):void 0}function ut(t){return r(t)&&r(t.text)&&o(t.isComment)}function lt(t,e){var o,s,u,l=[];for(o=0;o<t.length;o++)s=t[o],n(s)||"boolean"==typeof s||(u=l[l.length-1],Array.isArray(s)?l.push.apply(l,lt(s,(e||"")+"_"+o)):a(s)?ut(u)?u.text+=String(s):""!==s&&l.push(X(s)):ut(s)&&ut(u)?l[l.length-1]=X(u.text+s.text):(i(t._isVList)&&r(s.tag)&&n(s.key)&&r(e)&&(s.key="__vlist"+e+"_"+o+"__"),l.push(s)));return l}function ct(t,e){return t.__esModule&&t.default&&(t=t.default),s(t)?e.extend(t):t}function ft(t,e,n,r,i){var o=Jr();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function dt(t,e,o){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var a=t.contexts=[o],u=!0,l=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},c=k(function(n){t.resolved=ct(n,e),u||l()}),f=k(function(e){r(t.errorComp)&&(t.error=!0,l())}),d=t(c,f);return s(d)&&("function"==typeof d.then?n(t.resolved)&&d.then(c,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(c,f),r(d.error)&&(t.errorComp=ct(d.error,e)),r(d.loading)&&(t.loadingComp=ct(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,l())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(t.resolved)&&f(null)},d.timeout))),u=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(o)}function ht(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&r(n.componentOptions))return n}}function pt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&mt(t,e)}function gt(t,e,n){n?Gr.$once(t,e):Gr.$on(t,e)}function vt(t,e){Gr.$off(t,e)}function mt(t,e,n){Gr=t,nt(e,n||{},gt,vt,t)}function yt(t,e){var n={};if(!t)return n;for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];if(a.context!==e&&a.functionalContext!==e||!a.data||null==a.data.slot)r.push(a);else{var s=a.data.slot,u=n[s]||(n[s]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return r.every(_t)||(n.default=r),n}function _t(t){return t.isComment||" "===t.text}function bt(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?bt(t[n],e):e[t[n].key]=t[n].fn;return e}function xt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function wt(t,e,n){t.$el=e,t.$options.render||(t.$options.render=Jr),At(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},t._watcher=new oi(t,r,x),n=!1,null==t.$vnode&&(t._isMounted=!0,At(t,"mounted")),t}function Ct(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==gr);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data&&r.data.attrs,t.$listeners=n,e&&t.$options.props){Br.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],u=0;u<s.length;u++){var l=s[u];a[l]=G(l,t.$options.props,e,t)}Br.shouldConvert=!0,t.$options.propsData=e}if(n){var c=t.$options._parentListeners;t.$options._parentListeners=n,mt(t,n,c)}o&&(t.$slots=yt(i,r.context),t.$forceUpdate())}function kt(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function St(t,e){if(e){if(t._directInactive=!1,kt(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)St(t.$children[n]);At(t,"activated")}}function Tt(t,e){if(!(e&&(t._directInactive=!0,kt(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Tt(t.$children[n]);At(t,"deactivated")}}function At(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){D(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}function Dt(){ri=Xr.length=Zr.length=0,ti={},ei=ni=!1}function Et(){ni=!0;var t,e;for(Xr.sort(function(t,e){return t.id-e.id}),ri=0;ri<Xr.length;ri++)t=Xr[ri],e=t.id,ti[e]=null,t.run();var n=Zr.slice(),r=Xr.slice();Dt(),It(n),Ot(r),Pr&&pr.devtools&&Pr.emit("flush")}function Ot(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&At(r,"updated")}}function Mt(t){t._inactive=!1,Zr.push(t)}function It(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,St(t[e],!0)}function Pt(t){var e=t.id;if(null==ti[e]){if(ti[e]=!0,ni){for(var n=Xr.length-1;n>ri&&Xr[n].id>t.id;)n--;Xr.splice(n+1,0,t)}else Xr.push(t);ei||(ei=!0,Nr(Et))}}function Lt(t){ai.clear(),Nt(t,ai)}function Nt(t,e){var n,r,i=Array.isArray(t);if((i||s(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)Nt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Nt(t[r[n]],e)}}function Rt(t,e,n){si.get=function(){return this[e][n]},si.set=function(t){this[e][n]=t},Object.defineProperty(t,n,si)}function jt(t){t._watchers=[];var e=t.$options;e.props&&Ft(t,e.props),e.methods&&Ut(t,e.methods),e.data?Wt(t):L(t._data={},!0),e.computed&&Vt(t,e.computed),e.watch&&e.watch!==Ar&&$t(t,e.watch)}function Ft(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;Br.shouldConvert=o;for(var a in e)!function(o){i.push(o);var a=G(o,e,n,t);N(r,o,a),o in t||Rt(t,"_props",o)}(a);Br.shouldConvert=!0}function Wt(t){var e=t.$options.data;e=t._data="function"==typeof e?Ht(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&g(r,o)||S(o)||Rt(t,"_data",o)}L(e,!0)}function Ht(t,e){try{return t.call(e)}catch(t){return D(t,e,"data()"),{}}}function Vt(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new oi(t,o||x,x,ui),r in t||Bt(t,r,i)}}function Bt(t,e,n){"function"==typeof n?(si.get=zt(e),si.set=x):(si.get=n.get?!1!==n.cache?zt(e):n.get:x,si.set=n.set?n.set:x),Object.defineProperty(t,e,si)}function zt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),jr.target&&e.depend(),e.value}}function Ut(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?x:m(e[n],t)}function $t(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Yt(t,n,r[i]);else Yt(t,n,r)}}function Yt(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function qt(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function Gt(t){var e=Jt(t.$options.inject,t);e&&(Br.shouldConvert=!1,Object.keys(e).forEach(function(n){N(t,n,e[n])}),Br.shouldConvert=!0)}function Jt(t,e){if(t){for(var n=Object.create(null),r=Lr?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++)for(var o=r[i],a=t[o],s=e;s;){if(s._provided&&a in s._provided){n[o]=s._provided[a];break}s=s.$parent}return n}}function Kt(t,e,n,i,o){var a={},s=t.options.props;if(r(s))for(var u in s)a[u]=G(u,s,e||{});else r(n.attrs)&&Qt(a,n.attrs),r(n.props)&&Qt(a,n.props);var l=Object.create(i),c=function(t,e,n,r){return re(l,t,e,n,r,!0)},f=t.options.render.call(null,c,{data:n,props:a,children:o,parent:i,listeners:n.on||{},injections:Jt(t.options.inject,i),slots:function(){return yt(o,i)}});return f instanceof Yr&&(f.functionalContext=i,f.functionalOptions=t.options,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function Qt(t,e){for(var n in e)t[or(n)]=e[n]}function Xt(t,e,o,a,u){if(!n(t)){var l=o.$options._base;if(s(t)&&(t=l.extend(t)),"function"==typeof t){var c;if(n(t.cid)&&(c=t,void 0===(t=dt(c,l,o))))return ft(c,e,o,a,u);e=e||{},ye(t),r(e.model)&&ne(t.options,e);var f=it(e,t,u);if(i(t.options.functional))return Kt(t,f,e,o,a);var d=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var h=e.slot;e={},h&&(e.slot=h)}te(e);var p=t.options.name||u;return new Yr("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,o,{Ctor:t,propsData:f,listeners:d,tag:u,children:a},c)}}}function Zt(t,e,n,i){var o=t.componentOptions,a={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:i||null},s=t.data.inlineTemplate;return r(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new o.Ctor(a)}function te(t){t.hook||(t.hook={});for(var e=0;e<ci.length;e++){var n=ci[e],r=t.hook[n],i=li[n];t.hook[n]=r?ee(i,r):i}}function ee(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}function ne(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});r(o[i])?o[i]=[e.model.callback].concat(o[i]):o[i]=e.model.callback}function re(t,e,n,r,o,s){return(Array.isArray(n)||a(n))&&(o=r,r=n,n=void 0),i(s)&&(o=di),ie(t,e,n,r,o)}function ie(t,e,n,i,o){if(r(n)&&r(n.__ob__))return Jr();if(r(n)&&r(n.is)&&(e=n.is),!e)return Jr();Array.isArray(i)&&"function"==typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===di?i=st(i):o===fi&&(i=at(i));var a,s;if("string"==typeof e){var u;s=pr.getTagNamespace(e),a=pr.isReservedTag(e)?new Yr(pr.parsePlatformTagName(e),n,i,void 0,void 0,t):r(u=q(t.$options,"components",e))?Xt(u,n,t,i,e):new Yr(e,n,i,void 0,void 0,t)}else a=Xt(e,n,t,i);return r(a)?(s&&oe(a,s),a):Jr()}function oe(t,e){if(t.ns=e,"foreignObject"!==t.tag&&r(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];r(a.tag)&&n(a.ns)&&oe(a,e)}}function ae(t,e){var n,i,o,a,u;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(s(t))for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)u=a[i],n[i]=e(t[u],u,i);return r(n)&&(n._isVList=!0),n}function se(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&(n=_(_({},r),n)),i(n)||e;var o=this.$slots[t];return o||e}function ue(t){return q(this.$options,"filters",t,!0)||cr}function le(t,e,n){var r=pr.keyCodes[e]||n;return Array.isArray(r)?-1===r.indexOf(t):r!==t}function ce(t,e,n,r,i){if(n)if(s(n)){Array.isArray(n)&&(n=b(n));var o;for(var a in n)!function(a){if("class"===a||"style"===a||nr(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||pr.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}if(!(a in o)&&(o[a]=n[a],i)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function fe(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?tt(n):Z(n):(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),he(n,"__static__"+t,!1),n)}function de(t,e,n){return he(t,"__once__"+e+(n?"_"+n:""),!0),t}function he(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&pe(t[r],e+"_"+r,n);else pe(t,e,n)}function pe(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ge(t,e){if(e)if(u(e)){var n=t.on=t.on?_({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(o,i):o}}else;return t}function ve(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=yt(t.$options._renderChildren,n),t.$scopedSlots=gr,t._c=function(e,n,r,i){return re(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return re(t,e,n,r,i,!0)};var r=e&&e.data;N(t,"$attrs",r&&r.attrs,null,!0),N(t,"$listeners",t.$options._parentListeners,null,!0)}function me(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function ye(t){var e=t.options;if(t.super){var n=ye(t.super);if(n!==t.superOptions){t.superOptions=n;var r=_e(t);r&&_(t.extendOptions,r),e=t.options=Y(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function _e(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=be(n[o],r[o],i[o]));return e}function be(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function xe(t){this._init(t)}function we(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=y(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ce(t){t.mixin=function(t){return this.options=Y(this.options,t),this}}function ke(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Y(n.options,t),a.super=n,a.options.props&&Se(a),a.options.computed&&Te(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,dr.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=_({},a.options),i[r]=a,a}}function Se(t){var e=t.options.props;for(var n in e)Rt(t.prototype,"_props",n)}function Te(t){var e=t.options.computed;for(var n in e)Bt(t.prototype,n,e[n])}function Ae(t){dr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function De(t){return t&&(t.Ctor.options.name||t.tag)}function Ee(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Oe(t,e,n){for(var r in t){var i=t[r];if(i){var o=De(i.componentOptions);o&&!n(o)&&(i!==e&&Me(i),t[r]=null)}}}function Me(t){t&&t.componentInstance.$destroy()}function Ie(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=Pe(i.data,e));for(;r(n=n.parent);)n.data&&(e=Pe(e,n.data));return Le(e.staticClass,e.class)}function Pe(t,e){return{staticClass:Ne(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Le(t,e){return r(t)||r(e)?Ne(t,Re(e)):""}function Ne(t,e){return t?e?t+" "+e:t:e||""}function Re(t){return Array.isArray(t)?je(t):s(t)?Fe(t):"string"==typeof t?t:""}function je(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=Re(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Fe(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function We(t){return Oi(t)?"svg":"math"===t?"math":void 0}function He(t){if(!_r)return!0;if(Mi(t))return!1;if(t=t.toLowerCase(),null!=Ii[t])return Ii[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ii[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ii[t]=/HTMLUnknownElement/.test(e.toString())}function Ve(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Be(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function ze(t,e){return document.createElementNS(Di[t],e)}function Ue(t){return document.createTextNode(t)}function $e(t){return document.createComment(t)}function Ye(t,e,n){t.insertBefore(e,n)}function qe(t,e){t.removeChild(e)}function Ge(t,e){t.appendChild(e)}function Je(t){return t.parentNode}function Ke(t){return t.nextSibling}function Qe(t){return t.tagName}function Xe(t,e){t.textContent=e}function Ze(t,e,n){t.setAttribute(e,n)}function tn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?p(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function en(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&nn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function nn(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function rn(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function on(t,e){(t.data.directives||e.data.directives)&&an(t,e)}function an(t,e){var n,r,i,o=t===Ni,a=e===Ni,s=sn(t.data.directives,t.context),u=sn(e.data.directives,e.context),l=[],c=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,ln(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(ln(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)ln(l[n],"inserted",e,t)};o?rt(e.data.hook||(e.data.hook={}),"insert",f):f()}if(c.length&&rt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)ln(c[n],"componentUpdated",e,t)}),!o)for(n in s)u[n]||ln(s[n],"unbind",t,t,a)}function sn(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Fi),n[un(i)]=i,i.def=q(e.$options,"directives",i.name,!0);return n}function un(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ln(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){D(r,n.context,"directive "+t.name+" "+e+" hook")}}function cn(t,e){var i=e.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var o,a,s=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};r(l.__ob__)&&(l=e.data.attrs=_({},l));for(o in l)a=l[o],u[o]!==a&&fn(s,o,a);wr&&l.value!==u.value&&fn(s,"value",l.value);for(o in u)n(l[o])&&(Si(o)?s.removeAttributeNS(ki,Ti(o)):wi(o)||s.removeAttribute(o))}}function fn(t,e,n){Ci(e)?Ai(n)?t.removeAttribute(e):t.setAttribute(e,e):wi(e)?t.setAttribute(e,Ai(n)||"false"===n?"false":"true"):Si(e)?Ai(n)?t.removeAttributeNS(ki,Ti(e)):t.setAttributeNS(ki,e,n):Ai(n)?t.removeAttribute(e):t.setAttribute(e,n)}function dn(t,e){var i=e.elm,o=e.data,a=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Ie(e),u=i._transitionClasses;r(u)&&(s=Ne(s,Re(u))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}function hn(t){var e;r(t[Bi])&&(e=xr?"change":"input",t[e]=[].concat(t[Bi],t[e]||[]),delete t[Bi]),r(t[zi])&&(e=Tr?"click":"change",t[e]=[].concat(t[zi],t[e]||[]),delete t[zi])}function pn(t,e,n,r,i){if(n){var o=e,a=mi;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&gn(t,e,r,a)}}mi.addEventListener(t,e,Dr?{capture:r,passive:i}:r)}function gn(t,e,n,r){(r||mi).removeEventListener(t,e,n)}function vn(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},i=t.data.on||{};mi=e.elm,hn(r),nt(r,i,pn,gn,e.context)}}function mn(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,o,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};r(u.__ob__)&&(u=e.data.domProps=_({},u));for(i in s)n(u[i])&&(a[i]="");for(i in u)if(o=u[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),o!==s[i]))if("value"===i){a._value=o;var l=n(o)?"":String(o);yn(a,e,l)&&(a.value=l)}else a[i]=o}}function yn(t,e,n){return!t.composing&&("option"===e.tag||_n(t,n)||bn(t,n))}function _n(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function bn(t,e){var n=t.value,i=t._vModifiers;return r(i)&&i.number?d(n)!==d(e):r(i)&&i.trim?n.trim()!==e.trim():n!==e}function xn(t){var e=wn(t.style);return t.staticStyle?_(t.staticStyle,e):e}function wn(t){return Array.isArray(t)?b(t):"string"==typeof t?Yi(t):t}function Cn(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=xn(i.data))&&_(r,n);(n=xn(t.data))&&_(r,n);for(var o=t;o=o.parent;)o.data&&(n=xn(o.data))&&_(r,n);return r}function kn(t,e){var i=e.data,o=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,u=e.elm,l=o.staticStyle,c=o.normalizedStyle||o.style||{},f=l||c,d=wn(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?_({},d):d;var h=Cn(e,!0);for(s in f)n(h[s])&&Ji(u,s,"");for(s in h)(a=h[s])!==f[s]&&Ji(u,s,null==a?"":a)}}function Sn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Tn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function An(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&_(e,Zi(t.name||"v")),_(e,t),e}return"string"==typeof t?Zi(t):void 0}}function Dn(t){so(function(){so(t)})}function En(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Sn(t,e))}function On(t,e){t._transitionClasses&&p(t._transitionClasses,e),Tn(t,e)}function Mn(t,e,n){var r=In(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===eo?io:ao,u=0,l=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++u>=a&&l()};setTimeout(function(){u<a&&l()},o+1),t.addEventListener(s,c)}function In(t,e){var n,r=window.getComputedStyle(t),i=r[ro+"Delay"].split(", "),o=r[ro+"Duration"].split(", "),a=Pn(i,o),s=r[oo+"Delay"].split(", "),u=r[oo+"Duration"].split(", "),l=Pn(s,u),c=0,f=0;return e===eo?a>0&&(n=eo,c=a,f=o.length):e===no?l>0&&(n=no,c=l,f=u.length):(c=Math.max(a,l),n=c>0?a>l?eo:no:null,f=n?n===eo?o.length:u.length:0),{type:n,timeout:c,propCount:f,hasTransform:n===eo&&uo.test(r[ro+"Property"])}}function Pn(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ln(e)+Ln(t[n])}))}function Ln(t){return 1e3*Number(t.slice(0,-1))}function Nn(t,e){var i=t.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=An(t.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,u=o.type,l=o.enterClass,c=o.enterToClass,f=o.enterActiveClass,h=o.appearClass,p=o.appearToClass,g=o.appearActiveClass,v=o.beforeEnter,m=o.enter,y=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,x=o.appear,w=o.afterAppear,C=o.appearCancelled,S=o.duration,T=Qr,A=Qr.$vnode;A&&A.parent;)A=A.parent,T=A.context;var D=!T._isMounted||!t.isRootInsert;if(!D||x||""===x){var E=D&&h?h:l,O=D&&g?g:f,M=D&&p?p:c,I=D?b||v:v,P=D&&"function"==typeof x?x:m,L=D?w||y:y,N=D?C||_:_,R=d(s(S)?S.enter:S),j=!1!==a&&!wr,F=Fn(P),W=i._enterCb=k(function(){j&&(On(i,M),On(i,O)),W.cancelled?(j&&On(i,E),N&&N(i)):L&&L(i),i._enterCb=null});t.data.show||rt(t.data.hook||(t.data.hook={}),"insert",function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),P&&P(i,W)}),I&&I(i),j&&(En(i,E),En(i,O),Dn(function(){En(i,M),On(i,E),W.cancelled||F||(jn(R)?setTimeout(W,R):Mn(i,u,W))})),t.data.show&&(e&&e(),P&&P(i,W)),j||F||W()}}}function Rn(t,e){function i(){C.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),p&&p(o),b&&(En(o,c),En(o,h),Dn(function(){En(o,f),On(o,c),C.cancelled||x||(jn(w)?setTimeout(C,w):Mn(o,l,C))})),g&&g(o,C),b||x||C())}var o=t.elm;r(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=An(t.data.transition);if(n(a))return e();if(!r(o._leaveCb)&&1===o.nodeType){var u=a.css,l=a.type,c=a.leaveClass,f=a.leaveToClass,h=a.leaveActiveClass,p=a.beforeLeave,g=a.leave,v=a.afterLeave,m=a.leaveCancelled,y=a.delayLeave,_=a.duration,b=!1!==u&&!wr,x=Fn(g),w=d(s(_)?_.leave:_),C=o._leaveCb=k(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),b&&(On(o,f),On(o,h)),C.cancelled?(b&&On(o,c),m&&m(o)):(e(),v&&v(o)),o._leaveCb=null});y?y(i):i()}}function jn(t){return"number"==typeof t&&!isNaN(t)}function Fn(t){if(n(t))return!1;var e=t.fns;return r(e)?Fn(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Wn(t,e){!0!==e.data.show&&Nn(e)}function Hn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=C(r,Vn(a))>-1,a.selected!==o&&(a.selected=o);else if(w(Vn(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Vn(t){return"_value"in t?t._value:t.value}function Bn(t){t.target.composing=!0}function zn(t){t.target.composing&&(t.target.composing=!1,Un(t.target,"input"))}function Un(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function $n(t){return!t.componentInstance||t.data&&t.data.transition?t:$n(t.componentInstance._vnode)}function Yn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Yn(ht(e.children)):t}function qn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[or(o)]=i[o];return e}function Gn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Jn(t){for(;t=t.parent;)if(t.data.transition)return!0}function Kn(t,e){return e.key===t.key&&e.tag===t.tag}function Qn(t){return t.isComment&&t.asyncFactory}function Xn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Zn(t){t.data.newPos=t.elm.getBoundingClientRect()}function tr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var er=Object.prototype.toString,nr=(h("slot,component",!0),h("key,ref,slot,is")),rr=Object.prototype.hasOwnProperty,ir=/-(\w)/g,or=v(function(t){return t.replace(ir,function(t,e){return e?e.toUpperCase():""})}),ar=v(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),sr=/([^-])([A-Z])/g,ur=v(function(t){return t.replace(sr,"$1-$2").replace(sr,"$1-$2").toLowerCase()}),lr=function(t,e,n){return!1},cr=function(t){return t},fr="data-server-rendered",dr=["component","directive","filter"],hr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],pr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lr,isReservedAttr:lr,isUnknownElement:lr,getTagNamespace:x,parsePlatformTagName:cr,mustUseProp:lr,_lifecycleHooks:hr},gr=Object.freeze({}),vr=/[^\w.$]/,mr=x,yr="__proto__"in{},_r="undefined"!=typeof window,br=_r&&window.navigator.userAgent.toLowerCase(),xr=br&&/msie|trident/.test(br),wr=br&&br.indexOf("msie 9.0")>0,Cr=br&&br.indexOf("edge/")>0,kr=br&&br.indexOf("android")>0,Sr=br&&/iphone|ipad|ipod|ios/.test(br),Tr=br&&/chrome\/\d+/.test(br)&&!Cr,Ar={}.watch,Dr=!1;if(_r)try{var Er={};Object.defineProperty(Er,"passive",{get:function(){Dr=!0}}),window.addEventListener("test-passive",null,Er)}catch(t){}var Or,Mr,Ir=function(){return void 0===Or&&(Or=!_r&&void 0!==t&&"server"===t.process.env.VUE_ENV),Or},Pr=_r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Lr="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys),Nr=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"!=typeof Promise&&E(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};e=function(){i.then(t).catch(o),Sr&&setTimeout(x)}}else if("undefined"==typeof MutationObserver||!E(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),e=function(){a=(a+1)%2,u.data=String(a)}}return function(t,i){var o;if(n.push(function(){if(t)try{t.call(i)}catch(t){D(t,i,"nextTick")}else o&&o(i)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t,e){o=t})}}();Mr="undefined"!=typeof Set&&E(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Rr=0,jr=function(){this.id=Rr++,this.subs=[]};jr.prototype.addSub=function(t){this.subs.push(t)},jr.prototype.removeSub=function(t){p(this.subs,t)},jr.prototype.depend=function(){jr.target&&jr.target.addDep(this)},jr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},jr.target=null;var Fr=[],Wr=Array.prototype,Hr=Object.create(Wr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Wr[t];T(Hr,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var Vr=Object.getOwnPropertyNames(Hr),Br={shouldConvert:!0},zr=function(t){if(this.value=t,this.dep=new jr,this.vmCount=0,T(t,"__ob__",this),Array.isArray(t)){(yr?I:P)(t,Hr,Vr),this.observeArray(t)}else this.walk(t)};zr.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)N(t,e[n],t[e[n]])},zr.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)L(t[e])};var Ur=pr.optionMergeStrategies;Ur.data=function(t,e,n){return n?H(t,e,n):e&&"function"!=typeof e?t:H.call(this,t,e)},hr.forEach(function(t){Ur[t]=V}),dr.forEach(function(t){Ur[t+"s"]=B}),Ur.watch=function(t,e){if(t===Ar&&(t=void 0),e===Ar&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};_(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):Array.isArray(o)?o:[o]}return n},Ur.props=Ur.methods=Ur.inject=Ur.computed=function(t,e){if(!t)return e;var n=Object.create(null);return _(n,t),e&&_(n,e),n},Ur.provide=H;var $r=function(t,e){return void 0===e?t:e},Yr=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},qr={child:{}};qr.child.get=function(){return this.componentInstance},Object.defineProperties(Yr.prototype,qr);var Gr,Jr=function(t){void 0===t&&(t="");var e=new Yr;return e.text=t,e.isComment=!0,e},Kr=v(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}),Qr=null,Xr=[],Zr=[],ti={},ei=!1,ni=!1,ri=0,ii=0,oi=function(t,e,n,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ii,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Mr,this.newDepIds=new Mr,this.expression="","function"==typeof e?this.getter=e:(this.getter=A(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};oi.prototype.get=function(){O(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;D(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Lt(t),M(),this.cleanupDeps()}return t},oi.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},oi.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},oi.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Pt(this)},oi.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){D(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},oi.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},oi.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},oi.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var ai=new Mr,si={enumerable:!0,configurable:!0,get:x,set:x},ui={lazy:!0},li={init:function(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed){(t.componentInstance=Zt(t,Qr,n,r)).$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var i=t;li.prepatch(i,i)}},prepatch:function(t,e){var n=e.componentOptions;Ct(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,At(n,"mounted")),t.data.keepAlive&&(e._isMounted?Mt(n):St(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Tt(e,!0):e.$destroy())}},ci=Object.keys(li),fi=1,di=2,hi=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=hi++,e._isVue=!0,t&&t._isComponent?me(e,t):e.$options=Y(ye(e.constructor),t||{},e),e._renderProxy=e,e._self=e,xt(e),pt(e),ve(e),At(e,"beforeCreate"),Gt(e),jt(e),qt(e),At(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(xe),function(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=R,t.prototype.$delete=j,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return Yt(r,t,e,n);n=n||{},n.user=!0;var i=new oi(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}(xe),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this,i=this;if(Array.isArray(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return r}var a=r._events[t];if(!a)return r;if(1===arguments.length)return r._events[t]=null,r;for(var s,u=a.length;u--;)if((s=a[u])===e||s.fn===e){a.splice(u,1);break}return r},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?y(n):n;for(var r=y(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){D(n,e,'event handler for "'+t+'"')}}return e}}(xe),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&At(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=Qr;Qr=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),Qr=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){At(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||p(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),At(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}(xe),function(t){t.prototype.$nextTick=function(t){return Nr(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=tt(t.$slots[o]);t.$scopedSlots=i&&i.data.scopedSlots||gr,r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){D(e,t,"render function"),a=t._vnode}return a instanceof Yr||(a=Jr()),a.parent=i,a},t.prototype._o=de,t.prototype._n=d,t.prototype._s=f,t.prototype._l=ae,t.prototype._t=se,t.prototype._q=w,t.prototype._i=C,t.prototype._m=fe,t.prototype._f=ue,t.prototype._k=le,t.prototype._b=ce,t.prototype._v=X,t.prototype._e=Jr,t.prototype._u=bt,t.prototype._g=ge}(xe);var pi=[String,RegExp,Array],gi={name:"keep-alive",abstract:!0,props:{include:pi,exclude:pi},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var e in t.cache)Me(t.cache[e])},watch:{include:function(t){Oe(this.cache,this._vnode,function(e){return Ee(t,e)})},exclude:function(t){Oe(this.cache,this._vnode,function(e){return!Ee(t,e)})}},render:function(){var t=ht(this.$slots.default),e=t&&t.componentOptions;if(e){var n=De(e);if(n&&(this.include&&!Ee(this.include,n)||this.exclude&&Ee(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}},vi={KeepAlive:gi};!function(t){var e={};e.get=function(){return pr},Object.defineProperty(t,"config",e),t.util={warn:mr,extend:_,mergeOptions:Y,defineReactive:N},t.set=R,t.delete=j,t.nextTick=Nr,t.options=Object.create(null),dr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,_(t.options.components,vi),we(t),Ce(t),ke(t),Ae(t)}(xe),Object.defineProperty(xe.prototype,"$isServer",{get:Ir}),Object.defineProperty(xe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),xe.version="2.4.2";var mi,yi,_i=h("style,class"),bi=h("input,textarea,option,select"),xi=function(t,e,n){return"value"===n&&bi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},wi=h("contenteditable,draggable,spellcheck"),Ci=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ki="http://www.w3.org/1999/xlink",Si=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ti=function(t){return Si(t)?t.slice(6,t.length):""},Ai=function(t){return null==t||!1===t},Di={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ei=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Oi=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Mi=function(t){return Ei(t)||Oi(t)},Ii=Object.create(null),Pi=Object.freeze({createElement:Be,createElementNS:ze,createTextNode:Ue,createComment:$e,insertBefore:Ye,removeChild:qe,appendChild:Ge,parentNode:Je,nextSibling:Ke,tagName:Qe,setTextContent:Xe,setAttribute:Ze}),Li={create:function(t,e){tn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(tn(t,!0),tn(e))},destroy:function(t){tn(t,!0)}},Ni=new Yr("",{},[]),Ri=["create","activate","update","remove","destroy"],ji={create:on,update:on,destroy:function(t){on(t,Ni)}},Fi=Object.create(null),Wi=[Li,ji],Hi={create:cn,update:cn},Vi={create:dn,update:dn},Bi="__r",zi="__c",Ui={create:vn,update:vn},$i={create:mn,update:mn},Yi=v(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),qi=/^--/,Gi=/\s*!important$/,Ji=function(t,e,n){if(qi.test(e))t.style.setProperty(e,n);else if(Gi.test(n))t.style.setProperty(e,n.replace(Gi,""),"important");else{var r=Qi(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Ki=["Webkit","Moz","ms"],Qi=v(function(t){if(yi=yi||document.createElement("div").style,"filter"!==(t=or(t))&&t in yi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ki.length;n++){var r=Ki[n]+e;if(r in yi)return r}}),Xi={create:kn,update:kn},Zi=v(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),to=_r&&!wr,eo="transition",no="animation",ro="transition",io="transitionend",oo="animation",ao="animationend";to&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ro="WebkitTransition",io="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oo="WebkitAnimation",ao="webkitAnimationEnd"));var so=_r&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,uo=/\b(transform|all)(,|$)/,lo=_r?{create:Wn,activate:Wn,remove:function(t,e){!0!==t.data.show?Rn(t,e):e()}}:{},co=[Hi,Vi,Ui,$i,Xi,lo],fo=co.concat(Wi),ho=function(t){function e(t){return new Yr(O.tagName(t).toLowerCase(),{},[],void 0,t)}function o(t,e){function n(){0==--n.listeners&&s(t)}return n.listeners=e,n}function s(t){var e=O.parentNode(t);r(e)&&O.removeChild(e,t)}function u(t,e,n,o,a){if(t.isRootInsert=!a,!l(t,e,n,o)){var s=t.data,u=t.children,c=t.tag;r(c)?(t.elm=t.ns?O.createElementNS(t.ns,c):O.createElement(c,t),m(t),p(t,u,e),r(s)&&v(t,e),d(n,t.elm,o)):i(t.isComment)?(t.elm=O.createComment(t.text),d(n,t.elm,o)):(t.elm=O.createTextNode(t.text),d(n,t.elm,o))}}function l(t,e,n,o){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1,n,o),r(t.componentInstance))return c(t,e),i(s)&&f(t,e,n,o),!0}}function c(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(v(t,e),m(t)):(tn(t),e.push(t))}function f(t,e,n,i){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<D.activate.length;++o)D.activate[o](Ni,a);e.push(a);break}d(n,t.elm,i)}function d(t,e,n){r(t)&&(r(n)?n.parentNode===t&&O.insertBefore(t,e,n):O.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)u(e[r],n,t.elm,null,!0);else a(t.text)&&O.appendChild(t.elm,O.createTextNode(t.text))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function v(t,e){for(var n=0;n<D.create.length;++n)D.create[n](Ni,t);T=t.data.hook,r(T)&&(r(T.create)&&T.create(Ni,t),r(T.insert)&&e.push(t))}function m(t){for(var e,n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,""),n=n.parent;r(e=Qr)&&e!==t.context&&r(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,"")}function y(t,e,n,r,i,o){for(;r<=i;++r)u(n[r],o,t,e)}function _(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<D.destroy.length;++e)D.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function b(t,e,n,i){for(;n<=i;++n){var o=e[n];r(o)&&(r(o.tag)?(x(o),_(o)):s(o.elm))}}function x(t,e){if(r(e)||r(t.data)){var n,i=D.remove.length+1;for(r(e)?e.listeners+=i:e=o(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,e),n=0;n<D.remove.length;++n)D.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else s(t.elm)}function w(t,e,i,o,a){for(var s,l,c,f,d=0,h=0,p=e.length-1,g=e[0],v=e[p],m=i.length-1,_=i[0],x=i[m],w=!a;d<=p&&h<=m;)n(g)?g=e[++d]:n(v)?v=e[--p]:en(g,_)?(C(g,_,o),g=e[++d],_=i[++h]):en(v,x)?(C(v,x,o),v=e[--p],x=i[--m]):en(g,x)?(C(g,x,o),w&&O.insertBefore(t,g.elm,O.nextSibling(v.elm)),g=e[++d],x=i[--m]):en(v,_)?(C(v,_,o),w&&O.insertBefore(t,v.elm,g.elm),v=e[--p],_=i[++h]):(n(s)&&(s=rn(e,d,p)),l=r(_.key)?s[_.key]:null,n(l)?(u(_,o,t,g.elm),_=i[++h]):(c=e[l],en(c,_)?(C(c,_,o),e[l]=void 0,w&&O.insertBefore(t,c.elm,g.elm),_=i[++h]):(u(_,o,t,g.elm),_=i[++h])));d>p?(f=n(i[m+1])?null:i[m+1].elm,y(t,f,i,h,m,o)):h>m&&b(t,e,d,p)}function C(t,e,o,a){if(t!==e){var s=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?S(t.elm,e,o):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var u,l=e.data;r(l)&&r(u=l.hook)&&r(u=u.prepatch)&&u(t,e);var c=t.children,f=e.children;if(r(l)&&g(e)){for(u=0;u<D.update.length;++u)D.update[u](t,e);r(u=l.hook)&&r(u=u.update)&&u(t,e)}n(e.text)?r(c)&&r(f)?c!==f&&w(s,c,f,o,a):r(f)?(r(t.text)&&O.setTextContent(s,""),y(s,null,f,0,f.length-1,o)):r(c)?b(s,c,0,c.length-1):r(t.text)&&O.setTextContent(s,""):t.text!==e.text&&O.setTextContent(s,e.text),r(l)&&r(u=l.hook)&&r(u=u.postpatch)&&u(t,e)}}function k(t,e,n){if(i(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}function S(t,e,n){if(i(e.isComment)&&r(e.asyncFactory))return e.elm=t,e.isAsyncPlaceholder=!0,!0;e.elm=t;var o=e.tag,a=e.data,s=e.children;if(r(a)&&(r(T=a.hook)&&r(T=T.init)&&T(e,!0),r(T=e.componentInstance)))return c(e,n),!0;if(r(o)){if(r(s))if(t.hasChildNodes()){for(var u=!0,l=t.firstChild,f=0;f<s.length;f++){if(!l||!S(l,s[f],n)){u=!1;break}l=l.nextSibling}if(!u||l)return!1}else p(e,s,n);if(r(a))for(var d in a)if(!M(d)){v(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var T,A,D={},E=t.modules,O=t.nodeOps;for(T=0;T<Ri.length;++T)for(D[Ri[T]]=[],A=0;A<E.length;++A)r(E[A][Ri[T]])&&D[Ri[T]].push(E[A][Ri[T]]);var M=h("attrs,style,class,staticClass,staticStyle,key");return function(t,o,a,s,l,c){if(n(o))return void(r(t)&&_(t));var f=!1,d=[];if(n(t))f=!0,u(o,d,l,c);else{var h=r(t.nodeType);if(!h&&en(t,o))C(t,o,d,s);else{if(h){if(1===t.nodeType&&t.hasAttribute(fr)&&(t.removeAttribute(fr),a=!0),i(a)&&S(t,o,d))return k(o,d,!0),t;t=e(t)}var p=t.elm,v=O.parentNode(p);if(u(o,d,p._leaveCb?null:v,O.nextSibling(p)),r(o.parent)){for(var m=o.parent;m;)m.elm=o.elm,m=m.parent;if(g(o))for(var y=0;y<D.create.length;++y)D.create[y](Ni,o.parent)}r(v)?b(v,[t],0,0):r(t.tag)&&_(t)}}return k(o,d,f),o.elm}}({nodeOps:Pi,modules:fo}),po=h("text,number,password,search,email,tel,url");wr&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Un(t,"input")});var go={inserted:function(t,e,n){if("select"===n.tag){var r=function(){Hn(t,e,n.context)};r(),(xr||Cr)&&setTimeout(r,0),t._vOptions=[].map.call(t.options,Vn)}else("textarea"===n.tag||po(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",zn),kr||(t.addEventListener("compositionstart",Bn),t.addEventListener("compositionend",zn)),wr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Hn(t,e,n.context);var r=t._vOptions;(t._vOptions=[].map.call(t.options,Vn)).some(function(t,e){return!w(t,r[e])})&&Un(t,"change")}}},vo={bind:function(t,e,n){var r=e.value;n=$n(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Nn(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;r!==e.oldValue&&(n=$n(n),n.data&&n.data.transition?(n.data.show=!0,r?Nn(n,function(){t.style.display=t.__vOriginalDisplay}):Rn(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},mo={model:go,show:vo},yo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},_o={name:"transition",props:yo,abstract:!0,render:function(t){var e=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(t){return t.tag||Qn(t)}),n.length)){var r=this.mode,i=n[0];if(Jn(this.$vnode))return i;var o=Yn(i);if(!o)return i;if(this._leaving)return Gn(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=qn(this),l=this._vnode,c=Yn(l);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),c&&c.data&&!Kn(o,c)&&!Qn(c)){var f=c&&(c.data.transition=_({},u));if("out-in"===r)return this._leaving=!0,rt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Gn(t,i);if("in-out"===r){if(Qn(o))return l;var d,h=function(){d()};rt(u,"afterEnter",h),rt(u,"enterCancelled",h),rt(f,"delayLeave",function(t){d=t})}}return i}}},bo=_({tag:String,moveClass:String},yo);delete bo.mode;var xo={props:bo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=qn(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var l=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):c.push(d)}this.kept=t(e,null,l),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(Xn),t.forEach(Zn),t.forEach(tr);var n=document.body;n.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;En(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(io,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(io,t),n._moveCb=null,On(n,e))})}})}},methods:{hasMove:function(t,e){if(!to)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Tn(n,t)}),Sn(n,e),n.style.display="none",this.$el.appendChild(n);var r=In(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},wo={Transition:_o,TransitionGroup:xo};xe.config.mustUseProp=xi,xe.config.isReservedTag=Mi,xe.config.isReservedAttr=_i,xe.config.getTagNamespace=We,xe.config.isUnknownElement=He,_(xe.options.directives,mo),_(xe.options.components,wo),xe.prototype.__patch__=_r?ho:x,xe.prototype.$mount=function(t,e){return t=t&&_r?Ve(t):void 0,wt(this,t,e)},setTimeout(function(){pr.devtools&&Pr&&Pr.emit("init",xe)},0),e.a=xe}).call(e,n("DuR2"))},"/jKm":function(t,e,n){"use strict";t.exports=function(t){function e(t,e){var n=u.color(t);return n.alpha(e*n.alpha()).rgbaString()}function n(t,e){return e&&(u.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function r(t){var e=t._xScale,n=t._yScale||t._scale,r=t._index,i=t._datasetIndex;return{xLabel:e?e.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:t._model.x,y:t._model.y}}function i(e){var n=t.defaults.global,r=u.getValueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:r(e.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:r(e.bodyFontStyle,n.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:r(e.bodyFontSize,n.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:r(e.titleFontFamily,n.defaultFontFamily),_titleFontStyle:r(e.titleFontStyle,n.defaultFontStyle),titleFontSize:r(e.titleFontSize,n.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:r(e.footerFontFamily,n.defaultFontFamily),_footerFontStyle:r(e.footerFontStyle,n.defaultFontStyle),footerFontSize:r(e.footerFontSize,n.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function o(t,e){var n=t._chart.ctx,r=2*e.yPadding,i=0,o=e.body,a=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,f=e.bodyFontSize,d=e.footerFontSize;r+=s*c,r+=s?(s-1)*e.titleSpacing:0,r+=s?e.titleMarginBottom:0,r+=a*f,r+=a?(a-1)*e.bodySpacing:0,r+=l?e.footerMarginTop:0,r+=l*d,r+=l?(l-1)*e.footerSpacing:0;var h=0,p=function(t){i=Math.max(i,n.measureText(t).width+h)};return n.font=u.fontString(c,e._titleFontStyle,e._titleFontFamily),u.each(e.title,p),n.font=u.fontString(f,e._bodyFontStyle,e._bodyFontFamily),u.each(e.beforeBody.concat(e.afterBody),p),h=e.displayColors?f+2:0,u.each(o,function(t){u.each(t.before,p),u.each(t.lines,p),u.each(t.after,p)}),h=0,n.font=u.fontString(d,e._footerFontStyle,e._footerFontFamily),u.each(e.footer,p),i+=2*e.xPadding,{width:i,height:r}}function a(t,e){var n=t._model,r=t._chart,i=t._chart.chartArea,o="center",a="center";n.y<e.height?a="top":n.y>r.height-e.height&&(a="bottom");var s,u,l,c,f,d=(i.left+i.right)/2,h=(i.top+i.bottom)/2;"center"===a?(s=function(t){return t<=d},u=function(t){return t>d}):(s=function(t){return t<=e.width/2},u=function(t){return t>=r.width-e.width/2}),l=function(t){return t+e.width>r.width},c=function(t){return t-e.width<0},f=function(t){return t<=h?"top":"bottom"},s(n.x)?(o="left",l(n.x)&&(o="center",a=f(n.y))):u(n.x)&&(o="right",c(n.x)&&(o="center",a=f(n.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:o,yAlign:p.yAlign?p.yAlign:a}}function s(t,e,n){var r=t.x,i=t.y,o=t.caretSize,a=t.caretPadding,s=t.cornerRadius,u=n.xAlign,l=n.yAlign,c=o+a,f=s+a;return"right"===u?r-=e.width:"center"===u&&(r-=e.width/2),"top"===l?i+=c:i-="bottom"===l?e.height+c:e.height/2,"center"===l?"left"===u?r+=c:"right"===u&&(r-=c):"left"===u?r-=f:"right"===u&&(r+=f),{x:r,y:i}}var u=t.helpers;t.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:u.noop,title:function(t,e){var n="",r=e.labels,i=r?r.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:i>0&&o.index<i&&(n=r[o.index])}return n},afterTitle:u.noop,beforeBody:u.noop,beforeLabel:u.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex),r=n.data[t.index],i=r._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},afterLabel:u.noop,afterBody:u.noop,beforeFooter:u.noop,footer:u.noop,afterFooter:u.noop}},t.Tooltip=t.Element.extend({initialize:function(){this._model=i(this._options)},getTitle:function(){var t=this,e=t._options,r=e.callbacks,i=r.beforeTitle.apply(t,arguments),o=r.title.apply(t,arguments),a=r.afterTitle.apply(t,arguments),s=[];return s=n(s,i),s=n(s,o),s=n(s,a)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return u.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var r=this,i=r._options.callbacks,o=[];return u.each(t,function(t){var a={before:[],lines:[],after:[]};n(a.before,i.beforeLabel.call(r,t,e)),n(a.lines,i.label.call(r,t,e)),n(a.after,i.afterLabel.call(r,t,e)),o.push(a)}),o},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return u.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this,e=t._options.callbacks,r=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),o=e.afterFooter.apply(t,arguments),a=[];return a=n(a,r),a=n(a,i),a=n(a,o)},update:function(e){var n,l,c=this,f=c._options,d=c._model,h=c._model=i(f),p=c._active,g=c._data,v={xAlign:d.xAlign,yAlign:d.yAlign},m={x:d.x,y:d.y},y={width:d.width,height:d.height},_={x:d.caretX,y:d.caretY};if(p.length){h.opacity=1;var b=[];_=t.Tooltip.positioners[f.position](p,c._eventPosition);var x=[];for(n=0,l=p.length;n<l;++n)x.push(r(p[n]));f.filter&&(x=x.filter(function(t){return f.filter(t,g)})),f.itemSort&&(x=x.sort(function(t,e){return f.itemSort(t,e,g)})),u.each(x,function(t){b.push(f.callbacks.labelColor.call(c,t,c._chart))}),h.title=c.getTitle(x,g),h.beforeBody=c.getBeforeBody(x,g),h.body=c.getBody(x,g),h.afterBody=c.getAfterBody(x,g),h.footer=c.getFooter(x,g),h.x=Math.round(_.x),h.y=Math.round(_.y),h.caretPadding=f.caretPadding,h.labelColors=b,h.dataPoints=x,y=o(this,h),v=a(this,y),m=s(h,y,v)}else h.opacity=0;return h.xAlign=v.xAlign,h.yAlign=v.yAlign,h.x=m.x,h.y=m.y,h.width=y.width,h.height=y.height,h.caretX=_.x,h.caretY=_.y,c._model=h,e&&f.custom&&f.custom.call(c,h),c},drawCaret:function(t,e){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(t,e,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var r,i,o,a,s,u,l=n.caretSize,c=n.cornerRadius,f=n.xAlign,d=n.yAlign,h=t.x,p=t.y,g=e.width,v=e.height;if("center"===d)s=p+v/2,"left"===f?(r=h,i=r-l,o=r,a=s+l,u=s-l):(r=h+g,i=r+l,o=r,a=s-l,u=s+l);else if("left"===f?(i=h+c+l,r=i-l,o=i+l):"right"===f?(i=h+g-c-l,r=i-l,o=i+l):(i=h+g/2,r=i-l,o=i+l),"top"===d)a=p,s=a-l,u=a;else{a=p+v,s=a+l,u=a;var m=o;o=r,r=m}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:u}},drawTitle:function(t,n,r,i){var o=n.title;if(o.length){r.textAlign=n._titleAlign,r.textBaseline="top";var a=n.titleFontSize,s=n.titleSpacing;r.fillStyle=e(n.titleFontColor,i),r.font=u.fontString(a,n._titleFontStyle,n._titleFontFamily);var l,c;for(l=0,c=o.length;l<c;++l)r.fillText(o[l],t.x,t.y),t.y+=a+s,l+1===o.length&&(t.y+=n.titleMarginBottom-s)}},drawBody:function(t,n,r,i){var o=n.bodyFontSize,a=n.bodySpacing,s=n.body;r.textAlign=n._bodyAlign,r.textBaseline="top";var l=e(n.bodyFontColor,i);r.fillStyle=l,r.font=u.fontString(o,n._bodyFontStyle,n._bodyFontFamily);var c=0,f=function(e){r.fillText(e,t.x+c,t.y),t.y+=o+a};u.each(n.beforeBody,f);var d=n.displayColors;c=d?o+2:0,u.each(s,function(a,s){u.each(a.before,f),u.each(a.lines,function(a){d&&(r.fillStyle=e(n.legendColorBackground,i),r.fillRect(t.x,t.y,o,o),r.strokeStyle=e(n.labelColors[s].borderColor,i),r.strokeRect(t.x,t.y,o,o),r.fillStyle=e(n.labelColors[s].backgroundColor,i),r.fillRect(t.x+1,t.y+1,o-2,o-2),r.fillStyle=l),f(a)}),u.each(a.after,f)}),c=0,u.each(n.afterBody,f),t.y-=a},drawFooter:function(t,n,r,i){var o=n.footer;o.length&&(t.y+=n.footerMarginTop,r.textAlign=n._footerAlign,r.textBaseline="top",r.fillStyle=e(n.footerFontColor,i),r.font=u.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),u.each(o,function(e){r.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,n,r,i,o){r.fillStyle=e(n.backgroundColor,o),r.strokeStyle=e(n.borderColor,o),r.lineWidth=n.borderWidth;var a=n.xAlign,s=n.yAlign,u=t.x,l=t.y,c=i.width,f=i.height,d=n.cornerRadius;r.beginPath(),r.moveTo(u+d,l),"top"===s&&this.drawCaret(t,i),r.lineTo(u+c-d,l),r.quadraticCurveTo(u+c,l,u+c,l+d),"center"===s&&"right"===a&&this.drawCaret(t,i),r.lineTo(u+c,l+f-d),r.quadraticCurveTo(u+c,l+f,u+c-d,l+f),"bottom"===s&&this.drawCaret(t,i),r.lineTo(u+d,l+f),r.quadraticCurveTo(u,l+f,u,l+f-d),"center"===s&&"left"===a&&this.drawCaret(t,i),r.lineTo(u,l+d),r.quadraticCurveTo(u,l,u+d,l),r.closePath(),r.fill(),n.borderWidth>0&&r.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},r={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(this.drawBackground(r,e,t,n,i),r.x+=e.xPadding,r.y+=e.yPadding,this.drawTitle(r,e,t,i),this.drawBody(r,e,t,i),this.drawFooter(r,e,t,i))}},handleEvent:function(t){var e=this,n=e._options,r=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),!(r=!u.arrayEquals(e._active,e._lastActive)))return!1;if(e._lastActive=e._active,n.enabled||n.custom){e._eventPosition={x:t.x,y:t.y};var i=e._model;e.update(!0),e.pivot(),r|=i.x!==e._model.x||i.y!==e._model.y}return r}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,i+=s.y,++o}}return{x:Math.round(r/o),y:Math.round(i/o)}},nearest:function(t,e){var n,r,i,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(r=0,i=t.length;r<i;++r){var l=t[r];if(l&&l.hasValue()){var c=l.getCenterPoint(),f=u.distanceBetweenPoints(e,c);f<s&&(s=f,n=l)}}if(n){var d=n.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}}}},0:function(t,e,n){n("sV/x"),t.exports=n("xZZD")},"0C1O":function(t,e,n){"use strict";t.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},"0gJx":function(t,e,n){"use strict";t.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},"0xw7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WaEV"),i=n.n(r);e.default={props:["data"],data:function(){return{context:null,chart:null}},mounted:function(){this.context=this.$refs.canvas.getContext("2d"),this.chart=new i.a(this.context,{type:"line",options:{legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!0},beforeBuildTicks:function(t){var e=_.max(t.chart.data.datasets[0].data);t.max=parseInt(e)+parseInt(.25*e)}}],xAxes:[{gridLines:{display:!0},afterTickToLabelConversion:function(t){var e=t.ticks;e.forEach(function(t,n){n%6!=0&&n+1!=e.length&&(e[n]="")})}}]}},data:this.data})}}},"19SQ":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.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(t,e){var n=e.datasets[t.datasetIndex].label||"",r=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+r.r+")"}}}},t.controllers.bubble=t.DatasetController.extend({dataElementType:t.elements.Point,update:function(t){var n=this,r=n.getMeta(),i=r.data;e.each(i,function(e,r){n.updateElement(e,r,t)})},updateElement:function(n,r,i){var o=this,a=o.getMeta(),s=o.getScaleForId(a.xAxisID),u=o.getScaleForId(a.yAxisID),l=n.custom||{},c=o.getDataset(),f=c.data[r],d=o.chart.options.elements.point,h=o.index;e.extend(n,{_xScale:s,_yScale:u,_datasetIndex:h,_index:r,_model:{x:i?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof f?f:NaN,r,h,o.chart.isCombo),y:i?u.getBasePixel():u.getPixelForValue(f,r,h),radius:i?0:l.radius?l.radius:o.getRadius(f),hitRadius:l.hitRadius?l.hitRadius:e.getValueAtIndexOrDefault(c.hitRadius,r,d.hitRadius)}}),t.DatasetController.prototype.removeHoverStyle.call(o,n,d);var p=n._model;p.skip=l.skip?l.skip:isNaN(p.x)||isNaN(p.y),n.pivot()},getRadius:function(t){return t.r||this.chart.options.elements.point.radius},setHoverStyle:function(n){var r=this;t.DatasetController.prototype.setHoverStyle.call(r,n);var i=r.chart.data.datasets[n._datasetIndex],o=n._index,a=n.custom||{};n._model.radius=a.hoverRadius?a.hoverRadius:e.getValueAtIndexOrDefault(i.hoverRadius,o,r.chart.options.elements.point.hoverRadius)+r.getRadius(i.data[o])},removeHoverStyle:function(e){var n=this;t.DatasetController.prototype.removeHoverStyle.call(n,e,n.chart.options.elements.point);var r=n.chart.data.datasets[e._datasetIndex].data[e._index],i=e.custom||{};e._model.radius=i.radius?i.radius:n.getRadius(r)}})}},"1Nt4":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:t.Ticks.formatters.logarithmic}},r=t.Scale.extend({determineDataLimits:function(){function t(t){return l?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,r=n.options,i=r.ticks,o=n.chart,a=o.data,s=a.datasets,u=e.getValueOrDefault,l=n.isHorizontal();n.min=null,n.max=null,n.minNotZero=null;var c=r.stacked;if(void 0===c&&e.each(s,function(e,n){if(!c){var r=o.getDatasetMeta(n);o.isDatasetVisible(n)&&t(r)&&void 0!==r.stack&&(c=!0)}}),r.stacked||c){var f={};e.each(s,function(i,a){var s=o.getDatasetMeta(a),u=[s.type,void 0===r.stacked&&void 0===s.stack?a:"",s.stack].join(".");o.isDatasetVisible(a)&&t(s)&&(void 0===f[u]&&(f[u]=[]),e.each(i.data,function(t,e){var i=f[u],o=+n.getRightValue(t);isNaN(o)||s.data[e].hidden||(i[e]=i[e]||0,r.relativePoints?i[e]=100:i[e]+=o)}))}),e.each(f,function(t){var r=e.min(t),i=e.max(t);n.min=null===n.min?r:Math.min(n.min,r),n.max=null===n.max?i:Math.max(n.max,i)})}else e.each(s,function(r,i){var a=o.getDatasetMeta(i);o.isDatasetVisible(i)&&t(a)&&e.each(r.data,function(t,e){var r=+n.getRightValue(t);isNaN(r)||a.data[e].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=u(i.min,n.min),n.max=u(i.max,n.max),n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(e.log10(n.min))-1),n.max=Math.pow(10,Math.floor(e.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){var n=this,r=n.options,i=r.ticks,o={min:i.min,max:i.max},a=n.ticks=t.Ticks.generators.logarithmic(o,n);n.isHorizontal()||a.reverse(),n.max=e.max(a),n.min=e.min(a),i.reverse?(a.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},getPixelForValue:function(t){var n,r,i,o=this,a=o.start,s=+o.getRightValue(t),u=o.options,l=u.ticks;return o.isHorizontal()?(i=e.log10(o.end)-e.log10(a),0===s?r=o.left:(n=o.width,r=o.left+n/i*(e.log10(s)-e.log10(a)))):(n=o.height,0!==a||l.reverse?0===o.end&&l.reverse?(i=e.log10(o.start)-e.log10(o.minNotZero),r=s===o.end?o.top:s===o.minNotZero?o.top+.02*n:o.top+.02*n+.98*n/i*(e.log10(s)-e.log10(o.minNotZero))):0===s?r=l.reverse?o.top:o.bottom:(i=e.log10(o.end)-e.log10(a),n=o.height,r=o.bottom-n/i*(e.log10(s)-e.log10(a))):(i=e.log10(o.end)-e.log10(o.minNotZero),r=s===a?o.bottom:s===o.minNotZero?o.bottom-.02*n:o.bottom-.02*n-.98*n/i*(e.log10(s)-e.log10(o.minNotZero)))),r},getValueForPixel:function(t){var n,r,i=this,o=e.log10(i.end)-e.log10(i.start);return i.isHorizontal()?(r=i.width,n=i.start*Math.pow(10,(t-i.left)*o/r)):(r=i.height,n=Math.pow(10,(i.bottom-t)*o/r)/i.start),n}});t.scaleService.registerScaleType("logarithmic",r,n)}},"20j+":function(t,e,n){"use strict";t.exports=function(t){var e=t.canvasHelpers={};e.drawPoint=function(e,n,r,i,o){var a,s,u,l,c,f;if("object"==typeof n&&("[object HTMLImageElement]"===(a=n.toString())||"[object HTMLCanvasElement]"===a))return void e.drawImage(n,i-n.width/2,o-n.height/2,n.width,n.height);if(!(isNaN(r)||r<=0)){switch(n){default:e.beginPath(),e.arc(i,o,r,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),s=3*r/Math.sqrt(3),c=s*Math.sqrt(3)/2,e.moveTo(i-s/2,o+c/3),e.lineTo(i+s/2,o+c/3),e.lineTo(i,o-2*c/3),e.closePath(),e.fill();break;case"rect":f=1/Math.SQRT2*r,e.beginPath(),e.fillRect(i-f,o-f,2*f,2*f),e.strokeRect(i-f,o-f,2*f,2*f);break;case"rectRounded":var d=r/Math.SQRT2,h=i-d,p=o-d,g=Math.SQRT2*r;t.helpers.drawRoundedRectangle(e,h,p,g,g,r/2),e.fill();break;case"rectRot":f=1/Math.SQRT2*r,e.beginPath(),e.moveTo(i-f,o),e.lineTo(i,o+f),e.lineTo(i+f,o),e.lineTo(i,o-f),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,o+r),e.lineTo(i,o-r),e.moveTo(i-r,o),e.lineTo(i+r,o),e.closePath();break;case"crossRot":e.beginPath(),u=Math.cos(Math.PI/4)*r,l=Math.sin(Math.PI/4)*r,e.moveTo(i-u,o-l),e.lineTo(i+u,o+l),e.moveTo(i-u,o+l),e.lineTo(i+u,o-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,o+r),e.lineTo(i,o-r),e.moveTo(i-r,o),e.lineTo(i+r,o),u=Math.cos(Math.PI/4)*r,l=Math.sin(Math.PI/4)*r,e.moveTo(i-u,o-l),e.lineTo(i+u,o+l),e.moveTo(i-u,o+l),e.lineTo(i+u,o-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-r,o),e.lineTo(i+r,o),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,o),e.lineTo(i+r,o),e.closePath()}e.stroke()}},e.clipArea=function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},e.unclipArea=function(t){t.restore()},e.lineTo=function(t,e,n,r){return n.steppedLine?("after"===n.steppedLine?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y)):n.tension?void t.bezierCurveTo(r?e.controlPointPreviousX:e.controlPointNextX,r?e.controlPointPreviousY:e.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):void t.lineTo(n.x,n.y)},t.helpers.canvas=e}},"21It":function(t,e,n){"use strict";var r=n("FtD3");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},"2Bh9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("dIim"),i=n.n(r),o=n("o0J0"),a=n.n(o);e.default={components:{Status:i.a,MainSidebar:a.a}}},"2ddL":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.defaults.radar={aspectRatio:1,scale:{type:"radialLinear"},elements:{line:{tension:0}}},t.controllers.radar=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,linkScales:e.noop,update:function(t){var n=this,r=n.getMeta(),i=r.dataset,o=r.data,a=i.custom||{},s=n.getDataset(),u=n.chart.options.elements.line,l=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),e.extend(r.dataset,{_datasetIndex:n.index,_scale:l,_children:o,_loop:!0,_model:{tension:a.tension?a.tension:e.getValueOrDefault(s.lineTension,u.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||u.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||u.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||u.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:u.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||u.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||u.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||u.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||u.borderJoinStyle}}),r.dataset.pivot(),e.each(o,function(e,r){n.updateElement(e,r,t)},n),n.updateBezierControlPoints()},updateElement:function(t,n,r){var i=this,o=t.custom||{},a=i.getDataset(),s=i.chart.scale,u=i.chart.options.elements.point,l=s.getPointPositionForValue(n,a.data[n]);void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),e.extend(t,{_datasetIndex:i.index,_index:n,_scale:s,_model:{x:r?s.xCenter:l.x,y:r?s.yCenter:l.y,tension:o.tension?o.tension:e.getValueOrDefault(a.lineTension,i.chart.options.elements.line.tension),radius:o.radius?o.radius:e.getValueAtIndexOrDefault(a.pointRadius,n,u.radius),backgroundColor:o.backgroundColor?o.backgroundColor:e.getValueAtIndexOrDefault(a.pointBackgroundColor,n,u.backgroundColor),borderColor:o.borderColor?o.borderColor:e.getValueAtIndexOrDefault(a.pointBorderColor,n,u.borderColor),borderWidth:o.borderWidth?o.borderWidth:e.getValueAtIndexOrDefault(a.pointBorderWidth,n,u.borderWidth),pointStyle:o.pointStyle?o.pointStyle:e.getValueAtIndexOrDefault(a.pointStyle,n,u.pointStyle),hitRadius:o.hitRadius?o.hitRadius:e.getValueAtIndexOrDefault(a.pointHitRadius,n,u.hitRadius)}}),t._model.skip=o.skip?o.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,n=this.getMeta();e.each(n.data,function(r,i){var o=r._model,a=e.splineCurve(e.previousItem(n.data,i,!0)._model,o,e.nextItem(n.data,i,!0)._model,o.tension);o.controlPointPreviousX=Math.max(Math.min(a.previous.x,t.right),t.left),o.controlPointPreviousY=Math.max(Math.min(a.previous.y,t.bottom),t.top),o.controlPointNextX=Math.max(Math.min(a.next.x,t.right),t.left),o.controlPointNextY=Math.max(Math.min(a.next.y,t.bottom),t.top),r.pivot()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t.custom||{},i=t._index,o=t._model;o.radius=r.hoverRadius?r.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),o.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,e.getHoverColor(o.backgroundColor)),o.borderColor=r.hoverBorderColor?r.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,e.getHoverColor(o.borderColor)),o.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,o.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t.custom||{},i=t._index,o=t._model,a=this.chart.options.elements.point;o.radius=r.radius?r.radius:e.getValueAtIndexOrDefault(n.pointRadius,i,a.radius),o.backgroundColor=r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(n.pointBackgroundColor,i,a.backgroundColor),o.borderColor=r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(n.pointBorderColor,i,a.borderColor),o.borderWidth=r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(n.pointBorderWidth,i,a.borderWidth)}})}},"2xI1":function(t,e,n){"use strict";var r=n("DN1M");t.exports=function(t){t.platform={acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},t.helpers.extend(t.platform,r(t))}},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"40fB":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n={position:"bottom"},r=t.Scale.extend({getLabels:function(){var t=this.chart.data;return(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1;var r;void 0!==t.options.ticks.min&&(r=e.indexOf(n,t.options.ticks.min),t.minIndex=-1!==r?r:t.minIndex),void 0!==t.options.ticks.max&&(r=e.indexOf(n,t.options.ticks.max),t.maxIndex=-1!==r?r:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,r=n.chart.data,i=n.isHorizontal();return r.yLabels&&!i?n.getRightValue(r.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e,n,r){var i,o=this,a=Math.max(o.maxIndex+1-o.minIndex-(o.options.gridLines.offsetGridLines?0:1),1);if(void 0!==t&&null!==t&&(i=o.isHorizontal()?t.x:t.y),void 0!==i||void 0!==t&&isNaN(e)){var s=o.getLabels();t=i||t;var u=s.indexOf(t);e=-1!==u?u:e}if(o.isHorizontal()){var l=o.width/a,c=l*(e-o.minIndex);return(o.options.gridLines.offsetGridLines&&r||o.maxIndex===o.minIndex&&r)&&(c+=l/2),o.left+Math.round(c)}var f=o.height/a,d=f*(e-o.minIndex);return o.options.gridLines.offsetGridLines&&r&&(d+=f/2),o.top+Math.round(d)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null,e)},getValueForPixel:function(t){var e=this,n=Math.max(e.ticks.length-(e.options.gridLines.offsetGridLines?0:1),1),r=e.isHorizontal(),i=(r?e.width:e.height)/n;return t-=r?e.left:e.top,e.options.gridLines.offsetGridLines&&(t-=i/2),t<=0?0:Math.round(t/i)},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",r,n)}},"48EJ":function(t,e,n){var r=n("VU/8")(n("83CG"),n("P0wg"),null,null,null);t.exports=r.exports},"4Uxm":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.defaults.global.plugins={},t.plugins={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var r,i,o,a,s,u=this.descriptors(t),l=u.length;for(r=0;r<l;++r)if(i=u[r],o=i.plugin,"function"==typeof(s=o[e])&&(a=[t].concat(n||[]),a.push(i.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(n){var r=n._plugins||(n._plugins={});if(r.id===this._cacheId)return r.descriptors;var i=[],o=[],a=n&&n.config||{},s=t.defaults.global.plugins,u=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var n=t.id,r=u[n];!1!==r&&(!0===r&&(r=e.clone(s[n])),i.push(t),o.push({plugin:t,options:r||{}}))}}),r.descriptors=o,r.id=this._cacheId,o}},t.pluginService=t.plugins,t.PluginBase=t.Element.extend({})}},"5ImO":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n=t.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},t.elements.Arc=t.Element.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,n){var r=this._view;if(r){for(var i=e.getAngleFromPoint(r,{x:t,y:n}),o=i.angle,a=i.distance,s=r.startAngle,u=r.endAngle;u<s;)u+=2*Math.PI;for(;o>u;)o-=2*Math.PI;for(;o<s;)o+=2*Math.PI;var l=o>=s&&o<=u,c=a>=r.innerRadius&&a<=r.outerRadius;return l&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,r=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,r),t.arc(e.x,e.y,e.innerRadius,r,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})}},"5VQ+":function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},"5VY+":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card mb-4"},[n("div",{staticClass:"card-header"},[t._v("Throughput - "+t._s(t.slug))]),t._v(" "),n("div",{staticClass:"card-body"},[n("loader",{attrs:{yes:t.loading}}),t._v(" "),t.loading||t.rawData.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n Not Enough Data\n ")]),t._v(" "),!t.loading&&t.rawData.length?n("line-chart",{attrs:{data:t.metric.throughPutChart}}):t._e()],1)]),t._v(" "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Runtime - "+t._s(t.slug))]),t._v(" "),n("div",{staticClass:"card-body"},[n("loader",{attrs:{yes:t.loading}}),t._v(" "),t.loading||t.rawData.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n Not Enough Data\n ")]),t._v(" "),!t.loading&&t.rawData.length?n("line-chart",{attrs:{data:t.metric.runTimeChart}}):t._e()],1)])])])},staticRenderFns:[]}},"6hBi":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"mainContent"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Overview")]),t._v(" "),n("div",{staticClass:"card-body p-0"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"stats row"},[n("div",{staticClass:"stat col-3 p-4"},[n("h2",{staticClass:"stat-title"},[t._v("Jobs Per Minute")]),t._v(" "),n("h3",{staticClass:"stat-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.jobsPerMinute)+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4"},[n("h2",{staticClass:"stat-title"},[t._v("Jobs past hour")]),t._v(" "),n("h3",{staticClass:"stat-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.recentJobs)+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4"},[n("h2",{staticClass:"stat-title"},[t._v("Failed Jobs past hour")]),t._v(" "),n("h3",{staticClass:"stat-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.recentlyFailed)+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4 border-right-0"},[n("h2",{staticClass:"stat-title"},[t._v("Status")]),t._v(" "),n("h3",{staticClass:"stat-meta"},[t._v(" ")]),t._v(" "),n("div",{staticClass:"d-flex align-items-center"},[n("status",{staticClass:"mr-2",attrs:{active:"running"==t.stats.status,pending:"paused"==t.stats.status}}),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s({running:"Active",paused:"Paused",inactive:"Inactive"}[t.stats.status])+"\n ")])],1)]),t._v(" "),n("div",{staticClass:"stat col-3 p-4 border-bottom-0"},[n("h2",{staticClass:"stat-title"},[t._v("Total Processes")]),t._v(" "),n("h3",{staticClass:"state-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.processes)+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4 border-bottom-0"},[n("h2",{staticClass:"stat-title"},[t._v("Max Wait Time")]),t._v(" "),n("h3",{staticClass:"stat-meta"},[t._v("\n "+t._s(t.stats.max_wait_queue||" ")+"\n ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.max_wait_time?t.humanTime(t.stats.max_wait_time):"-")+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4 border-bottom-0"},[n("h2",{staticClass:"stat-title"},[t._v("Max Runtime")]),t._v(" "),n("h3",{staticClass:"state-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.queueWithMaxRuntime?t.stats.queueWithMaxRuntime:"-")+"\n ")])]),t._v(" "),n("div",{staticClass:"stat col-3 p-4 border-0"},[n("h2",{staticClass:"stat-title"},[t._v("Max Throughput")]),t._v(" "),n("h3",{staticClass:"state-meta"},[t._v(" ")]),t._v(" "),n("span",{staticClass:"stat-value"},[t._v("\n "+t._s(t.stats.queueWithMaxThroughput?t.stats.queueWithMaxThroughput:"-")+"\n ")])])])])])]),t._v(" "),t.workload.length?n("div",{staticClass:"card mt-4"},[n("div",{staticClass:"card-header"},[t._v("Current Workload")]),t._v(" "),n("div",{staticClass:"table-responsive"},[n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Queue")]),t._v(" "),n("th",[t._v("Processes")]),t._v(" "),n("th",[t._v("Jobs")]),t._v(" "),n("th",[t._v("Wait")])])]),t._v(" "),n("tbody",t._l(t.workload,function(e){return n("tr",[n("td",[n("span",[t._v(t._s(e.name))])]),t._v(" "),n("td",[t._v(t._s(e.processes))]),t._v(" "),n("td",[t._v(t._s(e.length))]),t._v(" "),n("td",[t._v(t._s(t.humanTime(e.wait)))])])}))])])]):t._e(),t._v(" "),t._l(t.workers,function(e){return n("div",{key:e.name,staticClass:"card mt-4"},[n("div",{staticClass:"card-header"},[t._v(t._s(e.name))]),t._v(" "),n("div",{staticClass:"table-responsive"},[n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Supervisor")]),t._v(" "),n("th",[t._v("Processes")]),t._v(" "),n("th",[t._v("Queues")]),t._v(" "),n("th",[t._v("Balancing")])])]),t._v(" "),n("tbody",t._l(e.supervisors,function(r){return n("tr",[n("td",{staticClass:"ph2"},[n("span",{staticClass:"fw7"},[t._v(t._s(t.superVisorDisplayName(r.name,e.name)))])]),t._v(" "),n("td",[t._v(t._s(t.countProcesses(r.processes)))]),t._v(" "),n("td",[t._v(t._s(r.options.queue))]),t._v(" "),n("td",{staticClass:"d-flex align-items-center"},[n("status",{staticClass:"mr-2",attrs:{active:r.options.balance}}),t._v(" "),r.options.balance?n("span",[t._v("\n ("+t._s(r.options.balance.charAt(0).toUpperCase()+r.options.balance.slice(1))+")\n ")]):t._e()],1)])}))])])])})],2)])},staticRenderFns:[]}},"6rMk":function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:e.noop,onComplete:e.noop},t.Animation=t.Element.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,r){var i,o,a=this.animations;for(e.chart=t,r||(t.animating=!0),i=0,o=a.length;i<o;++i)if(a[i].chart===t)return void(a[i]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var n=e.findIndex(this.animations,function(e){return e.chart===t});-1!==n&&(this.animations.splice(n,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=e.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;t.dropFrames>1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var r=Date.now();t.dropFrames+=(r-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var n,r,i=this.animations,o=0;o<i.length;)n=i[o],r=n.chart,n.currentStep=(n.currentStep||0)+t,n.currentStep=Math.min(n.currentStep,n.numSteps),e.callback(n.render,[r,n],r),e.callback(n.onAnimationProgress,[n],r),n.currentStep>=n.numSteps?(e.callback(n.onAnimationComplete,[n],r),r.animating=!1,i.splice(o,1)):++o}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},"72Lu":function(t,e,n){"use strict";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]}},"7GwW":function(t,e,n){"use strict";var r=n("cGG2"),i=n("21It"),o=n("DQCr"),a=n("oJlt"),s=n("GHBc"),u=n("FtD3"),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");t.exports=function(t){return new Promise(function(e,c){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest,p="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||s(t.url)||(h=new window.XDomainRequest,p="onload",g=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+l(v+":"+m)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[p]=function(){if(h&&(4===h.readyState||g)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};i(e,c,o),h=null}},h.onerror=function(){c(u("Network Error",t)),h=null},h.ontimeout=function(){c(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n("p1b6"),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(d[t.xsrfHeaderName]=_)}if("setRequestHeader"in h&&r.forEach(d,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete d[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),c(t),h=null)}),void 0===f&&(f=null),h.send(f)})}},"7t+N":function(t,e,n){var r,i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function a(t,e){e=e||at;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function s(t){var e=!!t&&"length"in t&&t.length,n=yt.type(t);return"function"!==n&&!yt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function l(t,e,n){return yt.isFunction(e)?yt.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?yt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?yt.grep(t,function(t){return ft.call(e,t)>-1!==n}):Dt.test(e)?yt.filter(e,t,n):(e=yt.filter(e,t),yt.grep(t,function(t){return ft.call(e,t)>-1!==n&&1===t.nodeType}))}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){var e={};return yt.each(t.match(Pt)||[],function(t,n){e[n]=!0}),e}function d(t){return t}function h(t){throw t}function p(t,e,n,r){var i;try{t&&yt.isFunction(i=t.promise)?i.call(t).done(e).fail(n):t&&yt.isFunction(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function g(){at.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),yt.ready()}function v(){this.expando=yt.expando+v.uid++}function m(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Ht.test(t)?JSON.parse(t):t)}function y(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Vt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=m(n)}catch(t){}Wt.set(t,e,n)}else n=void 0;return n}function _(t,e,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return yt.css(t,e,"")},u=s(),l=n&&n[3]||(yt.cssNumber[e]?"":"px"),c=(yt.cssNumber[e]||"px"!==l&&+u)&&zt.exec(yt.css(t,e));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,yt.style(t,e,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(t){var e,n=t.ownerDocument,r=t.nodeName,i=qt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=yt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),qt[r]=i,i)}function x(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Ft.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&$t(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Ft.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function w(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&u(t,e)?yt.merge([t],n):n}function C(t,e){for(var n=0,r=t.length;n<r;n++)Ft.set(t[n],"globalEval",!e||Ft.get(e[n],"globalEval"))}function k(t,e,n,r,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),d=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===yt.type(o))yt.merge(d,o.nodeType?[o]:o);else if(Xt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(Jt.exec(o)||["",""])[1].toLowerCase(),u=Qt[s]||Qt._default,a.innerHTML=u[1]+yt.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;yt.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(r&&yt.inArray(o,r)>-1)i&&i.push(o);else if(l=yt.contains(o.ownerDocument,o),a=w(f.appendChild(o),"script"),l&&C(a),n)for(c=0;o=a[c++];)Kt.test(o.type||"")&&n.push(o);return f}function S(){return!0}function T(){return!1}function A(){try{return at.activeElement}catch(t){}}function D(t,e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(s in e)D(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=T;else if(!i)return t;return 1===o&&(a=i,i=function(t){return yt().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=yt.guid++)),t.each(function(){yt.event.add(this,e,i,r,n)})}function E(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?yt(">tbody",t)[0]||t:t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function M(t){var e=ae.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function I(t,e){var n,r,i,o,a,s,u,l;if(1===e.nodeType){if(Ft.hasData(t)&&(o=Ft.access(t),a=Ft.set(e,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)yt.event.add(e,i,l[i][n])}Wt.hasData(t)&&(s=Wt.access(t),u=yt.extend({},s),Wt.set(e,u))}}function P(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function L(t,e,n,r){e=lt.apply([],e);var i,o,s,u,l,c,f=0,d=t.length,h=d-1,p=e[0],g=yt.isFunction(p);if(g||d>1&&"string"==typeof p&&!mt.checkClone&&oe.test(p))return t.each(function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),L(o,e,n,r)});if(d&&(i=k(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=yt.map(w(i,"script"),O),u=s.length;f<d;f++)l=i,f!==h&&(l=yt.clone(l,!0,!0),u&&yt.merge(s,w(l,"script"))),n.call(t[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,yt.map(s,M),f=0;f<u;f++)l=s[f],Kt.test(l.type||"")&&!Ft.access(l,"globalEval")&&yt.contains(c,l)&&(l.src?yt._evalUrl&&yt._evalUrl(l.src):a(l.textContent.replace(se,""),c))}return t}function N(t,e,n){for(var r,i=e?yt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||yt.cleanData(w(r)),r.parentNode&&(n&&yt.contains(r.ownerDocument,r)&&C(w(r,"script")),r.parentNode.removeChild(r));return t}function R(t,e,n){var r,i,o,a,s=t.style;return n=n||ce(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||yt.contains(t.ownerDocument,t)||(a=yt.style(t,e)),!mt.pixelMarginRight()&&le.test(a)&&ue.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function j(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function F(t){if(t in ve)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ge.length;n--;)if((t=ge[n]+e)in ve)return t}function W(t){var e=yt.cssProps[t];return e||(e=yt.cssProps[t]=F(t)||t),e}function H(t,e,n){var r=zt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function V(t,e,n,r,i){var o,a=0;for(o=n===(r?"border":"content")?4:"width"===e?1:0;o<4;o+=2)"margin"===n&&(a+=yt.css(t,n+Ut[o],!0,i)),r?("content"===n&&(a-=yt.css(t,"padding"+Ut[o],!0,i)),"margin"!==n&&(a-=yt.css(t,"border"+Ut[o]+"Width",!0,i))):(a+=yt.css(t,"padding"+Ut[o],!0,i),"padding"!==n&&(a+=yt.css(t,"border"+Ut[o]+"Width",!0,i)));return a}function B(t,e,n){var r,i=ce(t),o=R(t,e,i),a="border-box"===yt.css(t,"boxSizing",!1,i);return le.test(o)?o:(r=a&&(mt.boxSizingReliable()||o===t.style[e]),"auto"===o&&(o=t["offset"+e[0].toUpperCase()+e.slice(1)]),(o=parseFloat(o)||0)+V(t,e,n||(a?"border":"content"),r,i)+"px")}function z(t,e,n,r,i){return new z.prototype.init(t,e,n,r,i)}function U(){ye&&(!1===at.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(U):n.setTimeout(U,yt.fx.interval),yt.fx.tick())}function $(){return n.setTimeout(function(){me=void 0}),me=yt.now()}function Y(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=Ut[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function q(t,e,n){for(var r,i=(K.tweeners[e]||[]).concat(K.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function G(t,e,n){var r,i,o,a,s,u,l,c,f="width"in e||"height"in e,d=this,h={},p=t.style,g=t.nodeType&&$t(t),v=Ft.get(t,"fxshow");n.queue||(a=yt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,yt.queue(t,"fx").length||a.empty.fire()})}));for(r in e)if(i=e[r],_e.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}h[r]=v&&v[r]||yt.style(t,r)}if((u=!yt.isEmptyObject(e))||!yt.isEmptyObject(h)){f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=v&&v.display,null==l&&(l=Ft.get(t,"display")),c=yt.css(t,"display"),"none"===c&&(l?c=l:(x([t],!0),l=t.style.display||l,c=yt.css(t,"display"),x([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===yt.css(t,"float")&&(u||(d.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1;for(r in h)u||(v?"hidden"in v&&(g=v.hidden):v=Ft.access(t,"fxshow",{display:l}),o&&(v.hidden=!g),g&&x([t],!0),d.done(function(){g||x([t]),Ft.remove(t,"fxshow");for(r in h)yt.style(t,r,h[r])})),u=q(g?v[r]:0,r,d),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}}function J(t,e){var n,r,i,o,a;for(n in t)if(r=yt.camelCase(n),i=e[r],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=yt.cssHooks[r])&&"expand"in a){o=a.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function K(t,e,n){var r,i,o=0,a=K.prefilters.length,s=yt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=me||$(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(t,[l,o,n]),o<1&&u?n:(u||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:yt.extend({},e),opts:yt.extend(!0,{specialEasing:{},easing:yt.easing._default},n),originalProperties:e,originalOptions:n,startTime:me||$(),duration:n.duration,tweens:[],createTween:function(e,n){var r=yt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(J(c,l.opts.specialEasing);o<a;o++)if(r=K.prefilters[o].call(l,t,c,l.opts))return yt.isFunction(r.stop)&&(yt._queueHooks(l.elem,l.opts.queue).stop=yt.proxy(r.stop,r)),r;return yt.map(c,q,l),yt.isFunction(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),yt.fx.timer(yt.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}function Q(t){return(t.match(Pt)||[]).join(" ")}function X(t){return t.getAttribute&&t.getAttribute("class")||""}function Z(t,e,n,r){var i;if(Array.isArray(e))yt.each(e,function(e,i){n||Oe.test(t)?r(t,i):Z(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==yt.type(e))r(t,e);else for(i in e)Z(t+"["+i+"]",e[i],n,r)}function tt(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Pt)||[];if(yt.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function et(t,e,n,r){function i(s){var u;return o[s]=!0,yt.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=t===Be;return i(e.dataTypes[0])||!o["*"]&&i("*")}function nt(t,e){var n,r,i=yt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&yt.extend(!0,t,r),t}function rt(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function it(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}var ot=[],at=n.document,st=Object.getPrototypeOf,ut=ot.slice,lt=ot.concat,ct=ot.push,ft=ot.indexOf,dt={},ht=dt.toString,pt=dt.hasOwnProperty,gt=pt.toString,vt=gt.call(Object),mt={},yt=function(t,e){return new yt.fn.init(t,e)},_t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bt=/^-ms-/,xt=/-([a-z])/g,wt=function(t,e){return e.toUpperCase()};yt.fn=yt.prototype={jquery:"3.2.1",constructor:yt,length:0,toArray:function(){return ut.call(this)},get:function(t){return null==t?ut.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=yt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return yt.each(this,t)},map:function(t){return this.pushStack(yt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ut.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ct,sort:ot.sort,splice:ot.splice},yt.extend=yt.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||yt.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],r=t[e],a!==r&&(l&&r&&(yt.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&yt.isPlainObject(n)?n:{},a[e]=yt.extend(l,o,r)):void 0!==r&&(a[e]=r));return a},yt.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===yt.type(t)},isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=yt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==ht.call(t))&&(!(e=st(t))||"function"==typeof(n=pt.call(e,"constructor")&&e.constructor)&>.call(n)===vt)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?dt[ht.call(t)]||"object":typeof t},globalEval:function(t){a(t)},camelCase:function(t){return t.replace(bt,"ms-").replace(xt,wt)},each:function(t,e){var n,r=0;if(s(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(_t,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?yt.merge(n,"string"==typeof t?[t]:t):ct.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:ft.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(s(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return lt.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),yt.isFunction(t))return r=ut.call(arguments,2),i=function(){return t.apply(e||this,r.concat(ut.call(arguments)))},i.guid=t.guid=t.guid||yt.guid++,i},now:Date.now,support:mt}),"function"==typeof Symbol&&(yt.fn[Symbol.iterator]=ot[Symbol.iterator]),yt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){dt["[object "+e+"]"]=e.toLowerCase()});var Ct=function(t){function e(t,e,n,r){var i,o,a,s,u,c,d,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:W)!==M&&O(e),e=e||M,P)){if(11!==p&&(u=gt.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&j(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return K.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&b.getElementsByClassName&&e.getElementsByClassName)return K.apply(n,e.getElementsByClassName(i)),n}if(b.qsa&&!U[t+" "]&&(!L||!L.test(t))){if(1!==p)h=e,d=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(_t,bt):e.setAttribute("id",s=F),c=k(t),o=c.length;o--;)c[o]="#"+s+" "+f(c[o]);d=c.join(","),h=vt.test(t)&&l(e.parentNode)||e}if(d)try{return K.apply(n,h.querySelectorAll(d)),n}catch(t){}finally{s===F&&e.removeAttribute("id")}}}return T(t.replace(ot,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[F]=!0,t}function i(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&wt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function f(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function d(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=V++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,u){var l,c,f,d=[H,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(f=e[F]||(e[F]={}),c=f[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===H&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=t(e,n,u))return!0}return!1}}function h(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function p(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function g(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function v(t,e,n,i,o,a){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,f,d=[],h=[],v=a.length,m=r||p(e||"*",s.nodeType?[s]:s,[]),y=!t||!r&&e?m:g(m,d,t,s,u),_=n?o||(r?t:v||i)?[]:a:y;if(n&&n(y,_,s,u),i)for(l=g(_,h),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(_[h[c]]=!(y[h[c]]=f));if(r){if(o||t){if(o){for(l=[],c=_.length;c--;)(f=_[c])&&l.push(y[c]=f);o(null,_=[],l,u)}for(c=_.length;c--;)(f=_[c])&&(l=o?X(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else _=g(_===a?_.splice(v,_.length):_),o?o(null,a,_,u):K.apply(a,_)})}function m(t){for(var e,n,r,i=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],s=o?1:0,u=d(function(t){return t===e},a,!0),l=d(function(t){return X(e,t)>-1},a,!0),c=[function(t,n,r){var i=!o&&(r||n!==A)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];s<i;s++)if(n=x.relative[t[s].type])c=[d(h(c),n)];else{if(n=x.filter[t[s].type].apply(null,t[s].matches),n[F]){for(r=++s;r<i&&!x.relative[t[r].type];r++);return v(s>1&&h(c),s>1&&f(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(ot,"$1"),n,s<r&&m(t.slice(s,r)),r<i&&m(t=t.slice(r)),r<i&&f(t))}c.push(n)}return h(c)}function y(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,u,l){var c,f,d,h=0,p="0",v=r&&[],m=[],y=A,_=r||o&&x.find.TAG("*",l),b=H+=null==y?1:Math.random()||.1,w=_.length;for(l&&(A=a===M||a||l);p!==w&&null!=(c=_[p]);p++){if(o&&c){for(f=0,a||c.ownerDocument===M||(O(c),s=!P);d=t[f++];)if(d(c,a||M,s)){u.push(c);break}l&&(H=b)}i&&((c=!d&&c)&&h--,r&&v.push(c))}if(h+=p,i&&p!==h){for(f=0;d=n[f++];)d(v,m,a,s);if(r){if(h>0)for(;p--;)v[p]||m[p]||(m[p]=G.call(u));m=g(m)}K.apply(u,m),l&&!r&&m.length>0&&h+n.length>1&&e.uniqueSort(u)}return l&&(H=b,A=y),v};return i?r(a):a}var _,b,x,w,C,k,S,T,A,D,E,O,M,I,P,L,N,R,j,F="sizzle"+1*new Date,W=t.document,H=0,V=0,B=n(),z=n(),U=n(),$=function(t,e){return t===e&&(E=!0),0},Y={}.hasOwnProperty,q=[],G=q.pop,J=q.push,K=q.push,Q=q.slice,X=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",nt="\\["+tt+"*("+et+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+et+"))|)"+tt+"*\\]",rt=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+nt+")*)|.*)\\)|)",it=new RegExp(tt+"+","g"),ot=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),at=new RegExp("^"+tt+"*,"+tt+"*"),st=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),ut=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),lt=new RegExp(rt),ct=new RegExp("^"+et+"$"),ft={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,ht=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,mt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,bt=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},xt=function(){O()},wt=d(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{K.apply(q=Q.call(W.childNodes),W.childNodes),q[W.childNodes.length].nodeType}catch(t){K={apply:q.length?function(t,e){J.apply(t,Q.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}b=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:W;return r!==M&&9===r.nodeType&&r.documentElement?(M=r,I=M.documentElement,P=!C(M),W!==M&&(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),b.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),b.getElementsByTagName=i(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),b.getElementsByClassName=pt.test(M.getElementsByClassName),b.getById=i(function(t){return I.appendChild(t).id=F,!M.getElementsByName||!M.getElementsByName(F).length}),b.getById?(x.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}}):(x.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),x.find.TAG=b.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):b.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},x.find.CLASS=b.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&P)return e.getElementsByClassName(t)},N=[],L=[],(b.qsa=pt.test(M.querySelectorAll))&&(i(function(t){I.appendChild(t).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+tt+"*(?:value|"+Z+")"),t.querySelectorAll("[id~="+F+"-]").length||L.push("~="),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+F+"+*").length||L.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),I.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(b.matchesSelector=pt.test(R=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&i(function(t){b.disconnectedMatch=R.call(t,"*"),R.call(t,"[s!='']:x"),N.push("!=",rt)}),L=L.length&&new RegExp(L.join("|")),N=N.length&&new RegExp(N.join("|")),e=pt.test(I.compareDocumentPosition),j=e||pt.test(I.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},$=e?function(t,e){if(t===e)return E=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!b.sortDetached&&e.compareDocumentPosition(t)===n?t===M||t.ownerDocument===W&&j(W,t)?-1:e===M||e.ownerDocument===W&&j(W,e)?1:D?X(D,t)-X(D,e):0:4&n?-1:1)}:function(t,e){if(t===e)return E=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],u=[e];if(!i||!o)return t===M?-1:e===M?1:i?-1:o?1:D?X(D,t)-X(D,e):0;if(i===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===W?-1:u[r]===W?1:0},M):M},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==M&&O(t),n=n.replace(ut,"='$1']"),b.matchesSelector&&P&&!U[n+" "]&&(!N||!N.test(n))&&(!L||!L.test(n)))try{var r=R.call(t,n);if(r||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return e(n,M,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==M&&O(t),j(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==M&&O(t);var n=x.attrHandle[e.toLowerCase()],r=n&&Y.call(x.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==r?r:b.attributes||!P?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(_t,bt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(E=!b.detectDuplicates,D=!b.sortStable&&t.slice(0),t.sort($),E){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return D=null,t},w=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=w(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=w(e);return n},x=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(mt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(mt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&<.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(mt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(it," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,d,h,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,_=!1;if(v){if(o){for(;g;){for(d=e;d=d[g];)if(s?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(d=v,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[t]||[],h=l[0]===H&&l[1],_=h&&l[2],d=h&&v.childNodes[h];d=++h&&d&&d[g]||(_=h=0)||p.pop();)if(1===d.nodeType&&++_&&d===e){c[t]=[H,h,_];break}}else if(y&&(d=e,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[t]||[],h=l[0]===H&&l[1],_=h),!1===_)for(;(d=++h&&d&&d[g]||(_=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++_||(y&&(f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[t]=[H,_]),d!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,n){var i,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=X(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=S(t.replace(ot,"$1"));return i[F]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(mt,yt),function(e){return(e.textContent||e.innerText||w(e)).indexOf(t)>-1}}),lang:r(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(mt,yt).toLowerCase(),function(e){var n;do{if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===I},focus:function(t){return t===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return ht.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:u(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},x.pseudos.nth=x.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[_]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(_);for(_ in{submit:!0,reset:!0})x.pseudos[_]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(_);return c.prototype=x.filters=x.pseudos,x.setFilters=new c,k=e.tokenize=function(t,n){var r,i,o,a,s,u,l,c=z[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=x.preFilter;s;){r&&!(i=at.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=st.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ot," ")}),s=s.slice(r.length));for(a in x.filter)!(i=ft[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):z(t,u).slice(0)},S=e.compile=function(t,e){var n,r=[],i=[],o=U[t+" "];if(!o){for(e||(e=k(t)),n=e.length;n--;)o=m(e[n]),o[F]?r.push(o):i.push(o);o=U(t,y(i,r)),o.selector=t}return o},T=e.select=function(t,e,n,r){var i,o,a,s,u,c="function"==typeof t&&t,d=!r&&k(t=c.selector||t);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&P&&x.relative[o[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(mt,yt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(a=o[i],!x.relative[s=a.type]);)if((u=x.find[s])&&(r=u(a.matches[0].replace(mt,yt),vt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&f(o)))return K.apply(n,r),n;break}}return(c||S(t,d))(r,e,!P,n,!e||vt.test(t)&&l(e.parentNode)||e),n},b.sortStable=F.split("").sort($).join("")===F,b.detectDuplicates=!!E,O(),b.sortDetached=i(function(t){return 1&t.compareDocumentPosition(M.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),b.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(Z,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);yt.find=Ct,yt.expr=Ct.selectors,yt.expr[":"]=yt.expr.pseudos,yt.uniqueSort=yt.unique=Ct.uniqueSort,yt.text=Ct.getText,yt.isXMLDoc=Ct.isXML,yt.contains=Ct.contains,yt.escapeSelector=Ct.escape;var kt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&yt(t).is(n))break;r.push(t)}return r},St=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Tt=yt.expr.match.needsContext,At=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Dt=/^.[^:#\[\.,]*$/;yt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?yt.find.matchesSelector(r,t)?[r]:[]:yt.find.matches(t,yt.grep(e,function(t){return 1===t.nodeType}))},yt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(yt(t).filter(function(){for(e=0;e<r;e++)if(yt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)yt.find(t,i[e],n);return r>1?yt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Tt.test(t)?yt(t):t||[],!1).length}});var Et,Ot=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(yt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Et,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Ot.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof yt?e[0]:e,yt.merge(this,yt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:at,!0)),At.test(r[1])&&yt.isPlainObject(e))for(r in e)yt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=at.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):yt.isFunction(t)?void 0!==n.ready?n.ready(t):t(yt):yt.makeArray(t,this)}).prototype=yt.fn,Et=yt(at);var Mt=/^(?:parents|prev(?:Until|All))/,It={children:!0,contents:!0,next:!0,prev:!0};yt.fn.extend({has:function(t){var e=yt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(yt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&yt(t);if(!Tt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&yt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?yt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ft.call(yt(t),this[0]):ft.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(yt.uniqueSort(yt.merge(this.get(),yt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),yt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return kt(t,"parentNode")},parentsUntil:function(t,e,n){return kt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return kt(t,"nextSibling")},prevAll:function(t){return kt(t,"previousSibling")},nextUntil:function(t,e,n){return kt(t,"nextSibling",n)},prevUntil:function(t,e,n){return kt(t,"previousSibling",n)},siblings:function(t){return St((t.parentNode||{}).firstChild,t)},children:function(t){return St(t.firstChild)},contents:function(t){return u(t,"iframe")?t.contentDocument:(u(t,"template")&&(t=t.content||t),yt.merge([],t.childNodes))}},function(t,e){yt.fn[t]=function(n,r){var i=yt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=yt.filter(r,i)),this.length>1&&(It[t]||yt.uniqueSort(i),Mt.test(t)&&i.reverse()),this.pushStack(i)}});var Pt=/[^\x20\t\r\n\f]+/g;yt.Callbacks=function(t){t="string"==typeof t?f(t):yt.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){yt.each(n,function(n,r){yt.isFunction(r)?t.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==yt.type(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return yt.each(arguments,function(t,e){for(var n;(n=yt.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?yt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},yt.extend({Deferred:function(t){var e=[["notify","progress",yt.Callbacks("memory"),yt.Callbacks("memory"),2],["resolve","done",yt.Callbacks("once memory"),yt.Callbacks("once memory"),0,"resolved"],["reject","fail",yt.Callbacks("once memory"),yt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return yt.Deferred(function(n){yt.each(e,function(e,r){var i=yt.isFunction(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&yt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(t<a)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,yt.isFunction(l)?i?l.call(n,o(a,e,d,i),o(a,e,h,i)):(a++,l.call(n,o(a,e,d,i),o(a,e,h,i),o(a,e,d,e.notifyWith))):(r!==d&&(s=void 0,u=[n]),(i||e.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){yt.Deferred.exceptionHook&&yt.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(r!==h&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?c():(yt.Deferred.getStackHook&&(c.stackTrace=yt.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return yt.Deferred(function(n){e[0][3].add(o(0,n,yt.isFunction(i)?i:d,n.notifyWith)),e[1][3].add(o(0,n,yt.isFunction(t)?t:d)),e[2][3].add(o(0,n,yt.isFunction(r)?r:h))}).promise()},promise:function(t){return null!=t?yt.extend(t,i):i}},o={};return yt.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[0][2].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ut.call(arguments),o=yt.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ut.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(p(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||yt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Lt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;yt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Lt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},yt.readyException=function(t){n.setTimeout(function(){throw t})};var Nt=yt.Deferred();yt.fn.ready=function(t){return Nt.then(t).catch(function(t){yt.readyException(t)}),this},yt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--yt.readyWait:yt.isReady)||(yt.isReady=!0,!0!==t&&--yt.readyWait>0||Nt.resolveWith(at,[yt]))}}),yt.ready.then=Nt.then,"complete"===at.readyState||"loading"!==at.readyState&&!at.documentElement.doScroll?n.setTimeout(yt.ready):(at.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var Rt=function(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===yt.type(n)){i=!0;for(s in n)Rt(t,e,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,yt.isFunction(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(yt(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},jt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};v.uid=1,v.prototype={cache:function(t){var e=t[this.expando];return e||(e={},jt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[yt.camelCase(e)]=n;else for(r in e)i[yt.camelCase(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][yt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){Array.isArray(e)?e=e.map(yt.camelCase):(e=yt.camelCase(e),e=e in r?[e]:e.match(Pt)||[]),n=e.length;for(;n--;)delete r[e[n]]}(void 0===e||yt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!yt.isEmptyObject(e)}};var Ft=new v,Wt=new v,Ht=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Vt=/[A-Z]/g;yt.extend({hasData:function(t){return Wt.hasData(t)||Ft.hasData(t)},data:function(t,e,n){return Wt.access(t,e,n)},removeData:function(t,e){Wt.remove(t,e)},_data:function(t,e,n){return Ft.access(t,e,n)},_removeData:function(t,e){Ft.remove(t,e)}}),yt.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Wt.get(o),1===o.nodeType&&!Ft.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=yt.camelCase(r.slice(5)),y(o,r,i[r])));Ft.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Wt.set(this,t)}):Rt(this,function(e){var n;if(o&&void 0===e){if(void 0!==(n=Wt.get(o,t)))return n;if(void 0!==(n=y(o,t)))return n}else this.each(function(){Wt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Wt.remove(this,t)})}}),yt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Ft.get(t,e),n&&(!r||Array.isArray(n)?r=Ft.access(t,e,yt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=yt.queue(t,e),r=n.length,i=n.shift(),o=yt._queueHooks(t,e),a=function(){yt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ft.get(t,n)||Ft.access(t,n,{empty:yt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",n])})})}}),yt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?yt.queue(this[0],t):void 0===e?this:this.each(function(){var n=yt.queue(this,t,e);yt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&yt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){yt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=yt.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Ft.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var Bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,zt=new RegExp("^(?:([+-])=|)("+Bt+")([a-z%]*)$","i"),Ut=["Top","Right","Bottom","Left"],$t=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&yt.contains(t.ownerDocument,t)&&"none"===yt.css(t,"display")},Yt=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=a[o];return i},qt={};yt.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){$t(this)?yt(this).show():yt(this).hide()})}});var Gt=/^(?:checkbox|radio)$/i,Jt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Kt=/^$|\/(?:java|ecma)script/i,Qt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td;var Xt=/<|&#?\w+;/;!function(){var t=at.createDocumentFragment(),e=t.appendChild(at.createElement("div")),n=at.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),mt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",mt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Zt=at.documentElement,te=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;yt.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,h,p,g,v=Ft.get(t);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&yt.find.matchesSelector(Zt,i),n.guid||(n.guid=yt.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==yt&&yt.event.triggered!==e.type?yt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Pt)||[""],l=e.length;l--;)s=ne.exec(e[l])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h&&(f=yt.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=yt.event.special[h]||{},c=yt.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&yt.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||(d=u[h]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),yt.event.global[h]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,h,p,g,v=Ft.hasData(t)&&Ft.get(t);if(v&&(u=v.events)){for(e=(e||"").match(Pt)||[""],l=e.length;l--;)if(s=ne.exec(e[l])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(f=yt.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,d=u[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,p,v.handle)||yt.removeEvent(t,h,v.handle),delete u[h])}else for(h in u)yt.event.remove(t,h+e[l],n,r,!0);yt.isEmptyObject(u)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=yt.event.fix(t),u=new Array(arguments.length),l=(Ft.get(this,"events")||{})[s.type]||[],c=yt.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=yt.event.handlers.call(this,s,l),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((yt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=e[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?yt(i,this).index(l)>-1:yt.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(yt.Event.prototype,t,{enumerable:!0,configurable:!0,get:yt.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[yt.expando]?t:new yt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==A()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===A()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&u(this,"input"))return this.click(),!1},_default:function(t){return u(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},yt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},yt.Event=function(t,e){if(!(this instanceof yt.Event))return new yt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?S:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&yt.extend(this,e),this.timeStamp=t&&t.timeStamp||yt.now(),this[yt.expando]=!0},yt.Event.prototype={constructor:yt.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=S,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=S,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=S,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},yt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&te.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ee.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},yt.event.addProp),yt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){yt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||yt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),yt.fn.extend({on:function(t,e,n,r){return D(this,t,e,n,r)},one:function(t,e,n,r){return D(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,yt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=T),this.each(function(){yt.event.remove(this,t,n,e)})}});var re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ie=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,ae=/^true\/(.*)/,se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;yt.extend({htmlPrefilter:function(t){return t.replace(re,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,s=t.cloneNode(!0),u=yt.contains(t.ownerDocument,t);if(!(mt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||yt.isXMLDoc(t)))for(a=w(s),o=w(t),r=0,i=o.length;r<i;r++)P(o[r],a[r]);if(e)if(n)for(o=o||w(t),a=a||w(s),r=0,i=o.length;r<i;r++)I(o[r],a[r]);else I(t,s);return a=w(s,"script"),a.length>0&&C(a,!u&&w(t,"script")),s},cleanData:function(t){for(var e,n,r,i=yt.event.special,o=0;void 0!==(n=t[o]);o++)if(jt(n)){if(e=n[Ft.expando]){if(e.events)for(r in e.events)i[r]?yt.event.remove(n,r):yt.removeEvent(n,r,e.handle);n[Ft.expando]=void 0}n[Wt.expando]&&(n[Wt.expando]=void 0)}}}),yt.fn.extend({detach:function(t){return N(this,t,!0)},remove:function(t){return N(this,t)},text:function(t){return Rt(this,function(t){return void 0===t?yt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){E(this,t).appendChild(t)}})},prepend:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=E(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(yt.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return yt.clone(this,t,e)})},html:function(t){return Rt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ie.test(t)&&!Qt[(Jt.exec(t)||["",""])[1].toLowerCase()]){t=yt.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(yt.cleanData(w(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return L(this,arguments,function(e){var n=this.parentNode;yt.inArray(this,t)<0&&(yt.cleanData(w(this)),n&&n.replaceChild(e,this))},t)}}),yt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){yt.fn[t]=function(t){for(var n,r=[],i=yt(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),yt(i[a])[e](n),ct.apply(r,n.get());return this.pushStack(r)}});var ue=/^margin/,le=new RegExp("^("+Bt+")(?!px)[a-z%]+$","i"),ce=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Zt.appendChild(a);var t=n.getComputedStyle(s);e="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",i="4px"===t.marginRight,Zt.removeChild(a),s=null}}var e,r,i,o,a=at.createElement("div"),s=at.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",mt.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),yt.extend(mt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var fe=/^(none|table(?!-c[ea]).+)/,de=/^--/,he={position:"absolute",visibility:"hidden",display:"block"},pe={letterSpacing:"0",fontWeight:"400"},ge=["Webkit","Moz","ms"],ve=at.createElement("div").style;yt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=R(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=yt.camelCase(e),u=de.test(e),l=t.style;if(u||(e=W(s)),a=yt.cssHooks[e]||yt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:l[e];o=typeof n,"string"===o&&(i=zt.exec(n))&&i[1]&&(n=_(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(yt.cssNumber[s]?"":"px")),mt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(u?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,a,s=yt.camelCase(e);return de.test(e)||(e=W(s)),a=yt.cssHooks[e]||yt.cssHooks[s],a&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=R(t,e,r)),"normal"===i&&e in pe&&(i=pe[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),yt.each(["height","width"],function(t,e){yt.cssHooks[e]={get:function(t,n,r){if(n)return!fe.test(yt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?B(t,e,r):Yt(t,he,function(){return B(t,e,r)})},set:function(t,n,r){var i,o=r&&ce(t),a=r&&V(t,e,r,"border-box"===yt.css(t,"boxSizing",!1,o),o);return a&&(i=zt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=yt.css(t,e)),H(t,n,a)}}}),yt.cssHooks.marginLeft=j(mt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(R(t,"marginLeft"))||t.getBoundingClientRect().left-Yt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),yt.each({margin:"",padding:"",border:"Width"},function(t,e){yt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+Ut[r]+e]=o[r]||o[r-2]||o[0];return i}},ue.test(t)||(yt.cssHooks[t+e].set=H)}),yt.fn.extend({css:function(t,e){return Rt(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=ce(t),i=e.length;a<i;a++)o[e[a]]=yt.css(t,e[a],!1,r);return o}return void 0!==n?yt.style(t,e,n):yt.css(t,e)},t,e,arguments.length>1)}}),yt.Tween=z,z.prototype={constructor:z,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||yt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(yt.cssNumber[n]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this)},run:function(t){var e,n=z.propHooks[this.prop];return this.options.duration?this.pos=e=yt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=yt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){yt.fx.step[t.prop]?yt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[yt.cssProps[t.prop]]&&!yt.cssHooks[t.prop]?t.elem[t.prop]=t.now:yt.style(t.elem,t.prop,t.now+t.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},yt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},yt.fx=z.prototype.init,yt.fx.step={};var me,ye,_e=/^(?:toggle|show|hide)$/,be=/queueHooks$/;yt.Animation=yt.extend(K,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _(n.elem,t,zt.exec(e),n),n}]},tweener:function(t,e){yt.isFunction(t)?(e=t,t=["*"]):t=t.match(Pt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],K.tweeners[n]=K.tweeners[n]||[],K.tweeners[n].unshift(e)},prefilters:[G],prefilter:function(t,e){e?K.prefilters.unshift(t):K.prefilters.push(t)}}),yt.speed=function(t,e,n){var r=t&&"object"==typeof t?yt.extend({},t):{complete:n||!n&&e||yt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!yt.isFunction(e)&&e};return yt.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in yt.fx.speeds?r.duration=yt.fx.speeds[r.duration]:r.duration=yt.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){yt.isFunction(r.old)&&r.old.call(this),r.queue&&yt.dequeue(this,r.queue)},r},yt.fn.extend({fadeTo:function(t,e,n,r){return this.filter($t).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=yt.isEmptyObject(t),o=yt.speed(e,n,r),a=function(){var e=K(this,yt.extend({},t),o);(i||Ft.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=yt.timers,a=Ft.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&be.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||yt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Ft.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=yt.timers,a=r?r.length:0;for(n.finish=!0,yt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),yt.each(["toggle","show","hide"],function(t,e){var n=yt.fn[e];yt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(Y(e,!0),t,r,i)}}),yt.each({slideDown:Y("show"),slideUp:Y("hide"),slideToggle:Y("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){yt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),yt.timers=[],yt.fx.tick=function(){var t,e=0,n=yt.timers;for(me=yt.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||yt.fx.stop(),me=void 0},yt.fx.timer=function(t){yt.timers.push(t),yt.fx.start()},yt.fx.interval=13,yt.fx.start=function(){ye||(ye=!0,U())},yt.fx.stop=function(){ye=null},yt.fx.speeds={slow:600,fast:200,_default:400},yt.fn.delay=function(t,e){return t=yt.fx?yt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=at.createElement("input"),e=at.createElement("select"),n=e.appendChild(at.createElement("option"));t.type="checkbox",mt.checkOn=""!==t.value,mt.optSelected=n.selected,t=at.createElement("input"),t.value="t",t.type="radio",mt.radioValue="t"===t.value}();var xe,we=yt.expr.attrHandle;yt.fn.extend({attr:function(t,e){return Rt(this,yt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){yt.removeAttr(this,t)})}}),yt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?yt.prop(t,e,n):(1===o&&yt.isXMLDoc(t)||(i=yt.attrHooks[e.toLowerCase()]||(yt.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void yt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=yt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!mt.radioValue&&"radio"===e&&u(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Pt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return!1===e?yt.removeAttr(t,n):t.setAttribute(n,n),n}},yt.each(yt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=we[e]||yt.find.attr;we[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=we[a],we[a]=i,i=null!=n(t,e,r)?a:null,we[a]=o),i}});var Ce=/^(?:input|select|textarea|button)$/i,ke=/^(?:a|area)$/i;yt.fn.extend({prop:function(t,e){return Rt(this,yt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[yt.propFix[t]||t]})}}),yt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&yt.isXMLDoc(t)||(e=yt.propFix[e]||e,i=yt.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=yt.find.attr(t,"tabindex");return e?parseInt(e,10):Ce.test(t.nodeName)||ke.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),mt.optSelected||(yt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),yt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){yt.propFix[this.toLowerCase()]=this}),yt.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(yt.isFunction(t))return this.each(function(e){yt(this).addClass(t.call(this,e,X(this)))});if("string"==typeof t&&t)for(e=t.match(Pt)||[];n=this[u++];)if(i=X(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=Q(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(yt.isFunction(t))return this.each(function(e){yt(this).removeClass(t.call(this,e,X(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Pt)||[];n=this[u++];)if(i=X(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=Q(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):yt.isFunction(t)?this.each(function(n){yt(this).toggleClass(t.call(this,n,X(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=yt(this),o=t.match(Pt)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=X(this),e&&Ft.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Ft.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+Q(X(n))+" ").indexOf(e)>-1)return!0;return!1}});var Se=/\r/g;yt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=yt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,yt(this).val()):t,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=yt.map(i,function(t){return null==t?"":t+""})),(e=yt.valHooks[this.type]||yt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return(e=yt.valHooks[i.type]||yt.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Se,""):null==n?"":n)}}}),yt.extend({valHooks:{option:{get:function(t){var e=yt.find.attr(t,"value");return null!=e?e:Q(yt.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(e=yt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=yt.makeArray(e),a=i.length;a--;)r=i[a],(r.selected=yt.inArray(yt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),yt.each(["radio","checkbox"],function(){yt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=yt.inArray(yt(t).val(),e)>-1}},mt.checkOn||(yt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Te=/^(?:focusinfocus|focusoutblur)$/;yt.extend(yt.event,{trigger:function(t,e,r,i){var o,a,s,u,l,c,f,d=[r||at],h=pt.call(t,"type")?t.type:t,p=pt.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||at,3!==r.nodeType&&8!==r.nodeType&&!Te.test(h+yt.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),l=h.indexOf(":")<0&&"on"+h,t=t[yt.expando]?t:new yt.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:yt.makeArray(e,[t]),f=yt.event.special[h]||{},i||!f.trigger||!1!==f.trigger.apply(r,e))){if(!i&&!f.noBubble&&!yt.isWindow(r)){for(u=f.delegateType||h,Te.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||at)&&d.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=d[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||h,c=(Ft.get(a,"events")||{})[t.type]&&Ft.get(a,"handle"),c&&c.apply(a,e),(c=l&&a[l])&&c.apply&&jt(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),e)||!jt(r)||l&&yt.isFunction(r[h])&&!yt.isWindow(r)&&(s=r[l],s&&(r[l]=null),yt.event.triggered=h,r[h](),yt.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(t,e,n){var r=yt.extend(new yt.Event,n,{type:t,isSimulated:!0});yt.event.trigger(r,null,e)}}),yt.fn.extend({trigger:function(t,e){return this.each(function(){yt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return yt.event.trigger(t,e,n,!0)}}),yt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){yt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),yt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),mt.focusin="onfocusin"in n,mt.focusin||yt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){yt.event.simulate(e,t.target,yt.event.fix(t))};yt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Ft.access(r,e);i||r.addEventListener(t,n,!0),Ft.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Ft.access(r,e)-1;i?Ft.access(r,e,i):(r.removeEventListener(t,n,!0),Ft.remove(r,e))}}});var Ae=n.location,De=yt.now(),Ee=/\?/;yt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||yt.error("Invalid XML: "+t),e};var Oe=/\[\]$/,Me=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;yt.param=function(t,e){var n,r=[],i=function(t,e){var n=yt.isFunction(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!yt.isPlainObject(t))yt.each(t,function(){i(this.name,this.value)});else for(n in t)Z(n,t[n],e,i);return r.join("&")},yt.fn.extend({serialize:function(){return yt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=yt.prop(this,"elements");return t?yt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!yt(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!Gt.test(t))}).map(function(t,e){var n=yt(this).val();return null==n?null:Array.isArray(n)?yt.map(n,function(t){return{name:e.name,value:t.replace(Me,"\r\n")}}):{name:e.name,value:n.replace(Me,"\r\n")}}).get()}});var Le=/%20/g,Ne=/#.*$/,Re=/([?&])_=[^&]*/,je=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,We=/^(?:GET|HEAD)$/,He=/^\/\//,Ve={},Be={},ze="*/".concat("*"),Ue=at.createElement("a");Ue.href=Ae.href,yt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:Fe.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":yt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?nt(nt(t,yt.ajaxSettings),e):nt(yt.ajaxSettings,t)},ajaxPrefilter:tt(Ve),ajaxTransport:tt(Be),ajax:function(t,e){function r(t,e,r,s){var l,d,h,b,x,w=e;c||(c=!0,u&&n.clearTimeout(u),i=void 0,a=s||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=rt(p,C,r)),b=it(p,b,C,l),l?(p.ifModified&&(x=C.getResponseHeader("Last-Modified"),x&&(yt.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(yt.etag[o]=x)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=b.state,d=b.data,h=b.error,l=!h)):(h=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(e||w)+"",l?m.resolveWith(g,[d,w,C]):m.rejectWith(g,[C,w,h]),C.statusCode(_),_=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[C,p,l?d:h]),y.fireWith(g,[C,w]),f&&(v.trigger("ajaxComplete",[C,p]),--yt.active||yt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,a,s,u,l,c,f,d,h,p=yt.ajaxSetup({},e),g=p.context||p,v=p.context&&(g.nodeType||g.jquery)?yt(g):yt.event,m=yt.Deferred(),y=yt.Callbacks("once memory"),_=p.statusCode||{},b={},x={},w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=je.exec(a);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return i&&i.abort(e),r(0,e),this}};if(m.promise(C),p.url=((t||p.url||Ae.href)+"").replace(He,Ae.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Pt)||[""],null==p.crossDomain){l=at.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=yt.param(p.data,p.traditional)),et(Ve,p,e,C),c)return C;f=yt.event&&p.global,f&&0==yt.active++&&yt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!We.test(p.type),o=p.url.replace(Ne,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Le,"+")):(h=p.url.slice(o.length),p.data&&(o+=(Ee.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Re,"$1"),h=(Ee.test(o)?"&":"?")+"_="+De+++h),p.url=o+h),p.ifModified&&(yt.lastModified[o]&&C.setRequestHeader("If-Modified-Since",yt.lastModified[o]),yt.etag[o]&&C.setRequestHeader("If-None-Match",yt.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+ze+"; q=0.01":""):p.accepts["*"]);for(d in p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,C,p)||c))return C.abort();if(w="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),i=et(Be,p,e,C)){if(C.readyState=1,f&&v.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(u=n.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,i.send(b,r)}catch(t){if(c)throw t;r(-1,t)}}else r(-1,"No Transport");return C},getJSON:function(t,e,n){return yt.get(t,e,n,"json")},getScript:function(t,e){return yt.get(t,void 0,e,"script")}}),yt.each(["get","post"],function(t,e){yt[e]=function(t,n,r,i){return yt.isFunction(n)&&(i=i||r,r=n,n=void 0),yt.ajax(yt.extend({url:t,type:e,dataType:i,data:n,success:r},yt.isPlainObject(t)&&t))}}),yt._evalUrl=function(t){return yt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},yt.fn.extend({wrapAll:function(t){var e;return this[0]&&(yt.isFunction(t)&&(t=t.call(this[0])),e=yt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return yt.isFunction(t)?this.each(function(e){yt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=yt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=yt.isFunction(t);return this.each(function(n){yt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){yt(this).replaceWith(this.childNodes)}),this}}),yt.expr.pseudos.hidden=function(t){return!yt.expr.pseudos.visible(t)},yt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},yt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var $e={0:200,1223:204},Ye=yt.ajaxSettings.xhr();mt.cors=!!Ye&&"withCredentials"in Ye,mt.ajax=Ye=!!Ye,yt.ajaxTransport(function(t){var e,r;if(mt.cors||Ye&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o($e[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),yt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),yt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return yt.globalEval(t),t}}}),yt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),yt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=yt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),at.head.appendChild(e[0])},abort:function(){n&&n()}}}});var qe=[],Ge=/(=)\?(?=&|$)|\?\?/;yt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||yt.expando+"_"+De++;return this[t]=!0,t}}),yt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=yt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||yt.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?yt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,qe.push(i)),a&&yt.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),mt.createHTMLDocument=function(){var t=at.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),yt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(mt.createHTMLDocument?(e=at.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=at.location.href,e.head.appendChild(r)):e=at),i=At.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=k([t],e,o),o&&o.length&&yt(o).remove(),yt.merge([],i.childNodes))},yt.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=Q(t.slice(s)),t=t.slice(0,s)),yt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&yt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?yt("<div>").append(yt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},yt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){yt.fn[e]=function(t){return this.on(e,t)}}),yt.expr.pseudos.animated=function(t){return yt.grep(yt.timers,function(e){return t===e.elem}).length},yt.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l,c=yt.css(t,"position"),f=yt(t),d={};"static"===c&&(t.style.position="relative"),s=f.offset(),o=yt.css(t,"top"),u=yt.css(t,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),yt.isFunction(e)&&(e=e.call(t,n,yt.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+i),"using"in e?e.using.call(t,d):f.css(d)}},yt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){yt.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),e=o.ownerDocument,n=e.documentElement,i=e.defaultView,{top:r.top+i.pageYOffset-n.clientTop,left:r.left+i.pageXOffset-n.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===yt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),u(t[0],"html")||(r=t.offset()),r={top:r.top+yt.css(t[0],"borderTopWidth",!0),left:r.left+yt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-r.top-yt.css(n,"marginTop",!0),left:e.left-r.left-yt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===yt.css(t,"position");)t=t.offsetParent;return t||Zt})}}),yt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;yt.fn[t]=function(r){return Rt(this,function(t,r,i){var o;if(yt.isWindow(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),yt.each(["top","left"],function(t,e){yt.cssHooks[e]=j(mt.pixelPosition,function(t,n){if(n)return n=R(t,e),le.test(n)?yt(t).position()[e]+"px":n})}),yt.each({Height:"height",Width:"width"},function(t,e){yt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){yt.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Rt(this,function(e,n,i){var o;return yt.isWindow(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?yt.css(e,n,s):yt.style(e,n,i,s)},e,a?i:void 0,a)}})}),yt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),yt.holdReady=function(t){t?yt.readyWait++:yt.ready(!0)},yt.isArray=Array.isArray,yt.parseJSON=JSON.parse,yt.nodeName=u,r=[],void 0!==(i=function(){return yt}.apply(e,r))&&(t.exports=i);var Je=n.jQuery,Ke=n.$;return yt.noConflict=function(t){return n.$===yt&&(n.$=Ke),t&&n.jQuery===yt&&(n.jQuery=Je),yt},o||(n.jQuery=n.$=yt),yt})},"7uuL":function(t,e,n){var r=n("VU/8")(n("M42n"),n("rg2b"),null,null,null);t.exports=r.exports},"83CG":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("PJh5"),i=(n.n(r),n("jZKv")),o=n.n(i);e.default={components:{Layout:o.a},data:function(){return{tagSearchPhrase:"",searchTimeout:null,page:1,perPage:50,totalPages:1,loadingJobs:!0,retryingJobs:[],jobs:[]}},watch:{tagSearchPhrase:function(){var t=this;clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){t.loadJobs()},500)}},created:function(){document.title="Horizon - Failed Jobs",this.loadJobs(),this.refreshJobsPeriodically()},destroyed:function(){clearInterval(this.interval)},methods:{loadJobs:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(this.loadingJobs=!0);var n=this.tagSearchPhrase?"tag="+this.tagSearchPhrase+"&":"";this.$http.get("/horizon/api/jobs/failed?"+n+"starting_at="+e).then(function(e){t.jobs=e.data.jobs,t.totalPages=Math.ceil(e.data.total/t.perPage),t.loadingJobs=!1})},retry:function(t){var e=this;this.isRetrying(t)||(this.retryingJobs.push(t),this.$http.post("/horizon/api/jobs/retry/"+t).then(function(){setTimeout(function(){e.retryingJobs=_.reject(e.retryingJobs,function(e){return e==t})},3e3)}))},isRetrying:function(t){return _.includes(this.retryingJobs,t)},hasCompleted:function(t){return _.find(t.retried_by,function(t){return"completed"==t.status})},refreshJobsPeriodically:function(){var t=this;this.interval=setInterval(function(){1==t.page&&t.loadJobs(-1,!1)},3e3)},previous:function(){this.loadJobs((this.page-2)*this.perPage-1),this.page-=1},next:function(){this.loadJobs(this.page*this.perPage-1),this.page+=1}}}},"8d6t":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{active:{},pending:{},activeClass:{default:"fsuccess"}},data:function(){return{theActiveClass:this.activeClass}}}},"8uqi":function(t,e,n){"use strict";t.exports=function(t){function e(t,e){return n.getValueOrDefault(t.showLine,e.showLines)}var n=t.helpers;t.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},t.controllers.line=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,update:function(t){var r,i,o,a=this,s=a.getMeta(),u=s.dataset,l=s.data||[],c=a.chart.options,f=c.elements.line,d=a.getScaleForId(s.yAxisID),h=a.getDataset(),p=e(h,c);for(p&&(o=u.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),u._scale=d,u._datasetIndex=a.index,u._children=l,u._model={spanGaps:h.spanGaps?h.spanGaps:c.spanGaps,tension:o.tension?o.tension:n.getValueOrDefault(h.lineTension,f.tension),backgroundColor:o.backgroundColor?o.backgroundColor:h.backgroundColor||f.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:h.borderWidth||f.borderWidth,borderColor:o.borderColor?o.borderColor:h.borderColor||f.borderColor,borderCapStyle:o.borderCapStyle?o.borderCapStyle:h.borderCapStyle||f.borderCapStyle,borderDash:o.borderDash?o.borderDash:h.borderDash||f.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:h.borderDashOffset||f.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:h.borderJoinStyle||f.borderJoinStyle,fill:o.fill?o.fill:void 0!==h.fill?h.fill:f.fill,steppedLine:o.steppedLine?o.steppedLine:n.getValueOrDefault(h.steppedLine,f.stepped),cubicInterpolationMode:o.cubicInterpolationMode?o.cubicInterpolationMode:n.getValueOrDefault(h.cubicInterpolationMode,f.cubicInterpolationMode)},u.pivot()),r=0,i=l.length;r<i;++r)a.updateElement(l[r],r,t);for(p&&0!==u._model.tension&&a.updateBezierControlPoints(),r=0,i=l.length;r<i;++r)l[r].pivot()},getPointBackgroundColor:function(t,e){var r=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),o=t.custom||{};return o.backgroundColor?r=o.backgroundColor:i.pointBackgroundColor?r=n.getValueAtIndexOrDefault(i.pointBackgroundColor,e,r):i.backgroundColor&&(r=i.backgroundColor),r},getPointBorderColor:function(t,e){var r=this.chart.options.elements.point.borderColor,i=this.getDataset(),o=t.custom||{};return o.borderColor?r=o.borderColor:i.pointBorderColor?r=n.getValueAtIndexOrDefault(i.pointBorderColor,e,r):i.borderColor&&(r=i.borderColor),r},getPointBorderWidth:function(t,e){var r=this.chart.options.elements.point.borderWidth,i=this.getDataset(),o=t.custom||{};return isNaN(o.borderWidth)?isNaN(i.pointBorderWidth)?isNaN(i.borderWidth)||(r=i.borderWidth):r=n.getValueAtIndexOrDefault(i.pointBorderWidth,e,r):r=o.borderWidth,r},updateElement:function(t,e,r){var i,o,a=this,s=a.getMeta(),u=t.custom||{},l=a.getDataset(),c=a.index,f=l.data[e],d=a.getScaleForId(s.yAxisID),h=a.getScaleForId(s.xAxisID),p=a.chart.options.elements.point,g=a.chart.data.labels||[],v=1===g.length||1===l.data.length||a.chart.isCombo;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),i=h.getPixelForValue("object"==typeof f?f:NaN,e,c,v),o=r?d.getBasePixel():a.calculatePointY(f,e,c),t._xScale=h,t._yScale=d,t._datasetIndex=c,t._index=e,t._model={x:i,y:o,skip:u.skip||isNaN(i)||isNaN(o),radius:u.radius||n.getValueAtIndexOrDefault(l.pointRadius,e,p.radius),pointStyle:u.pointStyle||n.getValueAtIndexOrDefault(l.pointStyle,e,p.pointStyle),backgroundColor:a.getPointBackgroundColor(t,e),borderColor:a.getPointBorderColor(t,e),borderWidth:a.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:u.hitRadius||n.getValueAtIndexOrDefault(l.pointHitRadius,e,p.hitRadius)}},calculatePointY:function(t,e,n){var r,i,o,a=this,s=a.chart,u=a.getMeta(),l=a.getScaleForId(u.yAxisID),c=0,f=0;if(l.options.stacked){for(r=0;r<n;r++)if(i=s.data.datasets[r],o=s.getDatasetMeta(r),"line"===o.type&&o.yAxisID===l.id&&s.isDatasetVisible(r)){var d=Number(l.getRightValue(i.data[e]));d<0?f+=d||0:c+=d||0}var h=Number(l.getRightValue(t));return h<0?l.getPixelForValue(f+h):l.getPixelForValue(c+h)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,r,i,o,a,s=this,u=s.getMeta(),l=s.chart.chartArea,c=u.data||[];if(u.dataset._model.spanGaps&&(c=c.filter(function(t){return!t._model.skip})),"monotone"===u.dataset._model.cubicInterpolationMode)n.splineCurveMonotone(c);else for(e=0,r=c.length;e<r;++e)i=c[e],o=i._model,a=n.splineCurve(n.previousItem(c,e)._model,o,n.nextItem(c,e)._model,u.dataset._model.tension),o.controlPointPreviousX=a.previous.x,o.controlPointPreviousY=a.previous.y,o.controlPointNextX=a.next.x,o.controlPointNextY=a.next.y;if(s.chart.options.elements.line.capBezierPoints)for(e=0,r=c.length;e<r;++e)o=c[e]._model,o.controlPointPreviousX=t(o.controlPointPreviousX,l.left,l.right),o.controlPointPreviousY=t(o.controlPointPreviousY,l.top,l.bottom),o.controlPointNextX=t(o.controlPointNextX,l.left,l.right),o.controlPointNextY=t(o.controlPointNextY,l.top,l.bottom)},draw:function(){var n=this,r=n.chart,i=n.getMeta(),o=i.data||[],a=r.chartArea,s=o.length,u=0;for(t.canvasHelpers.clipArea(r.ctx,a),e(n.getDataset(),r.options)&&i.dataset.draw(),t.canvasHelpers.unclipArea(r.ctx);u<s;++u)o[u].draw(a)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],r=t._index,i=t.custom||{},o=t._model;o.radius=i.hoverRadius||n.getValueAtIndexOrDefault(e.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),o.backgroundColor=i.hoverBackgroundColor||n.getValueAtIndexOrDefault(e.pointHoverBackgroundColor,r,n.getHoverColor(o.backgroundColor)),o.borderColor=i.hoverBorderColor||n.getValueAtIndexOrDefault(e.pointHoverBorderColor,r,n.getHoverColor(o.borderColor)),o.borderWidth=i.hoverBorderWidth||n.getValueAtIndexOrDefault(e.pointHoverBorderWidth,r,o.borderWidth)},removeHoverStyle:function(t){var e=this,r=e.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},a=t._model;void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),a.radius=o.radius||n.getValueAtIndexOrDefault(r.pointRadius,i,e.chart.options.elements.point.radius),a.backgroundColor=e.getPointBackgroundColor(t,i),a.borderColor=e.getPointBorderColor(t,i),a.borderWidth=e.getPointBorderWidth(t,i)}})}},A5K1:function(t,e,n){"use strict";t.exports=function(t){function e(t,e,n){var r,i=t._model||{},o=i.fill;if(void 0===o&&(o=!!i.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=e+r),!(r===e||r<0||r>=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function n(t){var e,n=t.el._model||{},r=t.el._scale||{},i=t.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePosition?o=r.getBasePosition():r.getBasePixel&&(o=r.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return e=r.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function r(t,e,n){var r,i=t[e],o=i.fill,a=[e];if(!n)return o;for(;!1!==o&&-1===a.indexOf(o);){if(!isFinite(o))return o;if(!(r=t[o]))return!1;if(r.visible)return o;a.push(o),o=r.fill}return!1}function i(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),c[n](t))}function o(t){return t&&!t.skip}function a(t,e,n,r,i){var o;if(r&&i){for(t.moveTo(e[0].x,e[0].y),o=1;o<r;++o)l.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(n[i-1].x,n[i-1].y),o=i-1;o>0;--o)l.canvas.lineTo(t,n[o],n[o-1],!0)}}function s(t,e,n,r,i,s){var u,l,c,f,d,h,p,g=e.length,v=r.spanGaps,m=[],y=[],_=0,b=0;for(t.beginPath(),u=0,l=g+!!s;u<l;++u)c=u%g,f=e[c]._view,d=n(f,c,r),h=o(f),p=o(d),h&&p?(_=m.push(f),b=y.push(d)):_&&b&&(v?(h&&m.push(f),p&&y.push(d)):(a(t,m,y,_,b),_=b=0,m=[],y=[]));a(t,m,y,_,b),t.closePath(),t.fillStyle=i,t.fill()}t.defaults.global.plugins.filler={propagate:!0};var u=t.defaults,l=t.helpers,c={dataset:function(t){var e=t.fill,n=t.chart,r=n.getDatasetMeta(e),i=r&&n.isDatasetVisible(e),o=i&&r.dataset._children||[];return o.length?function(t,e){return o[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,r=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===r?t.y:r}}}};return{id:"filler",afterDatasetsUpdate:function(o,a){var s,u,l,c,f=(o.data.datasets||[]).length,d=a.propagate,h=[];for(u=0;u<f;++u)s=o.getDatasetMeta(u),l=s.dataset,c=null,l&&l._model&&l instanceof t.elements.Line&&(c={visible:o.isDatasetVisible(u),fill:e(l,u,f),chart:o,el:l}),s.$filler=c,h.push(c);for(u=0;u<f;++u)(c=h[u])&&(c.fill=r(h,u,d),c.boundary=n(c),c.mapper=i(c))},beforeDatasetDraw:function(t,e){var n=e.meta.$filler;if(n){var r=n.el,i=r._view,o=r._children||[],a=n.mapper,l=i.backgroundColor||u.global.defaultColor;a&&l&&o.length&&s(t.ctx,o,a,i,l,r._loop)}}}}},AFDx:function(t,e,n){"use strict";t.exports=function(t){function e(t){return void 0!==t._view.width}function n(t){var n,r,i,o,a=t._view;if(e(t)){var s=a.width/2;n=a.x-s,r=a.x+s,i=Math.min(a.y,a.base),o=Math.max(a.y,a.base)}else{var u=a.height/2;n=Math.min(a.x,a.base),r=Math.max(a.x,a.base),i=a.y-u,o=a.y+u}return{left:n,top:i,right:r,bottom:o}}var r=t.defaults.global;r.elements.rectangle={backgroundColor:r.defaultColor,borderWidth:0,borderColor:r.defaultColor,borderSkipped:"bottom"},t.elements.Rectangle=t.Element.extend({draw:function(){function t(t){return m[(_+t)%4]}var e,n,r,i,o,a,s,u=this._chart.ctx,l=this._view,c=l.borderWidth;if(l.horizontal?(e=l.base,n=l.x,r=l.y-l.height/2,i=l.y+l.height/2,o=n>e?1:-1,a=1,s=l.borderSkipped||"left"):(e=l.x-l.width/2,n=l.x+l.width/2,r=l.y,i=l.base,o=1,a=i>r?1:-1,s=l.borderSkipped||"bottom"),c){var f=Math.min(Math.abs(e-n),Math.abs(r-i));c=c>f?f:c;var d=c/2,h=e+("left"!==s?d*o:0),p=n+("right"!==s?-d*o:0),g=r+("top"!==s?d*a:0),v=i+("bottom"!==s?-d*a:0);h!==p&&(r=g,i=v),g!==v&&(e=h,n=p)}u.beginPath(),u.fillStyle=l.backgroundColor,u.strokeStyle=l.borderColor,u.lineWidth=c;var m=[[e,i],[e,r],[n,r],[n,i]],y=["bottom","left","top","right"],_=y.indexOf(s,0);-1===_&&(_=0);var b=t(0);u.moveTo(b[0],b[1]);for(var x=1;x<4;x++)b=t(x),u.lineTo(b[0],b[1]);u.fill(),c&&u.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var r=!1;if(this._view){var i=n(this);r=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return r},inLabelRange:function(t,r){var i=this;if(!i._view)return!1;var o=n(i);return e(i)?t>=o.left&&t<=o.right:r>=o.top&&r<=o.bottom},inXRange:function(t){var e=n(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=n(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,n,r=this._view;return e(this)?(t=r.x,n=(r.y+r.base)/2):(t=(r.x+r.base)/2,n=r.y),{x:t,y:n}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})}},Axsq:function(t,e,n){var r=n("VU/8")(n("NtI4"),n("jIQr"),null,null,null);t.exports=r.exports},CDmh:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{attrs:{id:"mainSidebar"}},[n("ul",{staticClass:"nav flex-column"},[n("router-link",{staticClass:"nav-item",attrs:{tag:"li",to:"/dashboard","active-class":"active"}},[n("a",{staticClass:"nav-link"},[n("i",[n("svg",[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-dashboard"}})])]),t._v("\n Dashboard\n ")])]),t._v(" "),n("router-link",{staticClass:"nav-item",attrs:{tag:"li",to:"/monitoring","active-class":"active"}},[n("a",{staticClass:"nav-link"},[n("i",[n("svg",[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-search"}})])]),t._v("\n Monitoring\n ")])]),t._v(" "),n("router-link",{staticClass:"nav-item",attrs:{tag:"li",to:"/metrics","active-class":"active"}},[n("a",{staticClass:"nav-link",attrs:{href:"#"}},[n("i",[n("svg",[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-chart-bar"}})])]),t._v("\n Metrics\n ")])]),t._v(" "),n("router-link",{staticClass:"nav-item",attrs:{tag:"li",to:"/recent-jobs","active-class":"active"}},[n("a",{staticClass:"nav-link",attrs:{href:"#"}},[n("i",[n("svg",[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-cog"}})])]),t._v("\n Recent Jobs\n ")])]),t._v(" "),n("router-link",{staticClass:"nav-item",attrs:{tag:"li",to:"/failed","active-class":"active"}},[n("a",{staticClass:"nav-link",attrs:{href:"#"}},[n("i",[n("svg",[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-close-outline"}})])]),t._v("\n Failed\n ")])])],1)])},staticRenderFns:[]}},DN1M:function(t,e,n){"use strict";t.exports=function(t){function e(t,e){var n=u.getStyle(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function n(t,n){var r=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t._chartjs={initial:{height:i,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===o||""===o){var a=e(t,"width");void 0!==a&&(t.width=a)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(n.options.aspectRatio||2);else{var s=e(t,"height");void 0!==a&&(t.height=s)}return t}function r(t,e,n,r,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function i(t,e){var n=l[t.type]||t.type,i=u.getRelativePosition(t,e);return r(n,e,i.x,i.y,t)}function o(t){var e=document.createElement("iframe");return e.className="chartjs-hidden-iframe",e.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;",e.tabIndex=-1,u.addEvent(e,"load",function(){u.addEvent(e.contentWindow||e,"resize",t),t()}),e}function a(t,e,n){var i=t._chartjs={ticking:!1},a=function(){i.ticking||(i.ticking=!0,u.requestAnimFrame.call(window,function(){if(i.resizer)return i.ticking=!1,e(r("resize",n))}))};i.resizer=o(a),t.insertBefore(i.resizer,t.firstChild)}function s(t){if(t&&t._chartjs){var e=t._chartjs.resizer;e&&(e.parentNode.removeChild(e),t._chartjs.resizer=null),delete t._chartjs}}var u=t.helpers,l={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};return{acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(n(t,e),r):null},releaseContext:function(t){var e=t.canvas;if(e._chartjs){var n=e._chartjs.initial;["height","width"].forEach(function(t){var r=n[t];void 0===r||null===r?e.removeAttribute(t):e.setAttribute(t,r)}),u.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e._chartjs}},addEventListener:function(t,e,n){var r=t.canvas;if("resize"===e)return void a(r.parentNode,n,t);var o=n._chartjs||(n._chartjs={}),s=o.proxies||(o.proxies={}),l=s[t.id+"_"+e]=function(e){n(i(e,t))};u.addEvent(r,e,l)},removeEventListener:function(t,e,n){var r=t.canvas;if("resize"===e)return void s(r.parentNode);var i=n._chartjs||{},o=i.proxies||{},a=o[t.id+"_"+e];a&&u.removeEvent(r,e,a)}}}},DQCr:function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n("cGG2");t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),o=a.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},Db81:function(t,e,n){"use strict";var r=n("PJh5");r="function"==typeof r?r:window.moment,t.exports=function(t){function e(t,e){var n=t.options.time;if("string"==typeof n.parser)return r(e,n.parser);if("function"==typeof n.parser)return n.parser(e);if("function"==typeof e.getMonth||"number"==typeof e)return r(e);if(e.isValid&&e.isValid())return e;var i=n.format;return"string"!=typeof i&&i.call?(console.warn("options.time.format is deprecated and replaced by options.time.parser."),i(e)):r(e,i)}function n(t,e,n,r){for(var i,o=Object.keys(s),a=o.length,u=o.indexOf(t);u<a;u++){i=o[u];var l=s[i],c=l.steps&&l.steps[l.steps.length-1]||l.maxStep;if(void 0===c||Math.ceil((n-e)/(c*l.size))<=r)break}return i}function i(t,e,n,r){var i=s[n],o=i.size,a=Math.ceil((e-t)/o),u=1,l=e-t;if(i.steps)for(var c=i.steps.length,f=0;f<c&&a>r;f++)u=i.steps[f],a=Math.ceil(l/(o*u));else for(;a>r&&r>0;)++u,a=Math.ceil(l/(o*u));return u}function o(t,e,n){var i=[];if(t.maxTicks){var o=t.stepSize;i.push(void 0!==t.min?t.min:n.min);for(var a=r(n.min);a.add(o,t.unit).valueOf()<n.max;)i.push(a.valueOf());var s=t.max||n.max;i[i.length-1]!==s&&i.push(s)}return i}var a=t.helpers,s={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}},u={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}};t.Ticks.generators.time=function(t,e){var n,i,a=t.isoWeekday;return"week"===t.unit&&!1!==a?(n=r(e.min).startOf("isoWeek").isoWeekday(a).valueOf(),i=r(e.max).startOf("isoWeek").isoWeekday(a),e.max-i>0&&i.add(1,"week"),i=i.valueOf()):(n=r(e.min).startOf(t.unit).valueOf(),i=r(e.max).startOf(t.unit),e.max-i>0&&i.add(1,t.unit),i=i.valueOf()),o(t,e,{min:n,max:i})};var l=t.Scale.extend({initialize:function(){if(!r)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");t.Scale.prototype.initialize.call(this)},determineDataLimits:function(){var t,n=this,r=n.options.time,i=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,s=n.chart.data,u={labels:[],datasets:[]};a.each(s.labels,function(a,s){var l=e(n,a);l.isValid()&&(r.round&&l.startOf(r.round),t=l.valueOf(),i=Math.min(t,i),o=Math.max(t,o),u.labels[s]=t)}),a.each(s.datasets,function(s,l){var c=[];"object"==typeof s.data[0]&&null!==s.data[0]&&n.chart.isDatasetVisible(l)?a.each(s.data,function(a,s){var u=e(n,n.getRightValue(a));u.isValid()&&(r.round&&u.startOf(r.round),t=u.valueOf(),i=Math.min(t,i),o=Math.max(t,o),c[s]=t)}):c=u.labels.slice(),u.datasets[l]=c}),n.dataMin=i,n.dataMax=o,n._parsedData=u},buildTicks:function(){var r,o,s=this,u=s.options.time,l=s.dataMin,c=s.dataMax;if(u.min){var f=e(s,u.min);u.round&&f.round(u.round),r=f.valueOf()}u.max&&(o=e(s,u.max).valueOf());var d=s.getLabelCapacity(r||l),h=u.unit||n(u.minUnit,r||l,o||c,d);s.displayFormat=u.displayFormats[h];var p=u.stepSize||i(r||l,o||c,h,d);s.ticks=t.Ticks.generators.time({maxTicks:d,min:r,max:o,stepSize:p,unit:h,isoWeekday:u.isoWeekday},{min:l,max:c}),s.max=a.max(s.ticks),s.min=a.min(s.ticks)},getLabelForIndex:function(t,n){var r=this,i=r.chart.data.labels&&t<r.chart.data.labels.length?r.chart.data.labels[t]:"",o=r.chart.data.datasets[n].data[t];return null!==o&&"object"==typeof o&&(i=r.getRightValue(o)),r.options.time.tooltipFormat&&(i=e(r,i).format(r.options.time.tooltipFormat)),i},tickFormatFunction:function(t,e,n){var r=t.format(this.displayFormat),i=this.options.ticks,o=a.getValueOrDefault(i.callback,i.userCallback);return o?o(r,e,n):r},convertTicksToLabels:function(){var t=this;t.ticksAsTimestamps=t.ticks,t.ticks=t.ticks.map(function(t){return r(t)}).map(t.tickFormatFunction,t)},getPixelForOffset:function(t){var e=this,n=e.max-e.min,r=n?(t-e.min)/n:0;if(e.isHorizontal()){var i=e.width*r;return e.left+Math.round(i)}var o=e.height*r;return e.top+Math.round(o)},getPixelForValue:function(t,n,r){var i=this,o=null;if(void 0!==n&&void 0!==r&&(o=i._parsedData.datasets[r][n]),null===o&&(t&&t.isValid||(t=e(i,i.getRightValue(t))),t&&t.isValid&&t.isValid()&&(o=t.valueOf())),null!==o)return i.getPixelForOffset(o)},getPixelForTick:function(t){return this.getPixelForOffset(this.ticksAsTimestamps[t])},getValueForPixel:function(t){var e=this,n=e.isHorizontal()?e.width:e.height,i=(t-(e.isHorizontal()?e.left:e.top))/n;return r(e.min+i*(e.max-e.min))},getLabelWidth:function(e){var n=this,r=n.options.ticks,i=n.ctx.measureText(e).width,o=Math.cos(a.toRadians(r.maxRotation)),s=Math.sin(a.toRadians(r.maxRotation));return i*o+a.getValueOrDefault(r.fontSize,t.defaults.global.defaultFontSize)*s},getLabelCapacity:function(t){var e=this;e.displayFormat=e.options.time.displayFormats.millisecond;var n=e.tickFormatFunction(r(t),0,[]),i=e.getLabelWidth(n);return(e.isHorizontal()?e.width:e.height)/i}});t.scaleService.registerScaleType("time",l,u)}},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},FDK5:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n=t.defaults.global;t.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},t.elements.Line=t.Element.extend({draw:function(){var t,r,i,o,a=this,s=a._view,u=a._chart.ctx,l=s.spanGaps,c=a._children.slice(),f=n.elements.line,d=-1;for(a._loop&&c.length&&c.push(c[0]),u.save(),u.lineCap=s.borderCapStyle||f.borderCapStyle,u.setLineDash&&u.setLineDash(s.borderDash||f.borderDash),u.lineDashOffset=s.borderDashOffset||f.borderDashOffset,u.lineJoin=s.borderJoinStyle||f.borderJoinStyle,u.lineWidth=s.borderWidth||f.borderWidth,u.strokeStyle=s.borderColor||n.defaultColor,u.beginPath(),d=-1,t=0;t<c.length;++t)r=c[t],i=e.previousItem(c,t),o=r._view,0===t?o.skip||(u.moveTo(o.x,o.y),d=t):(i=-1===d?i:c[d],o.skip||(d!==t-1&&!l||-1===d?u.moveTo(o.x,o.y):e.canvas.lineTo(u,i._view,r._view),d=t));u.stroke(),u.restore()}})}},FtD3:function(t,e,n){"use strict";var r=n("t8qj");t.exports=function(t,e,n,i){var o=new Error(t);return r(o,e,n,i)}},Fv8P:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.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(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)e.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&e.push(i[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var o=t.getDatasetMeta(0),a=n.datasets[0],s=o.data[i],u=s.custom||{},l=e.getValueAtIndexOrDefault,c=t.options.elements.arc;return{text:r,fillStyle:u.backgroundColor?u.backgroundColor:l(a.backgroundColor,i,c.backgroundColor),strokeStyle:u.borderColor?u.borderColor:l(a.borderColor,i,c.borderColor),lineWidth:u.borderWidth?u.borderWidth:l(a.borderWidth,i,c.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)i=a.getDatasetMeta(n),i.data[o].hidden=!i.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}},t.controllers.polarArea=t.DatasetController.extend({dataElementType:t.elements.Arc,linkScales:e.noop,update:function(t){var n=this,r=n.chart,i=r.chartArea,o=n.getMeta(),a=r.options,s=a.elements.arc,u=Math.min(i.right-i.left,i.bottom-i.top);r.outerRadius=Math.max((u-s.borderWidth/2)/2,0),r.innerRadius=Math.max(a.cutoutPercentage?r.outerRadius/100*a.cutoutPercentage:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),n.outerRadius=r.outerRadius-r.radiusLength*n.index,n.innerRadius=n.outerRadius-r.radiusLength,o.count=n.countVisibleElements(),e.each(o.data,function(e,r){n.updateElement(e,r,t)})},updateElement:function(t,n,r){for(var i=this,o=i.chart,a=i.getDataset(),s=o.options,u=s.animation,l=o.scale,c=e.getValueAtIndexOrDefault,f=o.data.labels,d=i.calculateCircumference(a.data[n]),h=l.xCenter,p=l.yCenter,g=0,v=i.getMeta(),m=0;m<n;++m)isNaN(a.data[m])||v.data[m].hidden||++g;var y=s.startAngle,_=t.hidden?0:l.getDistanceFromCenterForValue(a.data[n]),b=y+d*g,x=b+(t.hidden?0:d),w=u.animateScale?0:l.getDistanceFromCenterForValue(a.data[n]);e.extend(t,{_datasetIndex:i.index,_index:n,_scale:l,_model:{x:h,y:p,innerRadius:0,outerRadius:r?w:_,startAngle:r&&u.animateRotate?y:b,endAngle:r&&u.animateRotate?y:x,label:c(f,n,f[n])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var t=this.getDataset(),n=this.getMeta(),r=0;return e.each(n.data,function(e,n){isNaN(t.data[n])||e.hidden||r++}),r},calculateCircumference:function(t){var e=this.getMeta().count;return e>0&&!isNaN(t)?2*Math.PI/e:0}})}},G50Y:function(t,e,n){var r=n("VU/8")(n("KbjQ"),n("y4XJ"),null,null,null);t.exports=r.exports},G8Q8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"statusIcon"},[t.active?n("svg",{staticClass:"fill-success"},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-checkmark-outline"}})]):t.pending?t._e():n("svg",{staticClass:"fill-danger"},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-close-outline"}})]),t._v(" "),t.pending?n("svg",{staticClass:"fill-warning"},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-pause-outline"}})]):t._e()])},staticRenderFns:[]}},GBuA:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},t.controllers.bar=t.DatasetController.extend({dataElementType:t.elements.Rectangle,initialize:function(){var e,n=this;t.DatasetController.prototype.initialize.apply(n,arguments),e=n.getMeta(),e.stack=n.getDataset().stack,e.bar=!0},update:function(t){var e,n,r=this,i=r.getMeta().data;for(r._ruler=r.getRuler(),e=0,n=i.length;e<n;++e)r.updateElement(i[e],e,t)},updateElement:function(t,n,r){var i=this,o=i.chart,a=i.getMeta(),s=i.getDataset(),u=t.custom||{},l=o.options.elements.rectangle;t._xScale=i.getScaleForId(a.xAxisID),t._yScale=i.getScaleForId(a.yAxisID),t._datasetIndex=i.index,t._index=n,t._model={datasetLabel:s.label,label:o.data.labels[n],borderSkipped:u.borderSkipped?u.borderSkipped:l.borderSkipped,backgroundColor:u.backgroundColor?u.backgroundColor:e.getValueAtIndexOrDefault(s.backgroundColor,n,l.backgroundColor),borderColor:u.borderColor?u.borderColor:e.getValueAtIndexOrDefault(s.borderColor,n,l.borderColor),borderWidth:u.borderWidth?u.borderWidth:e.getValueAtIndexOrDefault(s.borderWidth,n,l.borderWidth)},i.updateElementGeometry(t,n,r),t.pivot()},updateElementGeometry:function(t,e,n){var r=this,i=t._model,o=r.getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),u=r._ruler||r.getRuler(),l=r.calculateBarValuePixels(r.index,e),c=r.calculateBarIndexPixels(r.index,e,u);i.horizontal=s,i.base=n?a:l.base,i.x=s?n?a:l.head:c.center,i.y=s?c.center:n?a:l.head,i.height=s?c.size:void 0,i.width=s?void 0:c.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(t){var e,n,r=this,i=r.chart,o=r.getIndexScale(),a=o.options.stacked,s=void 0===t?i.data.datasets.length:t+1,u=[];for(e=0;e<s;++e)n=i.getDatasetMeta(e),n.bar&&i.isDatasetVisible(e)&&(!1===a||!0===a&&-1===u.indexOf(n.stack)||void 0===a&&(void 0===n.stack||-1===u.indexOf(n.stack)))&&u.push(n.stack);return u.length},getStackIndex:function(t){return this.getStackCount(t)-1},getRuler:function(){var t=this,n=t.getIndexScale(),r=n.options,i=t.getStackCount(),o=n.isHorizontal()?n.width:n.height,a=o/n.ticks.length,s=a*r.categoryPercentage,u=s/i,l=u*r.barPercentage;return l=Math.min(e.getValueOrDefault(r.barThickness,l),e.getValueOrDefault(r.maxBarThickness,1/0)),{stackCount:i,tickSize:a,categorySize:s,categorySpacing:a-s,fullBarSize:u,barSize:l,barSpacing:u-l,scale:n}},calculateBarValuePixels:function(t,e){var n,r,i,o,a,s,u=this,l=u.chart,c=u.getMeta(),f=u.getValueScale(),d=l.data.datasets,h=Number(d[t].data[e]),p=f.options.stacked,g=c.stack,v=0;if(p||void 0===p&&void 0!==g)for(n=0;n<t;++n)r=l.getDatasetMeta(n),r.bar&&r.stack===g&&r.controller.getValueScaleId()===f.id&&l.isDatasetVisible(n)&&(i=Number(d[n].data[e]),(h<0&&i<0||h>=0&&i>0)&&(v+=i));return o=f.getPixelForValue(v),a=f.getPixelForValue(v+h),s=(a-o)/2,{size:s,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,n){var r=this,i=n.scale,o=r.chart.isCombo,a=r.getStackIndex(t),s=i.getPixelForValue(null,e,t,o),u=n.barSize;return s-=o?n.tickSize/2:0,s+=n.fullBarSize*a,s+=n.categorySpacing/2,s+=n.barSpacing/2,{size:u,base:s,head:s+u,center:s+u/2}},draw:function(){var t,n=this,r=n.chart,i=n.getMeta().data,o=n.getDataset(),a=i.length,s=0;for(e.canvas.clipArea(r.ctx,r.chartArea);s<a;++s)null===(t=o.data[s])||void 0===t||isNaN(t)||i[s].draw();e.canvas.unclipArea(r.ctx)},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t._index,i=t.custom||{},o=t._model;o.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,r,e.getHoverColor(o.backgroundColor)),o.borderColor=i.hoverBorderColor?i.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,r,e.getHoverColor(o.borderColor)),o.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,r,o.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t._index,i=t.custom||{},o=t._model,a=this.chart.options.elements.rectangle;o.backgroundColor=i.backgroundColor?i.backgroundColor:e.getValueAtIndexOrDefault(n.backgroundColor,r,a.backgroundColor),o.borderColor=i.borderColor?i.borderColor:e.getValueAtIndexOrDefault(n.borderColor,r,a.borderColor),o.borderWidth=i.borderWidth?i.borderWidth:e.getValueAtIndexOrDefault(n.borderWidth,r,a.borderWidth)}}),t.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(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}}}},t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},GHBc:function(t,e,n){"use strict";var r=n("cGG2");t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},GqGk:function(t,e,n){"use strict";t.exports=function(t){var e={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(t){return"("+t.xLabel+", "+t.yLabel+")"}}}};t.defaults.scatter=e,t.controllers.scatter=t.controllers.line,t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},IbXy:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.Ticks={generators:{linear:function(t,n){var r,i=[];if(t.stepSize&&t.stepSize>0)r=t.stepSize;else{var o=e.niceNum(n.max-n.min,!1);r=e.niceNum(o/(t.maxTicks-1),!0)}var a=Math.floor(n.min/r)*r,s=Math.ceil(n.max/r)*r;t.min&&t.max&&t.stepSize&&e.almostWhole((t.max-t.min)/t.stepSize,r/1e3)&&(a=t.min,s=t.max);var u=(s-a)/r;u=e.almostEquals(u,Math.round(u),r/1e3)?Math.round(u):Math.ceil(u),i.push(void 0!==t.min?t.min:a);for(var l=1;l<u;++l)i.push(a+l*r);return i.push(void 0!==t.max?t.max:s),i},logarithmic:function(t,n){var r,i,o=[],a=e.getValueOrDefault,s=a(t.min,Math.pow(10,Math.floor(e.log10(n.min)))),u=Math.floor(e.log10(n.max)),l=Math.ceil(n.max/Math.pow(10,u));0===s?(r=Math.floor(e.log10(n.minNotZero)),i=Math.floor(n.minNotZero/Math.pow(10,r)),o.push(s),s=i*Math.pow(10,r)):(r=Math.floor(e.log10(s)),i=Math.floor(s/Math.pow(10,r)));do{o.push(s),++i,10===i&&(i=1,++r),s=i*Math.pow(10,r)}while(r<u||r===u&&i<l);var c=a(t.max,s);return o.push(c),o}},formatters:{values:function(t){return e.isArray(t)?t:""+t},linear:function(t,n,r){var i=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var o=e.log10(Math.abs(i)),a="";if(0!==t){var s=-1*Math.floor(o);s=Math.max(Math.min(s,20),0),a=t.toFixed(s)}else a="0";return a},logarithmic:function(t,n,r){var i=t/Math.pow(10,Math.floor(e.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===n||n===r.length-1?t.toExponential():""}}}}},"JP+z":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"Jno+":function(t,e,n){var r=n("VU/8")(n("zWWF"),n("Y66b"),null,null,null);t.exports=r.exports},K3J8:function(t,e){!function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var a=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:o.end,delegateType:o.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function r(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in a)if(void 0!==t.style[e])return{end:a[e]};return!1}function i(t){var n=this,r=!1;return e(this).one(s.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||s.triggerTransitionEnd(n)},t),this}var o=!1,a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},s={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||"");try{return e(document).find(n).length>0?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(o.end)},supportsTransitionEnd:function(){return Boolean(o)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(e,n,r){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var o=r[i],a=n[i],u=a&&s.isElement(a)?"element":t(a);if(!new RegExp(o).test(u))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+u+'" but expected type "'+o+'".')}}};return function(){o=r(),e.fn.emulateTransitionEnd=i,s.supportsTransitionEnd()&&(e.event.special[s.TRANSITION_END]=n())}(),s}(),s=i,u=o,l=function(){var t="alert",n=e.fn[t],r={DISMISS:'[data-dismiss="alert"]'},i={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},o={ALERT:"alert",FADE:"fade",SHOW:"show"},u=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=a.getSelectorFromElement(t),r=!1;return n&&(r=e(n)[0]),r||(r=e(t).closest("."+o.ALERT)[0]),r},n._triggerCloseEvent=function(t){var n=e.Event(i.CLOSE);return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass(o.SHOW),!a.supportsTransitionEnd()||!e(t).hasClass(o.FADE))return void this._destroyElement(t);e(t).one(a.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(150)},n._destroyElement=function(t){e(t).detach().trigger(i.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||(i=new t(this),r.data("bs.alert",i)),"close"===n&&i[n](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(t,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(i.CLICK_DATA_API,r.DISMISS,u._handleDismiss(new u)),e.fn[t]=u._jQueryInterface,e.fn[t].Constructor=u,e.fn[t].noConflict=function(){return e.fn[t]=n,u._jQueryInterface},u}(),c=function(){var t="button",n=e.fn[t],r={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},o={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},a=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,o=e(this._element).closest(i.DATA_TOGGLE)[0];if(o){var a=e(this._element).find(i.INPUT)[0];if(a){if("radio"===a.type)if(a.checked&&e(this._element).hasClass(r.ACTIVE))t=!1;else{var s=e(o).find(i.ACTIVE)[0];s&&e(s).removeClass(r.ACTIVE)}if(t){if(a.hasAttribute("disabled")||o.hasAttribute("disabled")||a.classList.contains("disabled")||o.classList.contains("disabled"))return;a.checked=!e(this._element).hasClass(r.ACTIVE),e(a).trigger("change")}a.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!e(this._element).hasClass(r.ACTIVE)),t&&e(this._element).toggleClass(r.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("bs.button");r||(r=new t(this),e(this).data("bs.button",r)),"toggle"===n&&r[n]()})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(o.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(r.BUTTON)||(n=e(n).closest(i.BUTTON)),a._jQueryInterface.call(e(n),"toggle")}).on(o.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(i.BUTTON)[0];e(n).toggleClass(r.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn[t]=a._jQueryInterface,e.fn[t].Constructor=a,e.fn[t].noConflict=function(){return e.fn[t]=n,a._jQueryInterface},a}(),f=function(){var t="carousel",n="bs.carousel",r="."+n,i=e.fn[t],o={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},u={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},c={SLIDE:"slide"+r,SLID:"slid"+r,KEYDOWN:"keydown"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r,TOUCHEND:"touchend"+r,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},f={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},d={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 i(t,n){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(n),this._element=e(t)[0],this._indicatorsElement=e(this._element).find(d.INDICATORS)[0],this._addEventListeners()}var h=i.prototype;return h.next=function(){this._isSliding||this._slide(l.NEXT)},h.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(l.PREV)},h.pause=function(t){t||(this._isPaused=!0),e(this._element).find(d.NEXT_PREV)[0]&&a.supportsTransitionEnd()&&(a.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},h.cycle=function(t){t||(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 n=this;this._activeElement=e(this._element).find(d.ACTIVE_ITEM)[0];var r=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)return void e(this._element).one(c.SLID,function(){return n.to(t)});if(r===t)return this.pause(),void this.cycle();var i=t>r?l.NEXT:l.PREV;this._slide(i,this._items[t])}},h.dispose=function(){e(this._element).off(r),e.removeData(this._element,n),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=e.extend({},o,n),a.typeCheckConfig(t,n,u),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(c.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(e(this._element).on(c.MOUSEENTER,function(e){return t.pause(e)}).on(c.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&e(this._element).on(c.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},h._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next();break;default:return}},h._getItemIndex=function(t){return this._items=e.makeArray(e(t).parent().find(d.ITEM)),this._items.indexOf(t)},h._getItemByDirection=function(t,e){var n=t===l.NEXT,r=t===l.PREV,i=this._getItemIndex(e),o=this._items.length-1;if((r&&0===i||n&&i===o)&&!this._config.wrap)return e;var a=t===l.PREV?-1:1,s=(i+a)%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},h._triggerSlideEvent=function(t,n){var r=this._getItemIndex(t),i=this._getItemIndex(e(this._element).find(d.ACTIVE_ITEM)[0]),o=e.Event(c.SLIDE,{relatedTarget:t,direction:n,from:i,to:r});return e(this._element).trigger(o),o},h._setActiveIndicatorElement=function(t){if(this._indicatorsElement){e(this._indicatorsElement).find(d.ACTIVE).removeClass(f.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass(f.ACTIVE)}},h._slide=function(t,n){var r,i,o,s=this,u=e(this._element).find(d.ACTIVE_ITEM)[0],h=this._getItemIndex(u),p=n||u&&this._getItemByDirection(t,u),g=this._getItemIndex(p),v=Boolean(this._interval);if(t===l.NEXT?(r=f.LEFT,i=f.NEXT,o=l.LEFT):(r=f.RIGHT,i=f.PREV,o=l.RIGHT),p&&e(p).hasClass(f.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(p,o).isDefaultPrevented()&&u&&p){this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(p);var m=e.Event(c.SLID,{relatedTarget:p,direction:o,from:h,to:g});a.supportsTransitionEnd()&&e(this._element).hasClass(f.SLIDE)?(e(p).addClass(i),a.reflow(p),e(u).addClass(r),e(p).addClass(r),e(u).one(a.TRANSITION_END,function(){e(p).removeClass(r+" "+i).addClass(f.ACTIVE),e(u).removeClass(f.ACTIVE+" "+i+" "+r),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(m)},0)}).emulateTransitionEnd(600)):(e(u).removeClass(f.ACTIVE),e(p).addClass(f.ACTIVE),this._isSliding=!1,e(this._element).trigger(m)),v&&this.cycle()}},i._jQueryInterface=function(t){return this.each(function(){var r=e(this).data(n),a=e.extend({},o,e(this).data());"object"==typeof t&&e.extend(a,t);var s="string"==typeof t?t:a.slide;if(r||(r=new i(this,a),e(this).data(n,r)),"number"==typeof t)r.to(t);else if("string"==typeof s){if(void 0===r[s])throw new Error('No method named "'+s+'"');r[s]()}else a.interval&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(t){var r=a.getSelectorFromElement(this);if(r){var o=e(r)[0];if(o&&e(o).hasClass(f.CAROUSEL)){var s=e.extend({},e(o).data(),e(this).data()),u=this.getAttribute("data-slide-to");u&&(s.interval=!1),i._jQueryInterface.call(e(o),s),u&&e(o).data(n).to(u),t.preventDefault()}}},s(i,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return o}}]),i}();return e(document).on(c.CLICK_DATA_API,d.DATA_SLIDE,h._dataApiClickHandler),e(window).on(c.LOAD_DATA_API,function(){e(d.DATA_RIDE).each(function(){var t=e(this);h._jQueryInterface.call(t,t.data())})}),e.fn[t]=h._jQueryInterface,e.fn[t].Constructor=h,e.fn[t].noConflict=function(){return e.fn[t]=i,h._jQueryInterface},h}(),d=function(){var t="collapse",n="bs.collapse",r=e.fn[t],i={toggle:!0,parent:""},o={toggle:"boolean",parent:"(string|element)"},u={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},l={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},c={WIDTH:"width",HEIGHT:"height"},f={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},d=function(){function r(t,n){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=e.makeArray(e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var r=e(f.DATA_TOGGLE),i=0;i<r.length;i++){var o=r[i],s=a.getSelectorFromElement(o);null!==s&&e(s).filter(t).length>0&&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 d=r.prototype;return d.toggle=function(){e(this._element).hasClass(l.SHOW)?this.hide():this.show()},d.show=function(){var t=this;if(!this._isTransitioning&&!e(this._element).hasClass(l.SHOW)){var i,o;if(this._parent&&(i=e.makeArray(e(this._parent).children().children(f.ACTIVES)),i.length||(i=null)),!(i&&(o=e(i).data(n))&&o._isTransitioning)){var s=e.Event(u.SHOW);if(e(this._element).trigger(s),!s.isDefaultPrevented()){i&&(r._jQueryInterface.call(e(i),"hide"),o||e(i).data(n,null));var c=this._getDimension();e(this._element).removeClass(l.COLLAPSE).addClass(l.COLLAPSING),this._element.style[c]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(l.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var d=function(){e(t._element).removeClass(l.COLLAPSING).addClass(l.COLLAPSE).addClass(l.SHOW),t._element.style[c]="",t.setTransitioning(!1),e(t._element).trigger(u.SHOWN)};if(!a.supportsTransitionEnd())return void d();var h=c[0].toUpperCase()+c.slice(1),p="scroll"+h;e(this._element).one(a.TRANSITION_END,d).emulateTransitionEnd(600),this._element.style[c]=this._element[p]+"px"}}}},d.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(l.SHOW)){var n=e.Event(u.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var r=this._getDimension();if(this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",a.reflow(this._element),e(this._element).addClass(l.COLLAPSING).removeClass(l.COLLAPSE).removeClass(l.SHOW),this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var o=this._triggerArray[i],s=a.getSelectorFromElement(o);if(null!==s){var c=e(s);c.hasClass(l.SHOW)||e(o).addClass(l.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0);var f=function(){t.setTransitioning(!1),e(t._element).removeClass(l.COLLAPSING).addClass(l.COLLAPSE).trigger(u.HIDDEN)};if(this._element.style[r]="",!a.supportsTransitionEnd())return void f();e(this._element).one(a.TRANSITION_END,f).emulateTransitionEnd(600)}}},d.setTransitioning=function(t){this._isTransitioning=t},d.dispose=function(){e.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},d._getConfig=function(n){return n=e.extend({},i,n),n.toggle=Boolean(n.toggle),a.typeCheckConfig(t,n,o),n},d._getDimension=function(){return e(this._element).hasClass(c.WIDTH)?c.WIDTH:c.HEIGHT},d._getParent=function(){var t=this,n=null;a.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=e(this._config.parent)[0];var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return e(n).find(i).each(function(e,n){t._addAriaAndCollapsedClass(r._getTargetFromElement(n),[n])}),n},d._addAriaAndCollapsedClass=function(t,n){if(t){var r=e(t).hasClass(l.SHOW);n.length&&e(n).toggleClass(l.COLLAPSED,!r).attr("aria-expanded",r)}},r._getTargetFromElement=function(t){var n=a.getSelectorFromElement(t);return n?e(n)[0]:null},r._jQueryInterface=function(t){return this.each(function(){var o=e(this),a=o.data(n),s=e.extend({},i,o.data(),"object"==typeof t&&t);if(!a&&s.toggle&&/show|hide/.test(t)&&(s.toggle=!1),a||(a=new r(this,s),o.data(n,a)),"string"==typeof t){if(void 0===a[t])throw new Error('No method named "'+t+'"');a[t]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return i}}]),r}();return e(document).on(u.CLICK_DATA_API,f.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var r=e(this),i=a.getSelectorFromElement(this);e(i).each(function(){var t=e(this),i=t.data(n),o=i?"toggle":r.data();d._jQueryInterface.call(t,o)})}),e.fn[t]=d._jQueryInterface,e.fn[t].Constructor=d,e.fn[t].noConflict=function(){return e.fn[t]=r,d._jQueryInterface},d}(),h=function(){if(void 0===n)throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");var t="dropdown",r="bs.dropdown",i="."+r,o=e.fn[t],u=new RegExp("38|40|27"),l={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,CLICK:"click"+i,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},c={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left"},f={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},d={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end"},h={offset:0,flip:!0},p={offset:"(number|string|function)",flip:"boolean"},g=function(){function o(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var g=o.prototype;return g.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(c.DISABLED)){var t=o._getParentFromElement(this._element),r=e(this._menu).hasClass(c.SHOW);if(o._clearMenus(),!r){var i={relatedTarget:this._element},a=e.Event(l.SHOW,i);if(e(t).trigger(a),!a.isDefaultPrevented()){var s=this._element;e(t).hasClass(c.DROPUP)&&(e(this._menu).hasClass(c.MENULEFT)||e(this._menu).hasClass(c.MENURIGHT))&&(s=t),this._popper=new n(s,this._menu,this._getPopperConfig()),"ontouchstart"in document.documentElement&&!e(t).closest(f.NAVBAR_NAV).length&&e("body").children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(c.SHOW),e(t).toggleClass(c.SHOW).trigger(e.Event(l.SHOWN,i))}}}},g.dispose=function(){e.removeData(this._element,r),e(this._element).off(i),this._element=null,this._menu=null,null!==this._popper&&this._popper.destroy(),this._popper=null},g.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},g._addEventListeners=function(){var t=this;e(this._element).on(l.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},g._getConfig=function(n){return n=e.extend({},this.constructor.Default,e(this._element).data(),n),a.typeCheckConfig(t,n,this.constructor.DefaultType),n},g._getMenuElement=function(){if(!this._menu){var t=o._getParentFromElement(this._element);this._menu=e(t).find(f.MENU)[0]}return this._menu},g._getPlacement=function(){var t=e(this._element).parent(),n=d.BOTTOM;return t.hasClass(c.DROPUP)?(n=d.TOP,e(this._menu).hasClass(c.MENURIGHT)&&(n=d.TOPEND)):e(this._menu).hasClass(c.MENURIGHT)&&(n=d.BOTTOMEND),n},g._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},g._getPopperConfig=function(){var t=this,n={};"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=e.extend({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset;var r={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip}}};return this._inNavbar&&(r.modifiers.applyStyle={enabled:!this._inNavbar}),r},o._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(r),i="object"==typeof t?t:null;if(n||(n=new o(this,i),e(this).data(r,n)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},o._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=e.makeArray(e(f.DATA_TOGGLE)),i=0;i<n.length;i++){var a=o._getParentFromElement(n[i]),s=e(n[i]).data(r),u={relatedTarget:n[i]};if(s){var d=s._menu;if(e(a).hasClass(c.SHOW)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(a,t.target))){var h=e.Event(l.HIDE,u);e(a).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e("body").children().off("mouseover",null,e.noop),n[i].setAttribute("aria-expanded","false"),e(d).removeClass(c.SHOW),e(a).removeClass(c.SHOW).trigger(e.Event(l.HIDDEN,u)))}}}},o._getParentFromElement=function(t){var n,r=a.getSelectorFromElement(t);return r&&(n=e(r)[0]),n||t.parentNode},o._dataApiKeydownHandler=function(t){if(!(!u.test(t.which)||/button/i.test(t.target.tagName)&&32===t.which||/input|textarea/i.test(t.target.tagName)||(t.preventDefault(),t.stopPropagation(),this.disabled||e(this).hasClass(c.DISABLED)))){var n=o._getParentFromElement(this),r=e(n).hasClass(c.SHOW);if(!r&&(27!==t.which||32!==t.which)||r&&(27===t.which||32===t.which)){if(27===t.which){var i=e(n).find(f.DATA_TOGGLE)[0];e(i).trigger("focus")}return void e(this).trigger("click")}var a=e(n).find(f.VISIBLE_ITEMS).get();if(a.length){var s=a.indexOf(t.target);38===t.which&&s>0&&s--,40===t.which&&s<a.length-1&&s++,s<0&&(s=0),a[s].focus()}}},s(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return h}},{key:"DefaultType",get:function(){return p}}]),o}();return e(document).on(l.KEYDOWN_DATA_API,f.DATA_TOGGLE,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,f.MENU,g._dataApiKeydownHandler).on(l.CLICK_DATA_API+" "+l.KEYUP_DATA_API,g._clearMenus).on(l.CLICK_DATA_API,f.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),g._jQueryInterface.call(e(this),"toggle")}).on(l.CLICK_DATA_API,f.FORM_CHILD,function(t){t.stopPropagation()}),e.fn[t]=g._jQueryInterface,e.fn[t].Constructor=g,e.fn[t].noConflict=function(){return e.fn[t]=o,g._jQueryInterface},g}(),p=function(){var t="modal",n=".bs.modal",r=e.fn[t],i={backdrop:!0,keyboard:!0,focus:!0,show:!0},o={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},l={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},c={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"},f=function(){function r(t,n){this._config=this._getConfig(n),this._element=t,this._dialog=e(t).find(c.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var f=r.prototype;return f.toggle=function(t){return this._isShown?this.hide():this.show(t)},f.show=function(t){var n=this;if(!this._isTransitioning&&!this._isShown){a.supportsTransitionEnd()&&e(this._element).hasClass(l.FADE)&&(this._isTransitioning=!0);var r=e.Event(u.SHOW,{relatedTarget:t});e(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),e(document.body).addClass(l.OPEN),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(u.CLICK_DISMISS,c.DATA_DISMISS,function(t){return n.hide(t)}),e(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){e(n._element).one(u.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},f.hide=function(t){var n=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var r=e.Event(u.HIDE);if(e(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var i=a.supportsTransitionEnd()&&e(this._element).hasClass(l.FADE);i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(u.FOCUSIN),e(this._element).removeClass(l.SHOW),e(this._element).off(u.CLICK_DISMISS),e(this._dialog).off(u.MOUSEDOWN_DISMISS),i?e(this._element).one(a.TRANSITION_END,function(t){return n._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},f.dispose=function(){e.removeData(this._element,"bs.modal"),e(window,document,this._element,this._backdrop).off(n),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},f.handleUpdate=function(){this._adjustDialog()},f._getConfig=function(n){return n=e.extend({},i,n),a.typeCheckConfig(t,n,o),n},f._showElement=function(t){var n=this,r=a.supportsTransitionEnd()&&e(this._element).hasClass(l.FADE);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,r&&a.reflow(this._element),e(this._element).addClass(l.SHOW),this._config.focus&&this._enforceFocus();var i=e.Event(u.SHOWN,{relatedTarget:t}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(i)};r?e(this._dialog).one(a.TRANSITION_END,o).emulateTransitionEnd(300):o()},f._enforceFocus=function(){var t=this;e(document).off(u.FOCUSIN).on(u.FOCUSIN,function(n){document===n.target||t._element===n.target||e(t._element).has(n.target).length||t._element.focus()})},f._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(u.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(u.KEYDOWN_DISMISS)},f._setResizeEvent=function(){var t=this;this._isShown?e(window).on(u.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(u.RESIZE)},f._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(l.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(u.HIDDEN)})},f._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},f._showBackdrop=function(t){var n=this,r=e(this._element).hasClass(l.FADE)?l.FADE:"";if(this._isShown&&this._config.backdrop){var i=a.supportsTransitionEnd()&&r;if(this._backdrop=document.createElement("div"),this._backdrop.className=l.BACKDROP,r&&e(this._backdrop).addClass(r),e(this._backdrop).appendTo(document.body),e(this._element).on(u.CLICK_DISMISS,function(t){if(n._ignoreBackdropClick)return void(n._ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&a.reflow(this._backdrop),e(this._backdrop).addClass(l.SHOW),!t)return;if(!i)return void t();e(this._backdrop).one(a.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(l.SHOW);var o=function(){n._removeBackdrop(),t&&t()};a.supportsTransitionEnd()&&e(this._element).hasClass(l.FADE)?e(this._backdrop).one(a.TRANSITION_END,o).emulateTransitionEnd(150):o()}else t&&t()},f._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},f._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},f._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},f._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){e(c.FIXED_CONTENT).each(function(n,r){var i=e(r)[0].style.paddingRight,o=e(r).css("padding-right");e(r).data("padding-right",i).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),e(c.STICKY_CONTENT).each(function(n,r){var i=e(r)[0].style.marginRight,o=e(r).css("margin-right");e(r).data("margin-right",i).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")}),e(c.NAVBAR_TOGGLER).each(function(n,r){var i=e(r)[0].style.marginRight,o=e(r).css("margin-right");e(r).data("margin-right",i).css("margin-right",parseFloat(o)+t._scrollbarWidth+"px")});var n=document.body.style.paddingRight,r=e("body").css("padding-right");e("body").data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}},f._resetScrollbar=function(){e(c.FIXED_CONTENT).each(function(t,n){var r=e(n).data("padding-right");void 0!==r&&e(n).css("padding-right",r).removeData("padding-right")}),e(c.STICKY_CONTENT+", "+c.NAVBAR_TOGGLER).each(function(t,n){var r=e(n).data("margin-right");void 0!==r&&e(n).css("margin-right",r).removeData("margin-right")});var t=e("body").data("padding-right");void 0!==t&&e("body").css("padding-right",t).removeData("padding-right")},f._getScrollbarWidth=function(){var t=document.createElement("div");t.className=l.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},r._jQueryInterface=function(t,n){return this.each(function(){var i=e(this).data("bs.modal"),o=e.extend({},r.Default,e(this).data(),"object"==typeof t&&t);if(i||(i=new r(this,o),e(this).data("bs.modal",i)),"string"==typeof t){if(void 0===i[t])throw new Error('No method named "'+t+'"');i[t](n)}else o.show&&i.show(n)})},s(r,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return i}}]),r}();return e(document).on(u.CLICK_DATA_API,c.DATA_TOGGLE,function(t){var n,r=this,i=a.getSelectorFromElement(this);i&&(n=e(i)[0]);var o=e(n).data("bs.modal")?"toggle":e.extend({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=e(n).one(u.SHOW,function(t){t.isDefaultPrevented()||s.one(u.HIDDEN,function(){e(r).is(":visible")&&r.focus()})});f._jQueryInterface.call(e(n),o,this)}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=r,f._jQueryInterface},f}(),g=function(){if(void 0===n)throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");var t="tooltip",r=".bs.tooltip",i=e.fn[t],o=new RegExp("(^|\\s)bs-tooltip\\S+","g"),u={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)"},l={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},c={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"},f={SHOW:"show",OUT:"out"},d={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,INSERTED:"inserted"+r,CLICK:"click"+r,FOCUSIN:"focusin"+r,FOCUSOUT:"focusout"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r},h={FADE:"fade",SHOW:"show"},p={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},g={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},v=function(){function i(t,e){this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var v=i.prototype;return v.enable=function(){this._isEnabled=!0},v.disable=function(){this._isEnabled=!1},v.toggleEnabled=function(){this._isEnabled=!this._isEnabled},v.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,r=e(t.currentTarget).data(n);r||(r=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(e(this.getTipElement()).hasClass(h.SHOW))return void this._leave(null,this);this._enter(null,this)}},v.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(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},v.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var r=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(r);var o=e.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!o)return;var s=this.getTipElement(),u=a.getUID(this.constructor.NAME);s.setAttribute("id",u),this.element.setAttribute("aria-describedby",u),this.setContent(),this.config.animation&&e(s).addClass(h.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var d=!1===this.config.container?document.body:e(this.config.container);e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(d),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:p.ARROW}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),e(s).addClass(h.SHOW),"ontouchstart"in document.documentElement&&e("body").children().on("mouseover",null,e.noop);var g=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===f.OUT&&t._leave(null,t)};a.supportsTransitionEnd()&&e(this.tip).hasClass(h.FADE)?e(this.tip).one(a.TRANSITION_END,g).emulateTransitionEnd(i._TRANSITION_DURATION):g()}},v.hide=function(t){var n=this,r=this.getTipElement(),i=e.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==f.SHOW&&r.parentNode&&r.parentNode.removeChild(r),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};e(this.element).trigger(i),i.isDefaultPrevented()||(e(r).removeClass(h.SHOW),"ontouchstart"in document.documentElement&&e("body").children().off("mouseover",null,e.noop),this._activeTrigger[g.CLICK]=!1,this._activeTrigger[g.FOCUS]=!1,this._activeTrigger[g.HOVER]=!1,a.supportsTransitionEnd()&&e(this.tip).hasClass(h.FADE)?e(r).one(a.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},v.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},v.isWithContent=function(){return Boolean(this.getTitle())},v.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},v.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},v.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(p.TOOLTIP_INNER),this.getTitle()),t.removeClass(h.FADE+" "+h.SHOW)},v.setElementContent=function(t,n){var r=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?r?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()):t[r?"html":"text"](n)},v.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},v._getAttachment=function(t){return l[t.toUpperCase()]},v._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==g.MANUAL){var r=n===g.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=n===g.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(r,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}e(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=e.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},v._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},v._enter=function(t,n){var r=this.constructor.DATA_KEY;return n=n||e(t.currentTarget).data(r),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(r,n)),t&&(n._activeTrigger["focusin"===t.type?g.FOCUS:g.HOVER]=!0),e(n.getTipElement()).hasClass(h.SHOW)||n._hoverState===f.SHOW?void(n._hoverState=f.SHOW):(clearTimeout(n._timeout),n._hoverState=f.SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===f.SHOW&&n.show()},n.config.delay.show)):void n.show())},v._leave=function(t,n){var r=this.constructor.DATA_KEY;if(n=n||e(t.currentTarget).data(r),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(r,n)),t&&(n._activeTrigger["focusout"===t.type?g.FOCUS:g.HOVER]=!1),!n._isWithActiveTrigger()){if(clearTimeout(n._timeout),n._hoverState=f.OUT,!n.config.delay||!n.config.delay.hide)return void n.hide();n._timeout=setTimeout(function(){n._hoverState===f.OUT&&n.hide()},n.config.delay.hide)}},v._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},v._getConfig=function(n){return n=e.extend({},this.constructor.Default,e(this.element).data(),n),"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),a.typeCheckConfig(t,n,this.constructor.DefaultType),n},v._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},v._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(o);null!==n&&n.length>0&&t.removeClass(n.join(""))},v._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},v._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(h.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},i._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.tooltip"),r="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new i(this,r),e(this).data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return c}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return r}},{key:"DefaultType",get:function(){return u}}]),i}();return e.fn[t]=v._jQueryInterface,e.fn[t].Constructor=v,e.fn[t].noConflict=function(){return e.fn[t]=i,v._jQueryInterface},v}(),v=function(){var t="popover",n=".bs.popover",r=e.fn[t],i=new RegExp("(^|\\s)bs-popover\\S+","g"),o=e.extend({},g.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>'}),a=e.extend({},g.DefaultType,{content:"(string|element|function)"}),l={FADE:"fade",SHOW:"show"},c={TITLE:".popover-header",CONTENT:".popover-body"},f={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},d=function(r){function d(){return r.apply(this,arguments)||this}u(d,r);var h=d.prototype;return h.isWithContent=function(){return this.getTitle()||this._getContent()},h.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},h.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},h.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(c.TITLE),this.getTitle()),this.setElementContent(t.find(c.CONTENT),this._getContent()),t.removeClass(l.FADE+" "+l.SHOW)},h._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},h._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(i);null!==n&&n.length>0&&t.removeClass(n.join(""))},d._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),r="object"==typeof t?t:null;if((n||!/destroy|hide/.test(t))&&(n||(n=new d(this,r),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},s(d,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return o}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return a}}]),d}(g);return e.fn[t]=d._jQueryInterface,e.fn[t].Constructor=d,e.fn[t].noConflict=function(){return e.fn[t]=r,d._jQueryInterface},d}(),m=function(){var t="scrollspy",n=e.fn[t],r={offset:10,method:"auto",target:""},i={offset:"number",method:"string",target:"(string|element)"},o={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},u={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},l={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"},c={OFFSET:"offset",POSITION:"position"},f=function(){function n(t,n){var r=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+l.NAV_LINKS+","+this._config.target+" "+l.LIST_ITEMS+","+this._config.target+" "+l.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(o.SCROLL,function(t){return r._process(t)}),this.refresh(),this._process()}var f=n.prototype;return f.refresh=function(){var t=this,n=this._scrollElement!==this._scrollElement.window?c.POSITION:c.OFFSET,r="auto"===this._config.method?n:this._config.method,i=r===c.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),e.makeArray(e(this._selector)).map(function(t){var n,o=a.getSelectorFromElement(t);if(o&&(n=e(o)[0]),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[r]().top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},f.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},f._getConfig=function(n){if(n=e.extend({},r,n),"string"!=typeof n.target){var o=e(n.target).attr("id");o||(o=a.getUID(t),e(n.target).attr("id",o)),n.target="#"+o}return a.typeCheckConfig(t,n,i),n},f._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},f._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},f._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},f._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];return void(this._activeTarget!==r&&this._activate(r))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])}},f._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",");n=n.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var r=e(n.join(","));r.hasClass(u.DROPDOWN_ITEM)?(r.closest(l.DROPDOWN).find(l.DROPDOWN_TOGGLE).addClass(u.ACTIVE),r.addClass(u.ACTIVE)):(r.addClass(u.ACTIVE),r.parents(l.NAV_LIST_GROUP).prev(l.NAV_LINKS+", "+l.LIST_ITEMS).addClass(u.ACTIVE),r.parents(l.NAV_LIST_GROUP).prev(l.NAV_ITEMS).children(l.NAV_LINKS).addClass(u.ACTIVE)),e(this._scrollElement).trigger(o.ACTIVATE,{relatedTarget:t})},f._clear=function(){e(this._selector).filter(l.ACTIVE).removeClass(u.ACTIVE)},n._jQueryInterface=function(t){return this.each(function(){var r=e(this).data("bs.scrollspy"),i="object"==typeof t&&t;if(r||(r=new n(this,i),e(this).data("bs.scrollspy",r)),"string"==typeof t){if(void 0===r[t])throw new Error('No method named "'+t+'"');r[t]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return r}}]),n}();return e(window).on(o.LOAD_DATA_API,function(){for(var t=e.makeArray(e(l.DATA_SPY)),n=t.length;n--;){var r=e(t[n]);f._jQueryInterface.call(r,r.data())}}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=n,f._jQueryInterface},f}(),y=function(){var t=e.fn.tab,n={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},r={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},i={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},o=function(){function t(t){this._element=t}var o=t.prototype;return o.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(r.ACTIVE)||e(this._element).hasClass(r.DISABLED))){var o,s,u=e(this._element).closest(i.NAV_LIST_GROUP)[0],l=a.getSelectorFromElement(this._element);if(u){var c="UL"===u.nodeName?i.ACTIVE_UL:i.ACTIVE;s=e.makeArray(e(u).find(c)),s=s[s.length-1]}var f=e.Event(n.HIDE,{relatedTarget:this._element}),d=e.Event(n.SHOW,{relatedTarget:s});if(s&&e(s).trigger(f),e(this._element).trigger(d),!d.isDefaultPrevented()&&!f.isDefaultPrevented()){l&&(o=e(l)[0]),this._activate(this._element,u);var h=function(){var r=e.Event(n.HIDDEN,{relatedTarget:t._element}),i=e.Event(n.SHOWN,{relatedTarget:s});e(s).trigger(r),e(t._element).trigger(i)};o?this._activate(o,o.parentNode,h):h()}}},o.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},o._activate=function(t,n,o){var s,u=this;s="UL"===n.nodeName?e(n).find(i.ACTIVE_UL):e(n).children(i.ACTIVE);var l=s[0],c=o&&a.supportsTransitionEnd()&&l&&e(l).hasClass(r.FADE),f=function(){return u._transitionComplete(t,l,c,o)};l&&c?e(l).one(a.TRANSITION_END,f).emulateTransitionEnd(150):f(),l&&e(l).removeClass(r.SHOW)},o._transitionComplete=function(t,n,o,s){if(n){e(n).removeClass(r.ACTIVE);var u=e(n.parentNode).find(i.DROPDOWN_ACTIVE_CHILD)[0];u&&e(u).removeClass(r.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(r.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),o?(a.reflow(t),e(t).addClass(r.SHOW)):e(t).removeClass(r.FADE),t.parentNode&&e(t.parentNode).hasClass(r.DROPDOWN_MENU)){var l=e(t).closest(i.DROPDOWN)[0];l&&e(l).find(i.DROPDOWN_TOGGLE).addClass(r.ACTIVE),t.setAttribute("aria-expanded",!0)}s&&s()},t._jQueryInterface=function(n){return this.each(function(){var r=e(this),i=r.data("bs.tab");if(i||(i=new t(this),r.data("bs.tab",i)),"string"==typeof n){if(void 0===i[n])throw new Error('No method named "'+n+'"');i[n]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(n.CLICK_DATA_API,i.DATA_TOGGLE,function(t){t.preventDefault(),o._jQueryInterface.call(e(this),"show")}),e.fn.tab=o._jQueryInterface,e.fn.tab.Constructor=o,e.fn.tab.noConflict=function(){return e.fn.tab=t,o._jQueryInterface},o}();(function(){if(void 0===e)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.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.Util=a,t.Alert=l,t.Button=c,t.Carousel=f,t.Collapse=d,t.Dropdown=h,t.Modal=p,t.Popover=v,t.Scrollspy=m,t.Tab=y,t.Tooltip=g}({},$,Popper)},KC8c:function(t,e,n){"use strict";t.exports=function(t){function e(t,e){return t.native?{x:t.x,y:t.y}:a.getRelativePosition(t,e)}function n(t,e){var n,r,i,o,a,s=t.data.datasets;for(r=0,o=s.length;r<o;++r)if(t.isDatasetVisible(r))for(n=t.getDatasetMeta(r),i=0,a=n.data.length;i<a;++i){var u=n.data[i];u._view.skip||e(u)}}function r(t,e){var r=[];return n(t,function(t){t.inRange(e.x,e.y)&&r.push(t)}),r}function i(t,e,r,i){var o=Number.POSITIVE_INFINITY,s=[];return i||(i=a.distanceBetweenPoints),n(t,function(t){if(!r||t.inRange(e.x,e.y)){var n=t.getCenterPoint(),a=i(e,n);a<o?(s=[t],o=a):a===o&&s.push(t)}}),s}function o(t,n,o){var a=e(n,t),s=function(t,e){return Math.abs(t.x-e.x)},u=o.intersect?r(t,a):i(t,a,!1,s),l=[];return u.length?(t.data.datasets.forEach(function(e,n){if(t.isDatasetVisible(n)){var r=t.getDatasetMeta(n),i=r.data[u[0]._index];i&&!i._view.skip&&l.push(i)}}),l):[]}var a=t.helpers;t.Interaction={modes:{single:function(t,r){var i=e(r,t),o=[];return n(t,function(t){if(t.inRange(i.x,i.y))return o.push(t),o}),o.slice(0,1)},label:o,index:o,dataset:function(t,n,o){var a=e(n,t),s=o.intersect?r(t,a):i(t,a,!1);return s.length>0&&(s=t.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(t,e){return o(t,e,!0)},point:function(t,n){return r(t,e(n,t))},nearest:function(t,n,r){var o=e(n,t),a=i(t,o,r.intersect);return a.length>1&&a.sort(function(t,e){var n=t.getArea(),r=e.getArea(),i=n-r;return 0===i&&(i=t._datasetIndex-e._datasetIndex),i}),a.slice(0,1)},x:function(t,r,i){var o=e(r,t),a=[],s=!1;return n(t,function(t){t.inXRange(o.x)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a},y:function(t,r,i){var o=e(r,t),a=[],s=!1;return n(t,function(t){t.inYRange(o.y)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a}}}}},KCLY:function(t,e,n){"use strict";(function(e){function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=n("cGG2"),o=n("5VQ+"),a=/^\)\]\}',?\n/,s={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n("7GwW"):void 0!==e&&(t=n("7GwW")),t}(),transformRequest:[function(t,e){return o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(a,"");try{t=JSON.parse(t)}catch(t){}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){u.headers[t]={}}),i.forEach(["post","put","patch"],function(t){u.headers[t]=i.merge(s)}),t.exports=u}).call(e,n("W2nU"))},KbjQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["yes"]}},"Ks/S":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[t._m(0),t._v(" "),n("main",{staticClass:"mt-4 mb-4"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"},[n("main-sidebar")],1),t._v(" "),n("div",{staticClass:"col-md-10"},[t._t("default")],2)])]),t._v(" "),n("footer",{staticClass:"pt-4 pb-4 text-center",attrs:{id:"mainFooter"}},[t._v("\n Laravel is a trademark of Taylor Otwell. Copyright © Laravel LLC. All rights reserved.\n ")])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pt-4 pb-4",attrs:{id:"mainHeader"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("img",{attrs:{src:"/vendor/horizon/img/horizon.svg"}})])])])}]}},M42n:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"App"}},M4fF:function(t,e,n){(function(t,r){var i;(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function l(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function d(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function h(t,e){return!!(null==t?0:t.length)&&k(t,e,0)>-1}function p(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function g(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function v(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function _(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function b(t){return t.split("")}function x(t){return t.match(He)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function C(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function k(t,e,n){return e===e?Q(t,e,n):C(t,T,n)}function S(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function T(t){return t!==t}function A(t,e){var n=null==t?0:t.length;return n?I(t,e)/n:Nt}function D(t){return function(e){return null==e?it:e[t]}}function E(t){return function(e){return null==t?it:t[e]}}function O(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function M(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function I(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==it&&(n=n===it?o:n+o)}return n}function P(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function L(t,e){return g(e,function(e){return[e,t[e]]})}function N(t){return function(e){return t(e)}}function R(t,e){return g(e,function(e){return t[e]})}function j(t,e){return t.has(e)}function F(t,e){for(var n=-1,r=t.length;++n<r&&k(e,t[n],0)>-1;);return n}function W(t,e){for(var n=t.length;n--&&k(e,t[n],0)>-1;);return n}function H(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function V(t){return"\\"+Dn[t]}function B(t,e){return null==t?it:t[e]}function z(t){return _n.test(t)}function U(t){return bn.test(t)}function $(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function Y(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function q(t,e){return function(n){return t(e(n))}}function G(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==ct||(t[n]=ct,o[i++]=n)}return o}function J(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function K(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Q(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function X(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Z(t){return z(t)?et(t):$n(t)}function tt(t){return z(t)?nt(t):b(t)}function et(t){for(var e=mn.lastIndex=0;mn.test(t);)++e;return e}function nt(t){return t.match(mn)||[]}function rt(t){return t.match(yn)||[]}var it,ot=200,at="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",ut="__lodash_hash_undefined__",lt=500,ct="__lodash_placeholder__",ft=1,dt=2,ht=4,pt=1,gt=2,vt=1,mt=2,yt=4,_t=8,bt=16,xt=32,wt=64,Ct=128,kt=256,St=512,Tt=30,At="...",Dt=800,Et=16,Ot=1,Mt=2,It=1/0,Pt=9007199254740991,Lt=1.7976931348623157e308,Nt=NaN,Rt=4294967295,jt=Rt-1,Ft=Rt>>>1,Wt=[["ary",Ct],["bind",vt],["bindKey",mt],["curry",_t],["curryRight",bt],["flip",St],["partial",xt],["partialRight",wt],["rearg",kt]],Ht="[object Arguments]",Vt="[object Array]",Bt="[object AsyncFunction]",zt="[object Boolean]",Ut="[object Date]",$t="[object DOMException]",Yt="[object Error]",qt="[object Function]",Gt="[object GeneratorFunction]",Jt="[object Map]",Kt="[object Number]",Qt="[object Null]",Xt="[object Object]",Zt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ue="[object DataView]",le="[object Float32Array]",ce="[object Float64Array]",fe="[object Int8Array]",de="[object Int16Array]",he="[object Int32Array]",pe="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,_e=/\b(__p \+=) '' \+/g,be=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,Ce=RegExp(xe.source),ke=RegExp(we.source),Se=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,De=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ee=/^\w*$/,Oe=/^\./,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Ie.source),Le=/^\s+|\s+$/g,Ne=/^\s+/,Re=/\s+$/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ve=/\\(\\)?/g,Be=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,$e=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,qe=/^0o[0-7]+$/i,Ge=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ke=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tn="["+Ze+"]",en="["+Xe+"]",nn="[a-z\\xdf-\\xf6\\xf8-\\xff]",rn="[^\\ud800-\\udfff"+Ze+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",on="\\ud83c[\\udffb-\\udfff]",an="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",un="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ln="(?:"+nn+"|"+rn+")",cn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fn="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",an,sn].join("|")+")[\\ufe0e\\ufe0f]?"+cn+")*",dn="[\\ufe0e\\ufe0f]?"+cn+fn,hn="(?:"+["[\\u2700-\\u27bf]",an,sn].join("|")+")"+dn,pn="(?:"+["[^\\ud800-\\udfff]"+en+"?",en,an,sn,"[\\ud800-\\udfff]"].join("|")+")",gn=RegExp("['’]","g"),vn=RegExp(en,"g"),mn=RegExp(on+"(?="+on+")|"+pn+dn,"g"),yn=RegExp([un+"?"+nn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tn,un,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tn,un+ln,"$"].join("|")+")",un+"?"+ln+"+(?:['’](?:d|ll|m|re|s|t|ve))?",un+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",hn].join("|"),"g"),_n=RegExp("[\\u200d\\ud800-\\udfff"+Xe+"\\ufe0e\\ufe0f]"),bn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wn=-1,Cn={};Cn[le]=Cn[ce]=Cn[fe]=Cn[de]=Cn[he]=Cn[pe]=Cn[ge]=Cn[ve]=Cn[me]=!0,Cn[Ht]=Cn[Vt]=Cn[se]=Cn[zt]=Cn[ue]=Cn[Ut]=Cn[Yt]=Cn[qt]=Cn[Jt]=Cn[Kt]=Cn[Xt]=Cn[te]=Cn[ee]=Cn[ne]=Cn[oe]=!1;var kn={};kn[Ht]=kn[Vt]=kn[se]=kn[ue]=kn[zt]=kn[Ut]=kn[le]=kn[ce]=kn[fe]=kn[de]=kn[he]=kn[Jt]=kn[Kt]=kn[Xt]=kn[te]=kn[ee]=kn[ne]=kn[re]=kn[pe]=kn[ge]=kn[ve]=kn[me]=!0,kn[Yt]=kn[qt]=kn[oe]=!1;var Sn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Tn={"&":"&","<":"<",">":">",'"':""","'":"'"},An={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},En=parseFloat,On=parseInt,Mn="object"==typeof t&&t&&t.Object===Object&&t,In="object"==typeof self&&self&&self.Object===Object&&self,Pn=Mn||In||Function("return this")(),Ln="object"==typeof e&&e&&!e.nodeType&&e,Nn=Ln&&"object"==typeof r&&r&&!r.nodeType&&r,Rn=Nn&&Nn.exports===Ln,jn=Rn&&Mn.process,Fn=function(){try{return jn&&jn.binding&&jn.binding("util")}catch(t){}}(),Wn=Fn&&Fn.isArrayBuffer,Hn=Fn&&Fn.isDate,Vn=Fn&&Fn.isMap,Bn=Fn&&Fn.isRegExp,zn=Fn&&Fn.isSet,Un=Fn&&Fn.isTypedArray,$n=D("length"),Yn=E(Sn),qn=E(Tn),Gn=E(An),Jn=function t(e){function n(t){if(ou(t)&&!md(t)&&!(t instanceof b)){if(t instanceof i)return t;if(vc.call(t,"__wrapped__"))return na(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Rt,this.__views__=[]}function E(){var t=new b(this.__wrapped__);return t.__actions__=ji(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ji(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ji(this.__views__),t}function Q(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=md(t),r=e<0,i=n?t.length:0,o=Ao(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,h=Yc(u,this.__takeCount__);if(!n||!r&&i==u&&h==u)return yi(t,this.__actions__);var p=[];t:for(;u--&&d<h;){l+=e;for(var g=-1,v=t[l];++g<f;){var m=c[g],y=m.iteratee,_=m.type,b=y(v);if(_==Mt)v=b;else if(!b){if(_==Ot)continue t;break t}}p[d++]=v}return p}function nt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function He(){this.__data__=nf?nf(null):{},this.size=0}function Xe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Ze(t){var e=this.__data__;if(nf){var n=e[t];return n===ut?it:n}return vc.call(e,t)?e[t]:it}function tn(t){var e=this.__data__;return nf?e[t]!==it:vc.call(e,t)}function en(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nf&&e===it?ut:e,this}function nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rn(){this.__data__=[],this.size=0}function on(t){var e=this.__data__,n=Kn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Oc.call(e,n,1),--this.size,!0)}function an(t){var e=this.__data__,n=Kn(e,t);return n<0?it:e[n][1]}function sn(t){return Kn(this.__data__,t)>-1}function un(t,e){var n=this.__data__,r=Kn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function cn(){this.size=0,this.__data__={hash:new nt,map:new(Xc||nn),string:new nt}}function fn(t){var e=Co(this,t).delete(t);return this.size-=e?1:0,e}function dn(t){return Co(this,t).get(t)}function hn(t){return Co(this,t).has(t)}function pn(t,e){var n=Co(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function mn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ln;++e<n;)this.add(t[e])}function yn(t){return this.__data__.set(t,ut),this}function _n(t){return this.__data__.has(t)}function bn(t){var e=this.__data__=new nn(t);this.size=e.size}function Sn(){this.__data__=new nn,this.size=0}function Tn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function An(t){return this.__data__.get(t)}function Dn(t){return this.__data__.has(t)}function Mn(t,e){var n=this.__data__;if(n instanceof nn){var r=n.__data__;if(!Xc||r.length<ot-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ln(r)}return n.set(t,e),this.size=n.size,this}function In(t,e){var n=md(t),r=!n&&vd(t),i=!n&&!r&&_d(t),o=!n&&!r&&!i&&kd(t),a=n||r||i||o,s=a?P(t.length,lc):[],u=s.length;for(var l in t)!e&&!vc.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||No(l,u))||s.push(l);return s}function Ln(t){var e=t.length;return e?t[Zr(0,e-1)]:it}function Nn(t,e){return Xo(ji(t),nr(e,0,t.length))}function jn(t){return Xo(ji(t))}function Fn(t,e,n){(n===it||$s(t[e],n))&&(n!==it||e in t)||tr(t,e,n)}function $n(t,e,n){var r=t[e];vc.call(t,e)&&$s(r,n)&&(n!==it||e in t)||tr(t,e,n)}function Kn(t,e){for(var n=t.length;n--;)if($s(t[n][0],e))return n;return-1}function Qn(t,e,n,r){return gf(t,function(t,i,o){e(r,t,n(t),o)}),r}function Xn(t,e){return t&&Fi(e,Hu(e),t)}function Zn(t,e){return t&&Fi(e,Vu(e),t)}function tr(t,e,n){"__proto__"==e&&Lc?Lc(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function er(t,e){for(var n=-1,r=e.length,i=nc(r),o=null==t;++n<r;)i[n]=o?it:ju(t,e[n]);return i}function nr(t,e,n){return t===t&&(n!==it&&(t=t<=n?t:n),e!==it&&(t=t>=e?t:e)),t}function rr(t,e,n,r,i,o){var a,s=e&ft,u=e&dt,c=e&ht;if(n&&(a=i?n(t,r,i,o):n(t)),a!==it)return a;if(!iu(t))return t;var f=md(t);if(f){if(a=Oo(t),!s)return ji(t,a)}else{var d=Af(t),h=d==qt||d==Gt;if(_d(t))return Si(t,s);if(d==Xt||d==Ht||h&&!i){if(a=u||h?{}:Mo(t),!s)return u?Hi(t,Zn(a,t)):Wi(t,Xn(a,t))}else{if(!kn[d])return i?t:{};a=Io(t,d,rr,s)}}o||(o=new bn);var p=o.get(t);if(p)return p;o.set(t,a);var g=c?u?_o:yo:u?Vu:Hu,v=f?it:g(t);return l(v||t,function(r,i){v&&(i=r,r=t[i]),$n(a,i,rr(r,e,n,i,t,o))}),a}function ir(t){var e=Hu(t);return function(n){return or(n,t,e)}}function or(t,e,n){var r=n.length;if(null==t)return!r;for(t=sc(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function ar(t,e,n){if("function"!=typeof t)throw new cc(st);return Of(function(){t.apply(it,n)},e)}function sr(t,e,n,r){var i=-1,o=h,a=!0,s=t.length,u=[],l=e.length;if(!s)return u;n&&(e=g(e,N(n))),r?(o=p,a=!1):e.length>=ot&&(o=j,a=!1,e=new mn(e));t:for(;++i<s;){var c=t[i],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f===f){for(var d=l;d--;)if(e[d]===f)continue t;u.push(c)}else o(e,f,r)||u.push(c)}return u}function ur(t,e){var n=!0;return gf(t,function(t,r,i){return n=!!e(t,r,i)}),n}function lr(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(s===it?a===a&&!vu(a):n(a,s)))var s=a,u=o}return u}function cr(t,e,n,r){var i=t.length;for(n=wu(n),n<0&&(n=-n>i?0:i+n),r=r===it||r>i?i:wu(r),r<0&&(r+=i),r=n>r?0:Cu(r);n<r;)t[n++]=e;return t}function fr(t,e){var n=[];return gf(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function dr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=Lo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?dr(s,e-1,n,r,i):v(i,s):r||(i[i.length]=s)}return i}function hr(t,e){return t&&mf(t,e,Hu)}function pr(t,e){return t&&yf(t,e,Hu)}function gr(t,e){return d(e,function(e){return eu(t[e])})}function vr(t,e){e=Ci(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Zo(e[n++])];return n&&n==r?t:it}function mr(t,e,n){var r=e(t);return md(t)?r:v(r,n(t))}function yr(t){return null==t?t===it?ie:Qt:Pc&&Pc in sc(t)?To(t):Yo(t)}function _r(t,e){return t>e}function br(t,e){return null!=t&&vc.call(t,e)}function xr(t,e){return null!=t&&e in sc(t)}function wr(t,e,n){return t>=Yc(e,n)&&t<$c(e,n)}function Cr(t,e,n){for(var r=n?p:h,i=t[0].length,o=t.length,a=o,s=nc(o),u=1/0,l=[];a--;){var c=t[a];a&&e&&(c=g(c,N(e))),u=Yc(c.length,u),s[a]=!n&&(e||i>=120&&c.length>=120)?new mn(a&&c):it}c=t[0];var f=-1,d=s[0];t:for(;++f<i&&l.length<u;){var v=c[f],m=e?e(v):v;if(v=n||0!==v?v:0,!(d?j(d,m):r(l,m,n))){for(a=o;--a;){var y=s[a];if(!(y?j(y,m):r(t[a],m,n)))continue t}d&&d.push(m),l.push(v)}}return l}function kr(t,e,n,r){return hr(t,function(t,i,o){e(r,n(t),i,o)}),r}function Sr(t,e,n){e=Ci(e,t),t=Go(t,e);var r=null==t?t:t[Zo(xa(e))];return null==r?it:s(r,t,n)}function Tr(t){return ou(t)&&yr(t)==Ht}function Ar(t){return ou(t)&&yr(t)==se}function Dr(t){return ou(t)&&yr(t)==Ut}function Er(t,e,n,r,i){return t===e||(null==t||null==e||!ou(t)&&!ou(e)?t!==t&&e!==e:Or(t,e,n,r,Er,i))}function Or(t,e,n,r,i,o){var a=md(t),s=md(e),u=a?Vt:Af(t),l=s?Vt:Af(e);u=u==Ht?Xt:u,l=l==Ht?Xt:l;var c=u==Xt,f=l==Xt,d=u==l;if(d&&_d(t)){if(!_d(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new bn),a||kd(t)?po(t,e,n,r,i,o):go(t,e,u,n,r,i,o);if(!(n&pt)){var h=c&&vc.call(t,"__wrapped__"),p=f&&vc.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,v=p?e.value():e;return o||(o=new bn),i(g,v,n,r,o)}}return!!d&&(o||(o=new bn),vo(t,e,n,r,i,o))}function Mr(t){return ou(t)&&Af(t)==Jt}function Ir(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=sc(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){s=n[i];var u=s[0],l=t[u],c=s[1];if(a&&s[2]){if(l===it&&!(u in t))return!1}else{var f=new bn;if(r)var d=r(l,c,u,t,e,f);if(!(d===it?Er(c,l,pt|gt,r,f):d))return!1}}return!0}function Pr(t){return!(!iu(t)||Ho(t))&&(eu(t)?wc:Ye).test(ta(t))}function Lr(t){return ou(t)&&yr(t)==te}function Nr(t){return ou(t)&&Af(t)==ee}function Rr(t){return ou(t)&&ru(t.length)&&!!Cn[yr(t)]}function jr(t){return"function"==typeof t?t:null==t?Ol:"object"==typeof t?md(t)?zr(t[0],t[1]):Br(t):Fl(t)}function Fr(t){if(!Vo(t))return Uc(t);var e=[];for(var n in sc(t))vc.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Wr(t){if(!iu(t))return $o(t);var e=Vo(t),n=[];for(var r in t)("constructor"!=r||!e&&vc.call(t,r))&&n.push(r);return n}function Hr(t,e){return t<e}function Vr(t,e){var n=-1,r=Ys(t)?nc(t.length):[];return gf(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Br(t){var e=ko(t);return 1==e.length&&e[0][2]?zo(e[0][0],e[0][1]):function(n){return n===t||Ir(n,t,e)}}function zr(t,e){return jo(t)&&Bo(e)?zo(Zo(t),e):function(n){var r=ju(n,t);return r===it&&r===e?Wu(n,t):Er(e,r,pt|gt)}}function Ur(t,e,n,r,i){t!==e&&mf(e,function(o,a){if(iu(o))i||(i=new bn),$r(t,e,a,n,Ur,r,i);else{var s=r?r(t[a],o,a+"",t,e,i):it;s===it&&(s=o),Fn(t,a,s)}},Vu)}function $r(t,e,n,r,i,o,a){var s=t[n],u=e[n],l=a.get(u);if(l)return void Fn(t,n,l);var c=o?o(s,u,n+"",t,e,a):it,f=c===it;if(f){var d=md(u),h=!d&&_d(u),p=!d&&!h&&kd(u);c=u,d||h||p?md(s)?c=s:qs(s)?c=ji(s):h?(f=!1,c=Si(u,!0)):p?(f=!1,c=Ii(u,!0)):c=[]:hu(u)||vd(u)?(c=s,vd(s)?c=Su(s):(!iu(s)||r&&eu(s))&&(c=Mo(u))):f=!1}f&&(a.set(u,c),i(c,u,r,o,a),a.delete(u)),Fn(t,n,c)}function Yr(t,e){var n=t.length;if(n)return e+=e<0?n:0,No(e,n)?t[e]:it}function qr(t,e,n){var r=-1;return e=g(e.length?e:[Ol],N(wo())),M(Vr(t,function(t,n,i){return{criteria:g(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Li(t,e,n)})}function Gr(t,e){return Jr(t,e,function(e,n){return Wu(t,n)})}function Jr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=vr(t,a);n(s,a)&&oi(o,Ci(a,t),s)}return o}function Kr(t){return function(e){return vr(e,t)}}function Qr(t,e,n,r){var i=r?S:k,o=-1,a=e.length,s=t;for(t===e&&(e=ji(e)),n&&(s=g(t,N(n)));++o<a;)for(var u=0,l=e[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==t&&Oc.call(s,u,1),Oc.call(t,u,1);return t}function Xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;No(i)?Oc.call(t,i,1):gi(t,i)}}return t}function Zr(t,e){return t+Wc(Jc()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=$c(Fc((e-t)/(n||1)),0),a=nc(o);o--;)a[r?o:++i]=t,t+=n;return a}function ei(t,e){var n="";if(!t||e<1||e>Pt)return n;do{e%2&&(n+=t),(e=Wc(e/2))&&(t+=t)}while(e);return n}function ni(t,e){return Mf(qo(t,e,Ol),t+"")}function ri(t){return Ln(Zu(t))}function ii(t,e){var n=Zu(t);return Xo(n,nr(e,0,n.length))}function oi(t,e,n,r){if(!iu(t))return t;e=Ci(e,t);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++i<o;){var u=Zo(e[i]),l=n;if(i!=a){var c=s[u];l=r?r(c,u,s):it,l===it&&(l=iu(c)?c:No(e[i+1])?[]:{})}$n(s,u,l),s=s[u]}return t}function ai(t){return Xo(Zu(t))}function si(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=nc(i);++r<i;)o[r]=t[r+e];return o}function ui(t,e){var n;return gf(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function li(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=Ft){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!vu(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ci(t,e,Ol,n)}function ci(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!==e,s=null===e,u=vu(e),l=e===it;i<o;){var c=Wc((i+o)/2),f=n(t[c]),d=f!==it,h=null===f,p=f===f,g=vu(f);if(a)var v=r||p;else v=l?p&&(r||d):s?p&&d&&(r||!h):u?p&&d&&!h&&(r||!g):!h&&!g&&(r?f<=e:f<e);v?i=c+1:o=c}return Yc(o,jt)}function fi(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!$s(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function di(t){return"number"==typeof t?t:vu(t)?Nt:+t}function hi(t){if("string"==typeof t)return t;if(md(t))return g(t,hi)+"";if(vu(t))return hf?hf.call(t):"";var e=t+"";return"0"==e&&1/t==-It?"-0":e}function pi(t,e,n){var r=-1,i=h,o=t.length,a=!0,s=[],u=s;if(n)a=!1,i=p;else if(o>=ot){var l=e?null:Cf(t);if(l)return J(l);a=!1,i=j,u=new mn}else u=e?[]:s;t:for(;++r<o;){var c=t[r],f=e?e(c):c;if(c=n||0!==c?c:0,a&&f===f){for(var d=u.length;d--;)if(u[d]===f)continue t;e&&u.push(f),s.push(c)}else i(u,f,n)||(u!==s&&u.push(f),s.push(c))}return s}function gi(t,e){return e=Ci(e,t),null==(t=Go(t,e))||delete t[Zo(xa(e))]}function vi(t,e,n,r){return oi(t,e,n(vr(t,e)),r)}function mi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?si(t,r?0:o,r?o+1:i):si(t,r?o+1:0,r?i:o)}function yi(t,e){var n=t;return n instanceof b&&(n=n.value()),m(e,function(t,e){return e.func.apply(e.thisArg,v([t],e.args))},n)}function _i(t,e,n){var r=t.length;if(r<2)return r?pi(t[0]):[];for(var i=-1,o=nc(r);++i<r;)for(var a=t[i],s=-1;++s<r;)s!=i&&(o[i]=sr(o[i]||a,t[s],e,n));return pi(dr(o,1),e,n)}function bi(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:it;n(a,t[r],s)}return a}function xi(t){return qs(t)?t:[]}function wi(t){return"function"==typeof t?t:Ol}function Ci(t,e){return md(t)?t:jo(t,e)?[t]:If(Au(t))}function ki(t,e,n){var r=t.length;return n=n===it?r:n,!e&&n>=r?t:si(t,e,n)}function Si(t,e){if(e)return t.slice();var n=t.length,r=Tc?Tc(n):new t.constructor(n);return t.copy(r),r}function Ti(t){var e=new t.constructor(t.byteLength);return new Sc(e).set(new Sc(t)),e}function Ai(t,e){var n=e?Ti(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Di(t,e,n){return m(e?n(Y(t),ft):Y(t),o,new t.constructor)}function Ei(t){var e=new t.constructor(t.source,ze.exec(t));return e.lastIndex=t.lastIndex,e}function Oi(t,e,n){return m(e?n(J(t),ft):J(t),a,new t.constructor)}function Mi(t){return df?sc(df.call(t)):{}}function Ii(t,e){var n=e?Ti(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Pi(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=vu(t),a=e!==it,s=null===e,u=e===e,l=vu(e);if(!s&&!l&&!o&&t>e||o&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&t<e||l&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!u)return-1}return 0}function Li(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var u=Pi(i[r],o[r]);if(u){if(r>=s)return u;return u*("desc"==n[r]?-1:1)}}return t.index-e.index}function Ni(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,u=e.length,l=$c(o-a,0),c=nc(u+l),f=!r;++s<u;)c[s]=e[s];for(;++i<a;)(f||i<o)&&(c[n[i]]=t[i]);for(;l--;)c[s++]=t[i++];return c}function Ri(t,e,n,r){for(var i=-1,o=t.length,a=-1,s=n.length,u=-1,l=e.length,c=$c(o-s,0),f=nc(c+l),d=!r;++i<c;)f[i]=t[i];for(var h=i;++u<l;)f[h+u]=e[u];for(;++a<s;)(d||i<o)&&(f[h+n[a]]=t[i++]);return f}function ji(t,e){var n=-1,r=t.length;for(e||(e=nc(r));++n<r;)e[n]=t[n];return e}function Fi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=r?r(n[s],t[s],s,n,t):it;u===it&&(u=t[s]),i?tr(n,s,u):$n(n,s,u)}return n}function Wi(t,e){return Fi(t,Sf(t),e)}function Hi(t,e){return Fi(t,Tf(t),e)}function Vi(t,e){return function(n,r){var i=md(n)?u:Qn,o=e?e():{};return i(n,t,wo(r,2),o)}}function Bi(t){return ni(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Ro(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=sc(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e})}function zi(t,e){return function(n,r){if(null==n)return n;if(!Ys(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=sc(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ui(t){return function(e,n,r){for(var i=-1,o=sc(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}function $i(t,e,n){function r(){return(this&&this!==Pn&&this instanceof r?o:t).apply(i?n:this,arguments)}var i=e&vt,o=Gi(t);return r}function Yi(t){return function(e){e=Au(e);var n=z(e)?tt(e):it,r=n?n[0]:e.charAt(0),i=n?ki(n,1).join(""):e.slice(1);return r[t]()+i}}function qi(t){return function(e){return m(Sl(ol(e).replace(gn,"")),t,"")}}function Gi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=pf(t.prototype),r=t.apply(n,e);return iu(r)?r:n}}function Ji(t,e,n){function r(){for(var o=arguments.length,a=nc(o),u=o,l=xo(r);u--;)a[u]=arguments[u];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:G(a,l);return(o-=c.length)<n?ao(t,e,Xi,r.placeholder,it,a,c,it,it,n-o):s(this&&this!==Pn&&this instanceof r?i:t,this,a)}var i=Gi(t);return r}function Ki(t){return function(e,n,r){var i=sc(e);if(!Ys(e)){var o=wo(n,3);e=Hu(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:it}}function Qi(t){return mo(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new cc(st);if(o&&!s&&"wrapper"==bo(a))var s=new i([],!0)}for(r=s?r:n;++r<n;){a=e[r];var u=bo(a),l="wrapper"==u?kf(a):it;s=l&&Wo(l[0])&&l[1]==(Ct|_t|xt|kt)&&!l[4].length&&1==l[9]?s[bo(l[0])].apply(s,l[3]):1==a.length&&Wo(a)?s[u]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&md(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Xi(t,e,n,r,i,o,a,s,u,l){function c(){for(var m=arguments.length,y=nc(m),_=m;_--;)y[_]=arguments[_];if(p)var b=xo(c),x=H(y,b);if(r&&(y=Ni(y,r,i,p)),o&&(y=Ri(y,o,a,p)),m-=x,p&&m<l){var w=G(y,b);return ao(t,e,Xi,c.placeholder,n,y,w,s,u,l-m)}var C=d?n:this,k=h?C[t]:t;return m=y.length,s?y=Jo(y,s):g&&m>1&&y.reverse(),f&&u<m&&(y.length=u),this&&this!==Pn&&this instanceof c&&(k=v||Gi(k)),k.apply(C,y)}var f=e&Ct,d=e&vt,h=e&mt,p=e&(_t|bt),g=e&St,v=h?it:Gi(t);return c}function Zi(t,e){return function(n,r){return kr(n,t,e(r),{})}}function to(t,e){return function(n,r){var i;if(n===it&&r===it)return e;if(n!==it&&(i=n),r!==it){if(i===it)return r;"string"==typeof n||"string"==typeof r?(n=hi(n),r=hi(r)):(n=di(n),r=di(r)),i=t(n,r)}return i}}function eo(t){return mo(function(e){return e=g(e,N(wo())),ni(function(n){var r=this;return t(e,function(t){return s(t,r,n)})})})}function no(t,e){e=e===it?" ":hi(e);var n=e.length;if(n<2)return n?ei(e,t):e;var r=ei(e,Fc(t/Z(e)));return z(e)?ki(tt(r),0,t).join(""):r.slice(0,t)}function ro(t,e,n,r){function i(){for(var e=-1,u=arguments.length,l=-1,c=r.length,f=nc(c+u),d=this&&this!==Pn&&this instanceof i?a:t;++l<c;)f[l]=r[l];for(;u--;)f[l++]=arguments[++e];return s(d,o?n:this,f)}var o=e&vt,a=Gi(t);return i}function io(t){return function(e,n,r){return r&&"number"!=typeof r&&Ro(e,n,r)&&(n=r=it),e=xu(e),n===it?(n=e,e=0):n=xu(n),r=r===it?e<n?1:-1:xu(r),ti(e,n,r,t)}}function oo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ku(e),n=ku(n)),t(e,n)}}function ao(t,e,n,r,i,o,a,s,u,l){var c=e&_t,f=c?a:it,d=c?it:a,h=c?o:it,p=c?it:o;e|=c?xt:wt,(e&=~(c?wt:xt))&yt||(e&=~(vt|mt));var g=[t,e,i,h,f,p,d,s,u,l],v=n.apply(it,g);return Wo(t)&&Ef(v,g),v.placeholder=r,Ko(v,t,e)}function so(t){var e=ac[t];return function(t,n){if(t=ku(t),n=null==n?0:Yc(wu(n),292)){var r=(Au(t)+"e").split("e");return r=(Au(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function uo(t){return function(e){var n=Af(e);return n==Jt?Y(e):n==ee?K(e):L(e,t(e))}}function lo(t,e,n,r,i,o,a,s){var u=e&mt;if(!u&&"function"!=typeof t)throw new cc(st);var l=r?r.length:0;if(l||(e&=~(xt|wt),r=i=it),a=a===it?a:$c(wu(a),0),s=s===it?s:wu(s),l-=i?i.length:0,e&wt){var c=r,f=i;r=i=it}var d=u?it:kf(t),h=[t,e,n,r,i,c,f,o,a,s];if(d&&Uo(h,d),t=h[0],e=h[1],n=h[2],r=h[3],i=h[4],s=h[9]=h[9]===it?u?0:t.length:$c(h[9]-l,0),!s&&e&(_t|bt)&&(e&=~(_t|bt)),e&&e!=vt)p=e==_t||e==bt?Ji(t,e,s):e!=xt&&e!=(vt|xt)||i.length?Xi.apply(it,h):ro(t,e,n,r);else var p=$i(t,e,n);return Ko((d?_f:Ef)(p,h),t,e)}function co(t,e,n,r){return t===it||$s(t,hc[n])&&!vc.call(r,n)?e:t}function fo(t,e,n,r,i,o){return iu(t)&&iu(e)&&(o.set(e,t),Ur(t,e,it,fo,o),o.delete(e)),t}function ho(t){return hu(t)?it:t}function po(t,e,n,r,i,o){var a=n&pt,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var c=-1,f=!0,d=n>?new mn:it;for(o.set(t,e),o.set(e,t);++c<s;){var h=t[c],p=e[c];if(r)var g=a?r(p,h,c,e,t,o):r(h,p,c,t,e,o);if(g!==it){if(g)continue;f=!1;break}if(d){if(!_(e,function(t,e){if(!j(d,e)&&(h===t||i(h,t,n,r,o)))return d.push(e)})){f=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function go(t,e,n,r,i,o,a){switch(n){case ue:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case se:return!(t.byteLength!=e.byteLength||!o(new Sc(t),new Sc(e)));case zt:case Ut:case Kt:return $s(+t,+e);case Yt:return t.name==e.name&&t.message==e.message;case te:case ne:return t==e+"";case Jt:var s=Y;case ee:var u=r&pt;if(s||(s=J),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;r|=gt,a.set(t,e);var c=po(s(t),s(e),r,i,o,a);return a.delete(t),c;case re:if(df)return df.call(t)==df.call(e)}return!1}function vo(t,e,n,r,i,o){var a=n&pt,s=yo(t),u=s.length;if(u!=yo(e).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in e:vc.call(e,c)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);for(var h=a;++l<u;){c=s[l];var p=t[c],g=e[c];if(r)var v=a?r(g,p,c,e,t,o):r(p,g,c,t,e,o);if(!(v===it?p===g||i(p,g,n,r,o):v)){d=!1;break}h||(h="constructor"==c)}if(d&&!h){var m=t.constructor,y=e.constructor;m!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y)&&(d=!1)}return o.delete(t),o.delete(e),d}function mo(t){return Mf(qo(t,it,ha),t+"")}function yo(t){return mr(t,Hu,Sf)}function _o(t){return mr(t,Vu,Tf)}function bo(t){for(var e=t.name+"",n=of[e],r=vc.call(of,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function xo(t){return(vc.call(n,"placeholder")?n:t).placeholder}function wo(){var t=n.iteratee||Ml;return t=t===Ml?jr:t,arguments.length?t(arguments[0],arguments[1]):t}function Co(t,e){var n=t.__data__;return Fo(e)?n["string"==typeof e?"string":"hash"]:n.map}function ko(t){for(var e=Hu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Bo(i)]}return e}function So(t,e){var n=B(t,e);return Pr(n)?n:it}function To(t){var e=vc.call(t,Pc),n=t[Pc];try{t[Pc]=it;var r=!0}catch(t){}var i=_c.call(t);return r&&(e?t[Pc]=n:delete t[Pc]),i}function Ao(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Yc(e,t+a);break;case"takeRight":t=$c(t,e-a)}}return{start:t,end:e}}function Do(t){var e=t.match(Fe);return e?e[1].split(We):[]}function Eo(t,e,n){e=Ci(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Zo(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ru(i)&&No(a,i)&&(md(t)||vd(t))}function Oo(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&vc.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Mo(t){return"function"!=typeof t.constructor||Vo(t)?{}:pf(Ac(t))}function Io(t,e,n,r){var i=t.constructor;switch(e){case se:return Ti(t);case zt:case Ut:return new i(+t);case ue:return Ai(t,r);case le:case ce:case fe:case de:case he:case pe:case ge:case ve:case me:return Ii(t,r);case Jt:return Di(t,r,n);case Kt:case ne:return new i(t);case te:return Ei(t);case ee:return Oi(t,r,n);case re:return Mi(t)}}function Po(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(je,"{\n/* [wrapped with "+e+"] */\n")}function Lo(t){return md(t)||vd(t)||!!(Mc&&t&&t[Mc])}function No(t,e){return!!(e=null==e?Pt:e)&&("number"==typeof t||Ge.test(t))&&t>-1&&t%1==0&&t<e}function Ro(t,e,n){if(!iu(n))return!1;var r=typeof e;return!!("number"==r?Ys(n)&&No(e,n.length):"string"==r&&e in n)&&$s(n[e],t)}function jo(t,e){if(md(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!vu(t))||(Ee.test(t)||!De.test(t)||null!=e&&t in sc(e))}function Fo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Wo(t){var e=bo(t),r=n[e];if("function"!=typeof r||!(e in b.prototype))return!1;if(t===r)return!0;var i=kf(r);return!!i&&t===i[0]}function Ho(t){return!!yc&&yc in t}function Vo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||hc)}function Bo(t){return t===t&&!iu(t)}function zo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==it||t in sc(n)))}}function Uo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(vt|mt|Ct),a=r==Ct&&n==_t||r==Ct&&n==kt&&t[7].length<=e[8]||r==(Ct|kt)&&e[7].length<=e[8]&&n==_t;if(!o&&!a)return t;r&vt&&(t[2]=e[2],i|=n&vt?0:yt);var s=e[3];if(s){var u=t[3];t[3]=u?Ni(u,s,e[4]):s,t[4]=u?G(t[3],ct):e[4]}return s=e[5],s&&(u=t[5],t[5]=u?Ri(u,s,e[6]):s,t[6]=u?G(t[5],ct):e[6]),s=e[7],s&&(t[7]=s),r&Ct&&(t[8]=null==t[8]?e[8]:Yc(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function $o(t){var e=[];if(null!=t)for(var n in sc(t))e.push(n);return e}function Yo(t){return _c.call(t)}function qo(t,e,n){return e=$c(e===it?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=$c(r.length-e,0),a=nc(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=nc(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),s(t,this,u)}}function Go(t,e){return e.length<2?t:vr(t,si(e,0,-1))}function Jo(t,e){for(var n=t.length,r=Yc(e.length,n),i=ji(t);r--;){var o=e[r];t[r]=No(o,n)?i[o]:it}return t}function Ko(t,e,n){var r=e+"";return Mf(t,Po(r,ea(Do(r),n)))}function Qo(t){var e=0,n=0;return function(){var r=qc(),i=Et-(r-n);if(n=r,i>0){if(++e>=Dt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Xo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n<e;){var o=Zr(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Zo(t){if("string"==typeof t||vu(t))return t;var e=t+"";return"0"==e&&1/t==-It?"-0":e}function ta(t){if(null!=t){try{return gc.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ea(t,e){return l(Wt,function(n){var r="_."+n[0];e&n[1]&&!h(t,r)&&t.push(r)}),t.sort()}function na(t){if(t instanceof b)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=ji(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ra(t,e,n){e=(n?Ro(t,e,n):e===it)?1:$c(wu(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=nc(Fc(r/e));i<r;)a[o++]=si(t,i,i+=e);return a}function ia(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function oa(){var t=arguments.length;if(!t)return[];for(var e=nc(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return v(md(n)?ji(n):[n],dr(e,1))}function aa(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:wu(e),si(t,e<0?0:e,r)):[]}function sa(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:wu(e),e=r-e,si(t,0,e<0?0:e)):[]}function ua(t,e){return t&&t.length?mi(t,wo(e,3),!0,!0):[]}function la(t,e){return t&&t.length?mi(t,wo(e,3),!0):[]}function ca(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Ro(t,e,n)&&(n=0,r=i),cr(t,e,n,r)):[]}function fa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:wu(n);return i<0&&(i=$c(r+i,0)),C(t,wo(e,3),i)}function da(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==it&&(i=wu(n),i=n<0?$c(r+i,0):Yc(i,r-1)),C(t,wo(e,3),i,!0)}function ha(t){return(null==t?0:t.length)?dr(t,1):[]}function pa(t){return(null==t?0:t.length)?dr(t,It):[]}function ga(t,e){return(null==t?0:t.length)?(e=e===it?1:wu(e),dr(t,e)):[]}function va(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function ma(t){return t&&t.length?t[0]:it}function ya(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:wu(n);return i<0&&(i=$c(r+i,0)),k(t,e,i)}function _a(t){return(null==t?0:t.length)?si(t,0,-1):[]}function ba(t,e){return null==t?"":zc.call(t,e)}function xa(t){var e=null==t?0:t.length;return e?t[e-1]:it}function wa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==it&&(i=wu(n),i=i<0?$c(r+i,0):Yc(i,r-1)),e===e?X(t,e,i):C(t,T,i,!0)}function Ca(t,e){return t&&t.length?Yr(t,wu(e)):it}function ka(t,e){return t&&t.length&&e&&e.length?Qr(t,e):t}function Sa(t,e,n){return t&&t.length&&e&&e.length?Qr(t,e,wo(n,2)):t}function Ta(t,e,n){return t&&t.length&&e&&e.length?Qr(t,e,it,n):t}function Aa(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=wo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Xr(t,i),n}function Da(t){return null==t?t:Kc.call(t)}function Ea(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Ro(t,e,n)?(e=0,n=r):(e=null==e?0:wu(e),n=n===it?r:wu(n)),si(t,e,n)):[]}function Oa(t,e){return li(t,e)}function Ma(t,e,n){return ci(t,e,wo(n,2))}function Ia(t,e){var n=null==t?0:t.length;if(n){var r=li(t,e);if(r<n&&$s(t[r],e))return r}return-1}function Pa(t,e){return li(t,e,!0)}function La(t,e,n){return ci(t,e,wo(n,2),!0)}function Na(t,e){if(null==t?0:t.length){var n=li(t,e,!0)-1;if($s(t[n],e))return n}return-1}function Ra(t){return t&&t.length?fi(t):[]}function ja(t,e){return t&&t.length?fi(t,wo(e,2)):[]}function Fa(t){var e=null==t?0:t.length;return e?si(t,1,e):[]}function Wa(t,e,n){return t&&t.length?(e=n||e===it?1:wu(e),si(t,0,e<0?0:e)):[]}function Ha(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:wu(e),e=r-e,si(t,e<0?0:e,r)):[]}function Va(t,e){return t&&t.length?mi(t,wo(e,3),!1,!0):[]}function Ba(t,e){return t&&t.length?mi(t,wo(e,3)):[]}function za(t){return t&&t.length?pi(t):[]}function Ua(t,e){return t&&t.length?pi(t,wo(e,2)):[]}function $a(t,e){return e="function"==typeof e?e:it,t&&t.length?pi(t,it,e):[]}function Ya(t){if(!t||!t.length)return[];var e=0;return t=d(t,function(t){if(qs(t))return e=$c(t.length,e),!0}),P(e,function(e){return g(t,D(e))})}function qa(t,e){if(!t||!t.length)return[];var n=Ya(t);return null==e?n:g(n,function(t){return s(e,it,t)})}function Ga(t,e){return bi(t||[],e||[],$n)}function Ja(t,e){return bi(t||[],e||[],oi)}function Ka(t){var e=n(t);return e.__chain__=!0,e}function Qa(t,e){return e(t),t}function Xa(t,e){return e(t)}function Za(){return Ka(this)}function ts(){return new i(this.value(),this.__chain__)}function es(){this.__values__===it&&(this.__values__=bu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?it:this.__values__[this.__index__++]}}function ns(){return this}function rs(t){for(var e,n=this;n instanceof r;){var i=na(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function is(){var t=this.__wrapped__;if(t instanceof b){var e=t;return this.__actions__.length&&(e=new b(this)),e=e.reverse(),e.__actions__.push({func:Xa,args:[Da],thisArg:it}),new i(e,this.__chain__)}return this.thru(Da)}function os(){return yi(this.__wrapped__,this.__actions__)}function as(t,e,n){var r=md(t)?f:ur;return n&&Ro(t,e,n)&&(e=it),r(t,wo(e,3))}function ss(t,e){return(md(t)?d:fr)(t,wo(e,3))}function us(t,e){return dr(ps(t,e),1)}function ls(t,e){return dr(ps(t,e),It)}function cs(t,e,n){return n=n===it?1:wu(n),dr(ps(t,e),n)}function fs(t,e){return(md(t)?l:gf)(t,wo(e,3))}function ds(t,e){return(md(t)?c:vf)(t,wo(e,3))}function hs(t,e,n,r){t=Ys(t)?t:Zu(t),n=n&&!r?wu(n):0;var i=t.length;return n<0&&(n=$c(i+n,0)),gu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&k(t,e,n)>-1}function ps(t,e){return(md(t)?g:Vr)(t,wo(e,3))}function gs(t,e,n,r){return null==t?[]:(md(e)||(e=null==e?[]:[e]),n=r?it:n,md(n)||(n=null==n?[]:[n]),qr(t,e,n))}function vs(t,e,n){var r=md(t)?m:O,i=arguments.length<3;return r(t,wo(e,4),n,i,gf)}function ms(t,e,n){var r=md(t)?y:O,i=arguments.length<3;return r(t,wo(e,4),n,i,vf)}function ys(t,e){return(md(t)?d:fr)(t,Is(wo(e,3)))}function _s(t){return(md(t)?Ln:ri)(t)}function bs(t,e,n){return e=(n?Ro(t,e,n):e===it)?1:wu(e),(md(t)?Nn:ii)(t,e)}function xs(t){return(md(t)?jn:ai)(t)}function ws(t){if(null==t)return 0;if(Ys(t))return gu(t)?Z(t):t.length;var e=Af(t);return e==Jt||e==ee?t.size:Fr(t).length}function Cs(t,e,n){var r=md(t)?_:ui;return n&&Ro(t,e,n)&&(e=it),r(t,wo(e,3))}function ks(t,e){if("function"!=typeof e)throw new cc(st);return t=wu(t),function(){if(--t<1)return e.apply(this,arguments)}}function Ss(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,lo(t,Ct,it,it,it,it,e)}function Ts(t,e){var n;if("function"!=typeof e)throw new cc(st);return t=wu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function As(t,e,n){e=n?it:e;var r=lo(t,_t,it,it,it,it,it,e);return r.placeholder=As.placeholder,r}function Ds(t,e,n){e=n?it:e;var r=lo(t,bt,it,it,it,it,it,e);return r.placeholder=Ds.placeholder,r}function Es(t,e,n){function r(e){var n=d,r=h;return d=h=it,y=e,g=t.apply(r,n)}function i(t){return y=t,v=Of(s,e),_?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return b?Yc(i,p-r):i}function a(t){var n=t-m,r=t-y;return m===it||n>=e||n<0||b&&r>=p}function s(){var t=od();if(a(t))return u(t);v=Of(s,o(t))}function u(t){return v=it,x&&d?r(t):(d=h=it,g)}function l(){v!==it&&wf(v),y=0,d=m=h=v=it}function c(){return v===it?g:u(od())}function f(){var t=od(),n=a(t);if(d=arguments,h=this,m=t,n){if(v===it)return i(m);if(b)return v=Of(s,e),r(m)}return v===it&&(v=Of(s,e)),g}var d,h,p,g,v,m,y=0,_=!1,b=!1,x=!0;if("function"!=typeof t)throw new cc(st);return e=ku(e)||0,iu(n)&&(_=!!n.leading,b="maxWait"in n,p=b?$c(ku(n.maxWait)||0,e):p,x="trailing"in n?!!n.trailing:x),f.cancel=l,f.flush=c,f}function Os(t){return lo(t,St)}function Ms(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cc(st);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ms.Cache||ln),n}function Is(t){if("function"!=typeof t)throw new cc(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ps(t){return Ts(2,t)}function Ls(t,e){if("function"!=typeof t)throw new cc(st);return e=e===it?e:wu(e),ni(t,e)}function Ns(t,e){if("function"!=typeof t)throw new cc(st);return e=null==e?0:$c(wu(e),0),ni(function(n){var r=n[e],i=ki(n,0,e);return r&&v(i,r),s(t,this,i)})}function Rs(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new cc(st);return iu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Es(t,e,{leading:r,maxWait:e,trailing:i})}function js(t){return Ss(t,1)}function Fs(t,e){return fd(wi(e),t)}function Ws(){if(!arguments.length)return[];var t=arguments[0];return md(t)?t:[t]}function Hs(t){return rr(t,ht)}function Vs(t,e){return e="function"==typeof e?e:it,rr(t,ht,e)}function Bs(t){return rr(t,ft|ht)}function zs(t,e){return e="function"==typeof e?e:it,rr(t,ft|ht,e)}function Us(t,e){return null==e||or(t,e,Hu(e))}function $s(t,e){return t===e||t!==t&&e!==e}function Ys(t){return null!=t&&ru(t.length)&&!eu(t)}function qs(t){return ou(t)&&Ys(t)}function Gs(t){return!0===t||!1===t||ou(t)&&yr(t)==zt}function Js(t){return ou(t)&&1===t.nodeType&&!hu(t)}function Ks(t){if(null==t)return!0;if(Ys(t)&&(md(t)||"string"==typeof t||"function"==typeof t.splice||_d(t)||kd(t)||vd(t)))return!t.length;var e=Af(t);if(e==Jt||e==ee)return!t.size;if(Vo(t))return!Fr(t).length;for(var n in t)if(vc.call(t,n))return!1;return!0}function Qs(t,e){return Er(t,e)}function Xs(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?Er(t,e,it,n):!!r}function Zs(t){if(!ou(t))return!1;var e=yr(t);return e==Yt||e==$t||"string"==typeof t.message&&"string"==typeof t.name&&!hu(t)}function tu(t){return"number"==typeof t&&Bc(t)}function eu(t){if(!iu(t))return!1;var e=yr(t);return e==qt||e==Gt||e==Bt||e==Zt}function nu(t){return"number"==typeof t&&t==wu(t)}function ru(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Pt}function iu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ou(t){return null!=t&&"object"==typeof t}function au(t,e){return t===e||Ir(t,e,ko(e))}function su(t,e,n){return n="function"==typeof n?n:it,Ir(t,e,ko(e),n)}function uu(t){return du(t)&&t!=+t}function lu(t){if(Df(t))throw new ic(at);return Pr(t)}function cu(t){return null===t}function fu(t){return null==t}function du(t){return"number"==typeof t||ou(t)&&yr(t)==Kt}function hu(t){if(!ou(t)||yr(t)!=Xt)return!1;var e=Ac(t);if(null===e)return!0;var n=vc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&gc.call(n)==bc}function pu(t){return nu(t)&&t>=-Pt&&t<=Pt}function gu(t){return"string"==typeof t||!md(t)&&ou(t)&&yr(t)==ne}function vu(t){return"symbol"==typeof t||ou(t)&&yr(t)==re}function mu(t){return t===it}function yu(t){return ou(t)&&Af(t)==oe}function _u(t){return ou(t)&&yr(t)==ae}function bu(t){if(!t)return[];if(Ys(t))return gu(t)?tt(t):ji(t);if(Ic&&t[Ic])return $(t[Ic]());var e=Af(t);return(e==Jt?Y:e==ee?J:Zu)(t)}function xu(t){if(!t)return 0===t?t:0;if((t=ku(t))===It||t===-It){return(t<0?-1:1)*Lt}return t===t?t:0}function wu(t){var e=xu(t),n=e%1;return e===e?n?e-n:e:0}function Cu(t){return t?nr(wu(t),0,Rt):0}function ku(t){if("number"==typeof t)return t;if(vu(t))return Nt;if(iu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=iu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Le,"");var n=$e.test(t);return n||qe.test(t)?On(t.slice(2),n?2:8):Ue.test(t)?Nt:+t}function Su(t){return Fi(t,Vu(t))}function Tu(t){return t?nr(wu(t),-Pt,Pt):0===t?t:0}function Au(t){return null==t?"":hi(t)}function Du(t,e){var n=pf(t);return null==e?n:Xn(n,e)}function Eu(t,e){return w(t,wo(e,3),hr)}function Ou(t,e){return w(t,wo(e,3),pr)}function Mu(t,e){return null==t?t:mf(t,wo(e,3),Vu)}function Iu(t,e){return null==t?t:yf(t,wo(e,3),Vu)}function Pu(t,e){return t&&hr(t,wo(e,3))}function Lu(t,e){return t&&pr(t,wo(e,3))}function Nu(t){return null==t?[]:gr(t,Hu(t))}function Ru(t){return null==t?[]:gr(t,Vu(t))}function ju(t,e,n){var r=null==t?it:vr(t,e);return r===it?n:r}function Fu(t,e){return null!=t&&Eo(t,e,br)}function Wu(t,e){return null!=t&&Eo(t,e,xr)}function Hu(t){return Ys(t)?In(t):Fr(t)}function Vu(t){return Ys(t)?In(t,!0):Wr(t)}function Bu(t,e){var n={};return e=wo(e,3),hr(t,function(t,r,i){tr(n,e(t,r,i),t)}),n}function zu(t,e){var n={};return e=wo(e,3),hr(t,function(t,r,i){tr(n,r,e(t,r,i))}),n}function Uu(t,e){return $u(t,Is(wo(e)))}function $u(t,e){if(null==t)return{};var n=g(_o(t),function(t){return[t]});return e=wo(e),Jr(t,n,function(t,n){return e(t,n[0])})}function Yu(t,e,n){e=Ci(e,t);var r=-1,i=e.length;for(i||(i=1,t=it);++r<i;){var o=null==t?it:t[Zo(e[r])];o===it&&(r=i,o=n),t=eu(o)?o.call(t):o}return t}function qu(t,e,n){return null==t?t:oi(t,e,n)}function Gu(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:oi(t,e,n,r)}function Ju(t,e,n){var r=md(t),i=r||_d(t)||kd(t);if(e=wo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:iu(t)&&eu(o)?pf(Ac(t)):{}}return(i?l:hr)(t,function(t,r,i){return e(n,t,r,i)}),n}function Ku(t,e){return null==t||gi(t,e)}function Qu(t,e,n){return null==t?t:vi(t,e,wi(n))}function Xu(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:vi(t,e,wi(n),r)}function Zu(t){return null==t?[]:R(t,Hu(t))}function tl(t){return null==t?[]:R(t,Vu(t))}function el(t,e,n){return n===it&&(n=e,e=it),n!==it&&(n=ku(n),n=n===n?n:0),e!==it&&(e=ku(e),e=e===e?e:0),nr(ku(t),e,n)}function nl(t,e,n){return e=xu(e),n===it?(n=e,e=0):n=xu(n),t=ku(t),wr(t,e,n)}function rl(t,e,n){if(n&&"boolean"!=typeof n&&Ro(t,e,n)&&(e=n=it),n===it&&("boolean"==typeof e?(n=e,e=it):"boolean"==typeof t&&(n=t,t=it)),t===it&&e===it?(t=0,e=1):(t=xu(t),e===it?(e=t,t=0):e=xu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Jc();return Yc(t+i*(e-t+En("1e-"+((i+"").length-1))),e)}return Zr(t,e)}function il(t){return Kd(Au(t).toLowerCase())}function ol(t){return(t=Au(t))&&t.replace(Je,Yn).replace(vn,"")}function al(t,e,n){t=Au(t),e=hi(e);var r=t.length;n=n===it?r:nr(wu(n),0,r);var i=n;return(n-=e.length)>=0&&t.slice(n,i)==e}function sl(t){return t=Au(t),t&&ke.test(t)?t.replace(we,qn):t}function ul(t){return t=Au(t),t&&Pe.test(t)?t.replace(Ie,"\\$&"):t}function ll(t,e,n){t=Au(t),e=wu(e);var r=e?Z(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return no(Wc(i),n)+t+no(Fc(i),n)}function cl(t,e,n){t=Au(t),e=wu(e);var r=e?Z(t):0;return e&&r<e?t+no(e-r,n):t}function fl(t,e,n){t=Au(t),e=wu(e);var r=e?Z(t):0;return e&&r<e?no(e-r,n)+t:t}function dl(t,e,n){return n||null==e?e=0:e&&(e=+e),Gc(Au(t).replace(Ne,""),e||0)}function hl(t,e,n){return e=(n?Ro(t,e,n):e===it)?1:wu(e),ei(Au(t),e)}function pl(){var t=arguments,e=Au(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function gl(t,e,n){return n&&"number"!=typeof n&&Ro(t,e,n)&&(e=n=it),(n=n===it?Rt:n>>>0)?(t=Au(t),t&&("string"==typeof e||null!=e&&!wd(e))&&!(e=hi(e))&&z(t)?ki(tt(t),0,n):t.split(e,n)):[]}function vl(t,e,n){return t=Au(t),n=null==n?0:nr(wu(n),0,t.length),e=hi(e),t.slice(n,n+e.length)==e}function ml(t,e,r){var i=n.templateSettings;r&&Ro(t,e,r)&&(e=it),t=Au(t),e=Ed({},e,i,co);var o,a,s=Ed({},e.imports,i.imports,co),u=Hu(s),l=R(s,u),c=0,f=e.interpolate||Ke,d="__p += '",h=uc((e.escape||Ke).source+"|"+f.source+"|"+(f===Ae?Be:Ke).source+"|"+(e.evaluate||Ke).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++wn+"]")+"\n";t.replace(h,function(e,n,r,i,s,u){return r||(r=i),d+=t.slice(c,u).replace(Qe,V),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),d+="';\n";var g=e.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(ye,""):d).replace(_e,"$1").replace(be,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Qd(function(){return oc(u,p+"return "+d).apply(it,l)});if(v.source=d,Zs(v))throw v;return v}function yl(t){return Au(t).toLowerCase()}function _l(t){return Au(t).toUpperCase()}function bl(t,e,n){if((t=Au(t))&&(n||e===it))return t.replace(Le,"");if(!t||!(e=hi(e)))return t;var r=tt(t),i=tt(e);return ki(r,F(r,i),W(r,i)+1).join("")}function xl(t,e,n){if((t=Au(t))&&(n||e===it))return t.replace(Re,"");if(!t||!(e=hi(e)))return t;var r=tt(t);return ki(r,0,W(r,tt(e))+1).join("")}function wl(t,e,n){if((t=Au(t))&&(n||e===it))return t.replace(Ne,"");if(!t||!(e=hi(e)))return t;var r=tt(t);return ki(r,F(r,tt(e))).join("")}function Cl(t,e){var n=Tt,r=At;if(iu(e)){var i="separator"in e?e.separator:i;n="length"in e?wu(e.length):n,r="omission"in e?hi(e.omission):r}t=Au(t);var o=t.length;if(z(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Z(r);if(s<1)return r;var u=a?ki(a,0,s).join(""):t.slice(0,s);if(i===it)return u+r;if(a&&(s+=u.length-s),wd(i)){if(t.slice(s).search(i)){var l,c=u;for(i.global||(i=uc(i.source,Au(ze.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===it?s:f)}}else if(t.indexOf(hi(i),s)!=s){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r}function kl(t){return t=Au(t),t&&Ce.test(t)?t.replace(xe,Gn):t}function Sl(t,e,n){return t=Au(t),e=n?it:e,e===it?U(t)?rt(t):x(t):t.match(e)||[]}function Tl(t){var e=null==t?0:t.length,n=wo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new cc(st);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++r<e;){var i=t[r];if(s(i[0],this,n))return s(i[1],this,n)}})}function Al(t){return ir(rr(t,ft))}function Dl(t){return function(){return t}}function El(t,e){return null==t||t!==t?e:t}function Ol(t){return t}function Ml(t){return jr("function"==typeof t?t:rr(t,ft))}function Il(t){return Br(rr(t,ft))}function Pl(t,e){return zr(t,rr(e,ft))}function Ll(t,e,n){var r=Hu(e),i=gr(e,r);null!=n||iu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=gr(e,Hu(e)));var o=!(iu(n)&&"chain"in n&&!n.chain),a=eu(t);return l(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=ji(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,v([this.value()],arguments))})}),t}function Nl(){return Pn._===this&&(Pn._=xc),this}function Rl(){}function jl(t){return t=wu(t),ni(function(e){return Yr(e,t)})}function Fl(t){return jo(t)?D(Zo(t)):Kr(t)}function Wl(t){return function(e){return null==t?it:vr(t,e)}}function Hl(){return[]}function Vl(){return!1}function Bl(){return{}}function zl(){return""}function Ul(){return!0}function $l(t,e){if((t=wu(t))<1||t>Pt)return[];var n=Rt,r=Yc(t,Rt);e=wo(e),t-=Rt;for(var i=P(r,e);++n<t;)e(n);return i}function Yl(t){return md(t)?g(t,Zo):vu(t)?[t]:ji(If(Au(t)))}function ql(t){var e=++mc;return Au(t)+e}function Gl(t){return t&&t.length?lr(t,Ol,_r):it}function Jl(t,e){return t&&t.length?lr(t,wo(e,2),_r):it}function Kl(t){return A(t,Ol)}function Ql(t,e){return A(t,wo(e,2))}function Xl(t){return t&&t.length?lr(t,Ol,Hr):it}function Zl(t,e){return t&&t.length?lr(t,wo(e,2),Hr):it}function tc(t){return t&&t.length?I(t,Ol):0}function ec(t,e){return t&&t.length?I(t,wo(e,2)):0}e=null==e?Pn:Jn.defaults(Pn.Object(),e,Jn.pick(Pn,xn));var nc=e.Array,rc=e.Date,ic=e.Error,oc=e.Function,ac=e.Math,sc=e.Object,uc=e.RegExp,lc=e.String,cc=e.TypeError,fc=nc.prototype,dc=oc.prototype,hc=sc.prototype,pc=e["__core-js_shared__"],gc=dc.toString,vc=hc.hasOwnProperty,mc=0,yc=function(){var t=/[^.]+$/.exec(pc&&pc.keys&&pc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),_c=hc.toString,bc=gc.call(sc),xc=Pn._,wc=uc("^"+gc.call(vc).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cc=Rn?e.Buffer:it,kc=e.Symbol,Sc=e.Uint8Array,Tc=Cc?Cc.allocUnsafe:it,Ac=q(sc.getPrototypeOf,sc),Dc=sc.create,Ec=hc.propertyIsEnumerable,Oc=fc.splice,Mc=kc?kc.isConcatSpreadable:it,Ic=kc?kc.iterator:it,Pc=kc?kc.toStringTag:it,Lc=function(){try{var t=So(sc,"defineProperty");return t({},"",{}),t}catch(t){}}(),Nc=e.clearTimeout!==Pn.clearTimeout&&e.clearTimeout,Rc=rc&&rc.now!==Pn.Date.now&&rc.now,jc=e.setTimeout!==Pn.setTimeout&&e.setTimeout,Fc=ac.ceil,Wc=ac.floor,Hc=sc.getOwnPropertySymbols,Vc=Cc?Cc.isBuffer:it,Bc=e.isFinite,zc=fc.join,Uc=q(sc.keys,sc),$c=ac.max,Yc=ac.min,qc=rc.now,Gc=e.parseInt,Jc=ac.random,Kc=fc.reverse,Qc=So(e,"DataView"),Xc=So(e,"Map"),Zc=So(e,"Promise"),tf=So(e,"Set"),ef=So(e,"WeakMap"),nf=So(sc,"create"),rf=ef&&new ef,of={},af=ta(Qc),sf=ta(Xc),uf=ta(Zc),lf=ta(tf),cf=ta(ef),ff=kc?kc.prototype:it,df=ff?ff.valueOf:it,hf=ff?ff.toString:it,pf=function(){function t(){}return function(e){if(!iu(e))return{};if(Dc)return Dc(e);t.prototype=e;var n=new t;return t.prototype=it,n}}();n.templateSettings={escape:Se,evaluate:Te,interpolate:Ae,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=pf(r.prototype),i.prototype.constructor=i,b.prototype=pf(r.prototype),b.prototype.constructor=b,nt.prototype.clear=He,nt.prototype.delete=Xe,nt.prototype.get=Ze,nt.prototype.has=tn,nt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=an,nn.prototype.has=sn,nn.prototype.set=un,ln.prototype.clear=cn,ln.prototype.delete=fn,ln.prototype.get=dn,ln.prototype.has=hn,ln.prototype.set=pn,mn.prototype.add=mn.prototype.push=yn,mn.prototype.has=_n,bn.prototype.clear=Sn,bn.prototype.delete=Tn,bn.prototype.get=An,bn.prototype.has=Dn,bn.prototype.set=Mn;var gf=zi(hr),vf=zi(pr,!0),mf=Ui(),yf=Ui(!0),_f=rf?function(t,e){return rf.set(t,e),t}:Ol,bf=Lc?function(t,e){return Lc(t,"toString",{configurable:!0,enumerable:!1,value:Dl(e),writable:!0})}:Ol,xf=ni,wf=Nc||function(t){return Pn.clearTimeout(t)},Cf=tf&&1/J(new tf([,-0]))[1]==It?function(t){return new tf(t)}:Rl,kf=rf?function(t){return rf.get(t)}:Rl,Sf=Hc?function(t){return null==t?[]:(t=sc(t),d(Hc(t),function(e){return Ec.call(t,e)}))}:Hl,Tf=Hc?function(t){for(var e=[];t;)v(e,Sf(t)),t=Ac(t);return e}:Hl,Af=yr;(Qc&&Af(new Qc(new ArrayBuffer(1)))!=ue||Xc&&Af(new Xc)!=Jt||Zc&&"[object Promise]"!=Af(Zc.resolve())||tf&&Af(new tf)!=ee||ef&&Af(new ef)!=oe)&&(Af=function(t){var e=yr(t),n=e==Xt?t.constructor:it,r=n?ta(n):"";if(r)switch(r){case af:return ue;case sf:return Jt;case uf:return"[object Promise]";case lf:return ee;case cf:return oe}return e});var Df=pc?eu:Vl,Ef=Qo(_f),Of=jc||function(t,e){return Pn.setTimeout(t,e)},Mf=Qo(bf),If=function(t){var e=Ms(t,function(t){return n.size===lt&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return Oe.test(t)&&e.push(""),t.replace(Me,function(t,n,r,i){e.push(r?i.replace(Ve,"$1"):n||t)}),e}),Pf=ni(function(t,e){return qs(t)?sr(t,dr(e,1,qs,!0)):[]}),Lf=ni(function(t,e){var n=xa(e);return qs(n)&&(n=it),qs(t)?sr(t,dr(e,1,qs,!0),wo(n,2)):[]}),Nf=ni(function(t,e){var n=xa(e);return qs(n)&&(n=it),qs(t)?sr(t,dr(e,1,qs,!0),it,n):[]}),Rf=ni(function(t){var e=g(t,xi);return e.length&&e[0]===t[0]?Cr(e):[]}),jf=ni(function(t){var e=xa(t),n=g(t,xi);return e===xa(n)?e=it:n.pop(),n.length&&n[0]===t[0]?Cr(n,wo(e,2)):[]}),Ff=ni(function(t){var e=xa(t),n=g(t,xi);return e="function"==typeof e?e:it,e&&n.pop(),n.length&&n[0]===t[0]?Cr(n,it,e):[]}),Wf=ni(ka),Hf=mo(function(t,e){var n=null==t?0:t.length,r=er(t,e);return Xr(t,g(e,function(t){return No(t,n)?+t:t}).sort(Pi)),r}),Vf=ni(function(t){return pi(dr(t,1,qs,!0))}),Bf=ni(function(t){var e=xa(t);return qs(e)&&(e=it),pi(dr(t,1,qs,!0),wo(e,2))}),zf=ni(function(t){var e=xa(t);return e="function"==typeof e?e:it,pi(dr(t,1,qs,!0),it,e)}),Uf=ni(function(t,e){return qs(t)?sr(t,e):[]}),$f=ni(function(t){return _i(d(t,qs))}),Yf=ni(function(t){var e=xa(t);return qs(e)&&(e=it),_i(d(t,qs),wo(e,2))}),qf=ni(function(t){var e=xa(t);return e="function"==typeof e?e:it,_i(d(t,qs),it,e)}),Gf=ni(Ya),Jf=ni(function(t){var e=t.length,n=e>1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,qa(t,n)}),Kf=mo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return er(e,t)};return!(e>1||this.__actions__.length)&&r instanceof b&&No(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Xa,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Qf=Vi(function(t,e,n){vc.call(t,n)?++t[n]:tr(t,n,1)}),Xf=Ki(fa),Zf=Ki(da),td=Vi(function(t,e,n){vc.call(t,n)?t[n].push(e):tr(t,n,[e])}),ed=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Ys(t)?nc(t.length):[];return gf(t,function(t){o[++r]=i?s(e,t,n):Sr(t,e,n)}),o}),nd=Vi(function(t,e,n){tr(t,n,e)}),rd=Vi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),id=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ro(t,e[0],e[1])?e=[]:n>2&&Ro(e[0],e[1],e[2])&&(e=[e[0]]),qr(t,dr(e,1),[])}),od=Rc||function(){return Pn.Date.now()},ad=ni(function(t,e,n){var r=vt;if(n.length){var i=G(n,xo(ad));r|=xt}return lo(t,r,e,n,i)}),sd=ni(function(t,e,n){var r=vt|mt;if(n.length){var i=G(n,xo(sd));r|=xt}return lo(e,r,t,n,i)}),ud=ni(function(t,e){return ar(t,1,e)}),ld=ni(function(t,e,n){return ar(t,ku(e)||0,n)});Ms.Cache=ln;var cd=xf(function(t,e){e=1==e.length&&md(e[0])?g(e[0],N(wo())):g(dr(e,1),N(wo()));var n=e.length;return ni(function(r){for(var i=-1,o=Yc(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return s(t,this,r)})}),fd=ni(function(t,e){var n=G(e,xo(fd));return lo(t,xt,it,e,n)}),dd=ni(function(t,e){var n=G(e,xo(dd));return lo(t,wt,it,e,n)}),hd=mo(function(t,e){return lo(t,kt,it,it,it,e)}),pd=oo(_r),gd=oo(function(t,e){return t>=e}),vd=Tr(function(){return arguments}())?Tr:function(t){return ou(t)&&vc.call(t,"callee")&&!Ec.call(t,"callee")},md=nc.isArray,yd=Wn?N(Wn):Ar,_d=Vc||Vl,bd=Hn?N(Hn):Dr,xd=Vn?N(Vn):Mr,wd=Bn?N(Bn):Lr,Cd=zn?N(zn):Nr,kd=Un?N(Un):Rr,Sd=oo(Hr),Td=oo(function(t,e){return t<=e}),Ad=Bi(function(t,e){if(Vo(e)||Ys(e))return void Fi(e,Hu(e),t);for(var n in e)vc.call(e,n)&&$n(t,n,e[n])}),Dd=Bi(function(t,e){Fi(e,Vu(e),t)}),Ed=Bi(function(t,e,n,r){Fi(e,Vu(e),t,r)}),Od=Bi(function(t,e,n,r){Fi(e,Hu(e),t,r)}),Md=mo(er),Id=ni(function(t){return t.push(it,co),s(Ed,it,t)}),Pd=ni(function(t){return t.push(it,fo),s(Fd,it,t)}),Ld=Zi(function(t,e,n){t[e]=n},Dl(Ol)),Nd=Zi(function(t,e,n){vc.call(t,e)?t[e].push(n):t[e]=[n]},wo),Rd=ni(Sr),jd=Bi(function(t,e,n){Ur(t,e,n)}),Fd=Bi(function(t,e,n,r){Ur(t,e,n,r)}),Wd=mo(function(t,e){var n={};if(null==t)return n;var r=!1;e=g(e,function(e){return e=Ci(e,t),r||(r=e.length>1),e}),Fi(t,_o(t),n),r&&(n=rr(n,ft|dt|ht,ho));for(var i=e.length;i--;)gi(n,e[i]);return n}),Hd=mo(function(t,e){return null==t?{}:Gr(t,e)}),Vd=uo(Hu),Bd=uo(Vu),zd=qi(function(t,e,n){return e=e.toLowerCase(),t+(n?il(e):e)}),Ud=qi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),$d=qi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Yd=Yi("toLowerCase"),qd=qi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Gd=qi(function(t,e,n){return t+(n?" ":"")+Kd(e)}),Jd=qi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kd=Yi("toUpperCase"),Qd=ni(function(t,e){try{return s(t,it,e)}catch(t){return Zs(t)?t:new ic(t)}}),Xd=mo(function(t,e){return l(e,function(e){e=Zo(e),tr(t,e,ad(t[e],t))}),t}),Zd=Qi(),th=Qi(!0),eh=ni(function(t,e){return function(n){return Sr(n,t,e)}}),nh=ni(function(t,e){return function(n){return Sr(t,n,e)}}),rh=eo(g),ih=eo(f),oh=eo(_),ah=io(),sh=io(!0),uh=to(function(t,e){return t+e},0),lh=so("ceil"),ch=to(function(t,e){return t/e},1),fh=so("floor"),dh=to(function(t,e){return t*e},1),hh=so("round"),ph=to(function(t,e){return t-e},0);return n.after=ks,n.ary=Ss,n.assign=Ad,n.assignIn=Dd,n.assignInWith=Ed,n.assignWith=Od,n.at=Md,n.before=Ts,n.bind=ad,n.bindAll=Xd,n.bindKey=sd,n.castArray=Ws,n.chain=Ka,n.chunk=ra,n.compact=ia,n.concat=oa,n.cond=Tl,n.conforms=Al,n.constant=Dl,n.countBy=Qf,n.create=Du,n.curry=As,n.curryRight=Ds,n.debounce=Es,n.defaults=Id,n.defaultsDeep=Pd,n.defer=ud,n.delay=ld,n.difference=Pf,n.differenceBy=Lf,n.differenceWith=Nf,n.drop=aa,n.dropRight=sa,n.dropRightWhile=ua,n.dropWhile=la,n.fill=ca,n.filter=ss,n.flatMap=us,n.flatMapDeep=ls,n.flatMapDepth=cs,n.flatten=ha,n.flattenDeep=pa,n.flattenDepth=ga,n.flip=Os,n.flow=Zd,n.flowRight=th,n.fromPairs=va,n.functions=Nu,n.functionsIn=Ru,n.groupBy=td,n.initial=_a,n.intersection=Rf,n.intersectionBy=jf,n.intersectionWith=Ff,n.invert=Ld,n.invertBy=Nd,n.invokeMap=ed,n.iteratee=Ml,n.keyBy=nd,n.keys=Hu,n.keysIn=Vu,n.map=ps,n.mapKeys=Bu,n.mapValues=zu,n.matches=Il,n.matchesProperty=Pl,n.memoize=Ms,n.merge=jd,n.mergeWith=Fd,n.method=eh,n.methodOf=nh,n.mixin=Ll,n.negate=Is,n.nthArg=jl,n.omit=Wd,n.omitBy=Uu,n.once=Ps,n.orderBy=gs,n.over=rh,n.overArgs=cd,n.overEvery=ih,n.overSome=oh,n.partial=fd,n.partialRight=dd,n.partition=rd,n.pick=Hd,n.pickBy=$u,n.property=Fl,n.propertyOf=Wl,n.pull=Wf,n.pullAll=ka,n.pullAllBy=Sa,n.pullAllWith=Ta,n.pullAt=Hf,n.range=ah,n.rangeRight=sh,n.rearg=hd,n.reject=ys,n.remove=Aa,n.rest=Ls,n.reverse=Da,n.sampleSize=bs,n.set=qu,n.setWith=Gu,n.shuffle=xs,n.slice=Ea,n.sortBy=id,n.sortedUniq=Ra,n.sortedUniqBy=ja,n.split=gl,n.spread=Ns,n.tail=Fa,n.take=Wa,n.takeRight=Ha,n.takeRightWhile=Va,n.takeWhile=Ba,n.tap=Qa,n.throttle=Rs,n.thru=Xa,n.toArray=bu,n.toPairs=Vd,n.toPairsIn=Bd,n.toPath=Yl,n.toPlainObject=Su,n.transform=Ju,n.unary=js,n.union=Vf,n.unionBy=Bf,n.unionWith=zf,n.uniq=za,n.uniqBy=Ua,n.uniqWith=$a,n.unset=Ku,n.unzip=Ya,n.unzipWith=qa,n.update=Qu,n.updateWith=Xu,n.values=Zu,n.valuesIn=tl,n.without=Uf,n.words=Sl,n.wrap=Fs,n.xor=$f,n.xorBy=Yf,n.xorWith=qf,n.zip=Gf,n.zipObject=Ga,n.zipObjectDeep=Ja,n.zipWith=Jf,n.entries=Vd,n.entriesIn=Bd,n.extend=Dd,n.extendWith=Ed,Ll(n,n),n.add=uh,n.attempt=Qd,n.camelCase=zd,n.capitalize=il,n.ceil=lh,n.clamp=el,n.clone=Hs,n.cloneDeep=Bs,n.cloneDeepWith=zs,n.cloneWith=Vs,n.conformsTo=Us,n.deburr=ol,n.defaultTo=El,n.divide=ch,n.endsWith=al,n.eq=$s,n.escape=sl,n.escapeRegExp=ul,n.every=as,n.find=Xf,n.findIndex=fa,n.findKey=Eu,n.findLast=Zf,n.findLastIndex=da,n.findLastKey=Ou,n.floor=fh,n.forEach=fs,n.forEachRight=ds,n.forIn=Mu,n.forInRight=Iu,n.forOwn=Pu,n.forOwnRight=Lu,n.get=ju,n.gt=pd,n.gte=gd,n.has=Fu,n.hasIn=Wu,n.head=ma,n.identity=Ol,n.includes=hs,n.indexOf=ya,n.inRange=nl,n.invoke=Rd,n.isArguments=vd,n.isArray=md,n.isArrayBuffer=yd,n.isArrayLike=Ys,n.isArrayLikeObject=qs,n.isBoolean=Gs,n.isBuffer=_d,n.isDate=bd,n.isElement=Js,n.isEmpty=Ks,n.isEqual=Qs,n.isEqualWith=Xs,n.isError=Zs,n.isFinite=tu,n.isFunction=eu,n.isInteger=nu,n.isLength=ru,n.isMap=xd,n.isMatch=au,n.isMatchWith=su,n.isNaN=uu,n.isNative=lu,n.isNil=fu,n.isNull=cu,n.isNumber=du,n.isObject=iu,n.isObjectLike=ou,n.isPlainObject=hu,n.isRegExp=wd,n.isSafeInteger=pu,n.isSet=Cd,n.isString=gu,n.isSymbol=vu,n.isTypedArray=kd,n.isUndefined=mu,n.isWeakMap=yu,n.isWeakSet=_u,n.join=ba,n.kebabCase=Ud,n.last=xa,n.lastIndexOf=wa,n.lowerCase=$d,n.lowerFirst=Yd,n.lt=Sd,n.lte=Td,n.max=Gl,n.maxBy=Jl,n.mean=Kl,n.meanBy=Ql,n.min=Xl,n.minBy=Zl,n.stubArray=Hl,n.stubFalse=Vl,n.stubObject=Bl,n.stubString=zl,n.stubTrue=Ul,n.multiply=dh,n.nth=Ca,n.noConflict=Nl,n.noop=Rl,n.now=od,n.pad=ll,n.padEnd=cl,n.padStart=fl,n.parseInt=dl,n.random=rl,n.reduce=vs,n.reduceRight=ms,n.repeat=hl,n.replace=pl,n.result=Yu,n.round=hh,n.runInContext=t,n.sample=_s,n.size=ws,n.snakeCase=qd,n.some=Cs,n.sortedIndex=Oa,n.sortedIndexBy=Ma,n.sortedIndexOf=Ia,n.sortedLastIndex=Pa,n.sortedLastIndexBy=La,n.sortedLastIndexOf=Na,n.startCase=Gd,n.startsWith=vl,n.subtract=ph,n.sum=tc,n.sumBy=ec,n.template=ml,n.times=$l,n.toFinite=xu,n.toInteger=wu,n.toLength=Cu,n.toLower=yl,n.toNumber=ku,n.toSafeInteger=Tu,n.toString=Au,n.toUpper=_l,n.trim=bl,n.trimEnd=xl,n.trimStart=wl,n.truncate=Cl,n.unescape=kl,n.uniqueId=ql,n.upperCase=Jd,n.upperFirst=Kd,n.each=fs,n.eachRight=ds,n.first=ma,Ll(n,function(){var t={};return hr(n,function(e,r){vc.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.4",l(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),l(["drop","take"],function(t,e){b.prototype[t]=function(n){n=n===it?1:$c(wu(n),0);var r=this.__filtered__&&!e?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Yc(n,r.__takeCount__):r.__views__.push({size:Yc(n,Rt),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),l(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Ot||3==n;b.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:wo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),l(["head","last"],function(t,e){var n="take"+(e?"Right":"");b.prototype[t]=function(){return this[n](1).value()[0]}}),l(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Ol)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new b(this):this.map(function(n){return Sr(n,t,e)})}),b.prototype.reject=function(t){return this.filter(Is(wo(t)))},b.prototype.slice=function(t,e){t=wu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new b(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=wu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(Rt)},hr(b.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,u=o?[1]:arguments,l=e instanceof b,c=u[0],f=l||md(e),d=function(t){var e=a.apply(n,v([t],u));return o&&h?e[0]:e};f&&r&&"function"==typeof c&&1!=c.length&&(l=f=!1);var h=this.__chain__,p=!!this.__actions__.length,g=s&&!h,m=l&&!p;if(!s&&f){e=m?e:new b(this);var y=t.apply(e,u);return y.__actions__.push({func:Xa,args:[d],thisArg:it}),new i(y,h)}return g&&m?t.apply(this,u):(y=this.thru(d),g?o?y.value()[0]:y.value():y)})}),l(["pop","push","shift","sort","splice","unshift"],function(t){var e=fc[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(md(n)?n:[],t)}return this[r](function(n){return e.apply(md(n)?n:[],t)})}}),hr(b.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"";(of[i]||(of[i]=[])).push({name:e,func:r})}}),of[Xi(it,mt).name]=[{name:"wrapper",func:it}],b.prototype.clone=E,b.prototype.reverse=Q,b.prototype.value=et,n.prototype.at=Kf,n.prototype.chain=Za,n.prototype.commit=ts,n.prototype.next=es,n.prototype.plant=rs,n.prototype.reverse=is,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=os,n.prototype.first=n.prototype.head,Ic&&(n.prototype[Ic]=ns),n}();Pn._=Jn,(i=function(){return Jn}.call(e,n,e,r))!==it&&(r.exports=i)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},NtI4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("dIim"),i=n.n(r);e.default={components:{Status:i.a},data:function(){return{page:1,perPage:50,totalPages:1,loadState:!0,jobs:[]}},created:function(){this.loadJobs(),this.refreshJobsPeriodically()},destroyed:function(){clearInterval(this.interval)},watch:{$route:function(){this.page=1,this.loadJobs()}},methods:{loadJobs:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(this.loadState=!0),this.$http.get("/horizon/api/jobs/recent?starting_at="+e+"&limit="+this.perPage).then(function(e){return t.jobs=e.data.jobs,t.totalPages=Math.ceil(e.data.total/t.perPage),t.loadState=!1,e.data.jobs})},refreshJobsPeriodically:function(){var t=this;this.interval=setInterval(function(){1==t.page&&t.loadJobs(-1,!1)},3e3)},previous:function(){this.loadJobs((this.page-2)*this.perPage-1),this.page-=1},next:function(){this.loadJobs(this.page*this.perPage-1),this.page+=1}}}},O61M:function(t,e,n){var r=n("VU/8")(n("sj/N"),n("P8RB"),null,null,null);t.exports=r.exports},Ohio:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{position:"relative"}},[n("canvas",{ref:"canvas",attrs:{height:"70"}})])},staticRenderFns:[]}},P0wg:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header d-flex align-items-center"},[n("span",{staticClass:"mr-auto"},[t._v("Failed Jobs")]),t._v(" "),n("div",{staticClass:"search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.tagSearchPhrase,expression:"tagSearchPhrase"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Search Tags"},domProps:{value:t.tagSearchPhrase},on:{input:function(e){e.target.composing||(t.tagSearchPhrase=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"table-responsive"},[n("loader",{attrs:{yes:t.loadingJobs}}),t._v(" "),t.loadingJobs||t.jobs.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n There aren't any recent failed jobs.\n ")]),t._v(" "),!t.loadingJobs&&t.jobs.length?n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Job")]),t._v(" "),n("th",[t._v("On")]),t._v(" "),n("th",[t._v("Tags")]),t._v(" "),n("th",[t._v("Runtime")]),t._v(" "),n("th",[t._v("Failed At")]),t._v(" "),n("th",[t._v("Retry")])])]),t._v(" "),n("tbody",t._l(t.jobs,function(e){return n("tr",[n("td",[n("router-link",{attrs:{to:{name:"failed.detail",params:{jobId:e.id}},"data-toggle":"tooltip",title:e.name}},[t._v("\n "+t._s(t.jobBaseName(e.name))+"\n ")])],1),t._v(" "),n("td",[t._v(t._s(e.queue))]),t._v(" "),n("td",[t._v(t._s(t.displayableTagsList(e.payload.tags)))]),t._v(" "),n("td",[t._v(t._s(e.failed_at?String(e.failed_at-e.reserved_at)+"s":"-"))]),t._v(" "),n("td",{staticClass:"text-nowrap"},[t._v(t._s(t.readableTimestamp(e.failed_at)))]),t._v(" "),n("td",[t.hasCompleted(e)?t._e():n("span",{on:{click:function(n){t.retry(e.id)}}},[n("i",{staticClass:"icon"},[n("svg",{staticClass:"fill-primary",class:{spin:t.isRetrying(e.id)}},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-refresh"}})])])])])])}))]):t._e(),t._v(" "),!t.loadingJobs&&t.jobs.length?n("div",{staticClass:"p-3 mt-3 d-flex justify-content-between"},[n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:1==t.page},on:{click:t.previous}},[t._v("Previous")]),t._v(" "),n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:t.page>=t.totalPages},on:{click:t.next}},[t._v("Next")])]):t._e()],1)])])])},staticRenderFns:[]}},P8RB:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("loader",{attrs:{yes:t.loadingQueues}}),t._v(" "),t.loadingQueues||t.queues.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n There aren't any queues.\n ")]),t._v(" "),!t.loadingQueues&&t.queues.length?n("table",{staticClass:"table card-table table-hover"},[t._m(0),t._v(" "),n("tbody",t._l(t.queues,function(e){return n("tr",[n("td",[n("router-link",{attrs:{to:{name:"metrics.detail",params:{type:"queues",slug:e}}}},[t._v(t._s(e))])],1)])}))]):t._e()],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Queue")])])])}]}},PJh5:function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return _r.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){var e;for(e in t)return!1;return!0}function o(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return ye(t,e,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(t){return null==t._pf&&(t._pf=d()),t._pf}function p(t){if(null==t._isValid){var e=h(t),n=xr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=f(NaN);return null!=t?c(h(e),t):h(e).userInvalidated=!0,e}function v(t,e){var n,r,i;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=h(e)),o(e._locale)||(t._locale=e._locale),wr.length>0)for(n=0;n<wr.length;n++)r=wr[n],i=e[r],o(i)||(t[r]=i);return t}function m(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Cr&&(Cr=!0,e.updateOffset(this),Cr=!1)}function y(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function x(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&a++;return a+o}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,n){var r=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),kr[t]||(w(n),kr[t]=!0)}function S(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t){var e,n;for(n in t)e=t[n],S(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function A(t,e){var n,i=c({},t);for(n in e)l(e,n)&&(r(t[n])&&r(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)l(t,n)&&!l(e,n)&&r(t[n])&&(i[n]=c({},i[n]));return i}function D(t){null!=t&&this.set(t)}function E(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return S(r)?r.call(e,n):r}function O(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function M(){return this._invalidDate}function I(t){return this._ordinal.replace("%d",t)}function P(t,e,n,r){var i=this._relativeTime[n];return S(i)?i(t,e,n,r):i.replace(/%d/i,t)}function L(t,e){var n=this._relativeTime[t>0?"future":"past"];return S(n)?n(e):n.replace(/%s/i,e)}function N(t,e){var n=t.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[e]=t}function R(t){return"string"==typeof t?Ir[t]||Ir[t.toLowerCase()]:void 0}function j(t){var e,n,r={};for(n in t)l(t,n)&&(e=R(n))&&(r[e]=t[n]);return r}function F(t,e){Pr[t]=e}function W(t){var e=[];for(var n in t)e.push({unit:n,priority:Pr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function H(t,n){return function(r){return null!=r?(B(this,t,r),e.updateOffset(this,n),this):V(this,t)}}function V(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function B(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function z(t){return t=R(t),S(this[t])?this[t]():this}function U(t,e){if("object"==typeof t){t=j(t);for(var n=W(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=R(t),S(this[t]))return this[t](e);return this}function $(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(jr[t]=i),e&&(jr[e[0]]=function(){return $(i.apply(this,arguments),e[1],e[2])}),n&&(jr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function G(t){var e,n,r=t.match(Lr);for(e=0,n=r.length;e<n;e++)jr[r[e]]?r[e]=jr[r[e]]:r[e]=q(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=S(r[i])?r[i].call(e,t):r[i];return o}}function J(t,e){return t.isValid()?(e=K(e,t.localeData()),Rr[e]=Rr[e]||G(e),Rr[e](t)):t.localeData().invalidDate()}function K(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Nr.lastIndex=0;r>=0&&Nr.test(t);)t=t.replace(Nr,n),Nr.lastIndex=0,r-=1;return t}function Q(t,e,n){ei[t]=S(e)?e:function(t,r){return t&&n?n:e}}function X(t,e){return l(ei,t)?ei[t](e._strict,e._locale):new RegExp(Z(t))}function Z(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),a(e)&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)ni[t[n]]=r}function nt(t,e){et(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function rt(t,e,n){null!=e&&l(ni,t)&&ni[t](e,n._a,n,t)}function it(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function ot(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||hi).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function at(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[hi.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=di.call(this._shortMonthsParse,a),-1!==i?i:null):(i=di.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?-1!==(i=di.call(this._shortMonthsParse,a))?i:(i=di.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=di.call(this._longMonthsParse,a))?i:(i=di.call(this._shortMonthsParse,a),-1!==i?i:null)}function ut(t,e,n){var r,i,o;if(this._monthsParseExact)return st.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function lt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),!a(e))return t;return n=Math.min(t.date(),it(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ct(t){return null!=t?(lt(this,t),e.updateOffset(this,!0),this):V(this,"Month")}function ft(){return it(this.year(),this.month())}function dt(t){return this._monthsParseExact?(l(this,"_monthsRegex")||pt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=vi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ht(t){return this._monthsParseExact?(l(this,"_monthsRegex")||pt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=mi),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function pt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=tt(r[e]),i[e]=tt(i[e]);for(e=0;e<24;e++)o[e]=tt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function gt(t){return vt(t)?366:365}function vt(t){return t%4==0&&t%100!=0||t%400==0}function mt(){return vt(this.year())}function yt(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function _t(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function bt(t,e,n){var r=7+e-n;return-(7+_t(t,0,r).getUTCDay()-e)%7+r-1}function xt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=bt(t,r,i),l=1+7*(e-1)+s+u;return l<=0?(o=t-1,a=gt(o)+l):l>gt(t)?(o=t+1,a=l-gt(t)):(o=t,a=l),{year:o,dayOfYear:a}}function wt(t,e,n){var r,i,o=bt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+Ct(i,e,n)):a>Ct(t.year(),e,n)?(r=a-Ct(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Ct(t,e,n){var r=bt(t,e,n),i=bt(t+1,e,n);return(gt(t)-r+i)/7}function kt(t){return wt(t,this._week.dow,this._week.doy).week}function St(){return this._week.dow}function Tt(){return this._week.doy}function At(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Dt(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Ot(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Mt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone}function It(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Pt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Lt(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=di.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=di.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=di.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?-1!==(i=di.call(this._weekdaysParse,a))?i:-1!==(i=di.call(this._shortWeekdaysParse,a))?i:(i=di.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===e?-1!==(i=di.call(this._shortWeekdaysParse,a))?i:-1!==(i=di.call(this._weekdaysParse,a))?i:(i=di.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=di.call(this._minWeekdaysParse,a))?i:-1!==(i=di.call(this._weekdaysParse,a))?i:(i=di.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Nt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Lt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function jt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ft(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ot(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Wt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ci),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ht(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ki),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Si),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(t),s.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)s[e]=tt(s[e]),u[e]=tt(u[e]),l[e]=tt(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Ut(){return this.hours()||24}function $t(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Yt(t,e){return e._meridiemParse}function qt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Gt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Jt(t){return t?t.toLowerCase().replace("_","-"):t}function Kt(t){for(var e,n,r,i,o=0;o<t.length;){for(i=Jt(t[o]).split("-"),e=i.length,n=Jt(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Qt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&x(i,n,!0)>=e-1)break;e--}o++}return null}function Qt(e){var n=null;if(!Oi[e]&&void 0!==t&&t&&t.exports)try{n=Ti._abbr,function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Xt(n)}catch(t){}return Oi[e]}function Xt(t,e){var n;return t&&(n=o(e)?ee(t):Zt(t,e))&&(Ti=n),Ti._abbr}function Zt(t,e){if(null!==e){var n=Ei;if(e.abbr=t,null!=Oi[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Oi[t]._config;else if(null!=e.parentLocale){if(null==Oi[e.parentLocale])return Mi[e.parentLocale]||(Mi[e.parentLocale]=[]),Mi[e.parentLocale].push({name:t,config:e}),null;n=Oi[e.parentLocale]._config}return Oi[t]=new D(A(n,e)),Mi[t]&&Mi[t].forEach(function(t){Zt(t.name,t.config)}),Xt(t),Oi[t]}return delete Oi[t],null}function te(t,e){if(null!=e){var n,r=Ei;null!=Oi[t]&&(r=Oi[t]._config),e=A(r,e),n=new D(e),n.parentLocale=Oi[t],Oi[t]=n,Xt(t)}else null!=Oi[t]&&(null!=Oi[t].parentLocale?Oi[t]=Oi[t].parentLocale:null!=Oi[t]&&delete Oi[t]);return Oi[t]}function ee(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ti;if(!n(t)){if(e=Qt(t))return e;t=[t]}return Kt(t)}function ne(){return Ar(Oi)}function re(t){var e,n=t._a;return n&&-2===h(t).overflow&&(e=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>it(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,h(t)._overflowDayOfYear&&(e<ri||e>oi)&&(e=oi),h(t)._overflowWeeks&&-1===e&&(e=ci),h(t)._overflowWeekday&&-1===e&&(e=fi),h(t).overflow=e),t}function ie(t){var e,n,r,i,o,a,s=t._i,u=Ii.exec(s)||Pi.exec(s);if(u){for(h(t).iso=!0,e=0,n=Ni.length;e<n;e++)if(Ni[e][1].exec(u[1])){i=Ni[e][0],r=!1!==Ni[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=Ri.length;e<n;e++)if(Ri[e][1].exec(u[3])){o=(u[2]||" ")+Ri[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Li.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),fe(t)}else t._isValid=!1}function oe(t){var e,n,r,i,o,a,s,u,l={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},c="YXWVUTSRQPONZABCDEFGHIKLM";if(e=t._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),n=Fi.exec(e)){if(r=n[1]?"ddd"+(5===n[1].length?", ":" "):"",i="D MMM "+(n[2].length>10?"YYYY ":"YY "),o="HH:mm"+(n[4]?":ss":""),n[1]){var f=new Date(n[2]),d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][f.getDay()];if(n[1].substr(0,3)!==d)return h(t).weekdayMismatch=!0,void(t._isValid=!1)}switch(n[5].length){case 2:0===u?s=" +0000":(u=c.indexOf(n[5][1].toUpperCase())-12,s=(u<0?" -":" +")+(""+u).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:s=l[n[5]];break;default:s=l[" GMT"]}n[5]=s,t._i=n.splice(1).join(""),a=" ZZ",t._f=r+i+o+a,fe(t),h(t).rfc2822=!0}else t._isValid=!1}function ae(t){var n=ji.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ie(t),!1===t._isValid&&(delete t._isValid,oe(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function se(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,r,i,o=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[oi]&&null==t._a[ii]&&ce(t),null!=t._dayOfYear&&(i=se(t._a[ri],r[ri]),(t._dayOfYear>gt(i)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),n=_t(i,0,t._dayOfYear),t._a[ii]=n.getUTCMonth(),t._a[oi]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ai]&&0===t._a[si]&&0===t._a[ui]&&0===t._a[li]&&(t._nextDay=!0,t._a[ai]=0),t._d=(t._useUTC?_t:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ai]=24)}}function ce(t){var e,n,r,i,o,a,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=se(e.GG,t._a[ri],wt(_e(),1,4).year),r=se(e.W,1),((i=se(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var l=wt(_e(),o,a);n=se(e.gg,t._a[ri],l.year),r=se(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>Ct(n,o,a)?h(t)._overflowWeeks=!0:null!=u?h(t)._overflowWeekday=!0:(s=xt(n,r,i,o,a),t._a[ri]=s.year,t._dayOfYear=s.dayOfYear)}function fe(t){if(t._f===e.ISO_8601)return void ie(t);if(t._f===e.RFC_2822)return void oe(t);t._a=[],h(t).empty=!0;var n,r,i,o,a,s=""+t._i,u=s.length,l=0;for(i=K(t._f,t._locale).match(Lr)||[],n=0;n<i.length;n++)o=i[n],r=(s.match(X(o,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&h(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),jr[o]?(r?h(t).empty=!1:h(t).unusedTokens.push(o),rt(o,r,t)):t._strict&&!r&&h(t).unusedTokens.push(o);h(t).charsLeftOver=u-l,s.length>0&&h(t).unusedInput.push(s),t._a[ai]<=12&&!0===h(t).bigHour&&t._a[ai]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[ai]=de(t._locale,t._a[ai],t._meridiem),le(t),re(t)}function de(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function he(t){var e,n,r,i,o;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],fe(e),p(e)&&(o+=h(e).charsLeftOver,o+=10*h(e).unusedTokens.length,h(e).score=o,(null==r||o<r)&&(r=o,n=e));c(t,n||e)}function pe(t){if(!t._d){var e=j(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function ge(t){var e=new m(re(ve(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function ve(t){var e=t._i,r=t._f;return t._locale=t._locale||ee(t._l),null===e||void 0===r&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new m(re(e)):(s(e)?t._d=e:n(r)?he(t):r?fe(t):me(t),p(t)||(t._d=null),t))}function me(t){var i=t._i;o(i)?t._d=new Date(e.now()):s(i)?t._d=new Date(i.valueOf()):"string"==typeof i?ae(t):n(i)?(t._a=u(i.slice(0),function(t){return parseInt(t,10)}),le(t)):r(i)?pe(t):a(i)?t._d=new Date(i):e.createFromInputFallback(t)}function ye(t,e,o,a,s){var u={};return!0!==o&&!1!==o||(a=o,o=void 0),(r(t)&&i(t)||n(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=o,u._i=t,u._f=e,u._strict=a,ge(u)}function _e(t,e,n,r){return ye(t,e,n,r,!1)}function be(t,e){var r,i;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return _e();for(r=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](r)||(r=e[i]);return r}function xe(){return be("isBefore",[].slice.call(arguments,0))}function we(){return be("isAfter",[].slice.call(arguments,0))}function Ce(t){for(var e in t)if(-1===Bi.indexOf(e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Bi.length;++r)if(t[Bi[r]]){if(n)return!1;parseFloat(t[Bi[r]])!==b(t[Bi[r]])&&(n=!0)}return!0}function ke(){return this._isValid}function Se(){return Ue(NaN)}function Te(t){var e=j(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=Ce(e),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ee(),this._bubble()}function Ae(t){return t instanceof Te}function De(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ee(t,e){Y(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+$(~~(t/60),2)+e+$(~~t%60,2)})}function Oe(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(zi)||["-",0,0],o=60*i[1]+b(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Me(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(y(t)||s(t)?t.valueOf():_e(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):_e(t).local()}function Ie(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Pe(t,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Oe(Xr,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=Ie(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?Je(this,Ue(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ie(this)}function Le(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ne(t){return this.utcOffset(0,t)}function Re(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ie(this),"m")),this}function je(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Oe(Qr,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Fe(t){return!!this.isValid()&&(t=t?_e(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function We(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function He(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),t=ve(t),t._a){var e=t._isUTC?f(t._a):_e(t._a);this._isDSTShifted=this.isValid()&&x(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ve(){return!!this.isValid()&&!this._isUTC}function Be(){return!!this.isValid()&&this._isUTC}function ze(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ue(t,e){var n,r,i,o=t,s=null;return Ae(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(o={},e?o[e]=t:o.milliseconds=t):(s=Ui.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[oi])*n,h:b(s[ai])*n,m:b(s[si])*n,s:b(s[ui])*n,ms:b(De(1e3*s[li]))*n}):(s=$i.exec(t))?(n="-"===s[1]?-1:1,o={y:$e(s[2],n),M:$e(s[3],n),w:$e(s[4],n),d:$e(s[5],n),h:$e(s[6],n),m:$e(s[7],n),s:$e(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qe(_e(o.from),_e(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Te(o),Ae(t)&&l(t,"_locale")&&(r._locale=t._locale),r}function $e(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ye(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function qe(t,e){var n;return t.isValid()&&e.isValid()?(e=Me(e,t),t.isBefore(e)?n=Ye(t,e):(n=Ye(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ge(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ue(n,r),Je(this,i,t),this}}function Je(t,n,r,i){var o=n._milliseconds,a=De(n._days),s=De(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),a&&B(t,"Date",V(t,"Date")+a*r),s&<(t,V(t,"Month")+s*r),i&&e.updateOffset(t,a||s))}function Ke(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Qe(t,n){var r=t||_e(),i=Me(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",a=n&&(S(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,_e(r)))}function Xe(){return new m(this)}function Ze(t,e){var n=y(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=R(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function tn(t,e){var n=y(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=R(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function en(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function nn(t,e){var n,r=y(t)?t:_e(t);return!(!this.isValid()||!r.isValid())&&(e=R(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function rn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function on(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function an(t,e,n){var r,i,o,a;return this.isValid()?(r=Me(t,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),e=R(e),"year"===e||"month"===e||"quarter"===e?(a=sn(this,r),"quarter"===e?a/=3:"year"===e&&(a/=12)):(o=this-r,a="second"===e?o/1e3:"minute"===e?o/6e4:"hour"===e?o/36e5:"day"===e?(o-i)/864e5:"week"===e?(o-i)/6048e5:o),n?a:_(a)):NaN):NaN}function sn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ln(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?J(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):S(Date.prototype.toISOString)?this.toDate().toISOString():J(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function cn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function fn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=J(this,t);return this.localeData().postformat(n)}function dn(t,e){return this.isValid()&&(y(t)&&t.isValid()||_e(t).isValid())?Ue({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function hn(t){return this.from(_e(),t)}function pn(t,e){return this.isValid()&&(y(t)&&t.isValid()||_e(t).isValid())?Ue({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function gn(t){return this.to(_e(),t)}function vn(t){var e;return void 0===t?this._locale._abbr:(e=ee(t),null!=e&&(this._locale=e),this)}function mn(){return this._locale}function yn(t){switch(t=R(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function _n(t){return void 0===(t=R(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function bn(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function wn(){return new Date(this.valueOf())}function Cn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Sn(){return this.isValid()?this.toISOString():null}function Tn(){return p(this)}function An(){return c({},h(this))}function Dn(){return h(this).overflow}function En(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function On(t,e){Y(0,[t,t.length],0,e)}function Mn(t){return Nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function In(t){return Nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Pn(){return Ct(this.year(),1,4)}function Ln(){var t=this.localeData()._week;return Ct(this.year(),t.dow,t.doy)}function Nn(t,e,n,r,i){var o;return null==t?wt(this,r,i).year:(o=Ct(t,r,i),e>o&&(e=o),Rn.call(this,t,e,n,r,i))}function Rn(t,e,n,r,i){var o=xt(t,e,n,r,i),a=_t(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function jn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Fn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Wn(t,e){e[li]=b(1e3*("0."+t))}function Hn(){return this._isUTC?"UTC":""}function Vn(){return this._isUTC?"Coordinated Universal Time":""}function Bn(t){return _e(1e3*t)}function zn(){return _e.apply(null,arguments).parseZone()}function Un(t){return t}function $n(t,e,n,r){var i=ee(),o=f().set(r,e);return i[n](o,t)}function Yn(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return $n(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=$n(t,r,n,"month");return i}function qn(t,e,n,r){"boolean"==typeof t?(a(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,a(e)&&(n=e,e=void 0),e=e||"");var i=ee(),o=t?i._week.dow:0;if(null!=n)return $n(e,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=$n(e,(s+o)%7,r,"day");return u}function Gn(t,e){return Yn(t,e,"months")}function Jn(t,e){return Yn(t,e,"monthsShort")}function Kn(t,e,n){return qn(t,e,n,"weekdays")}function Qn(t,e,n){return qn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return qn(t,e,n,"weekdaysMin")}function Zn(){var t=this._data;return this._milliseconds=no(this._milliseconds),this._days=no(this._days),this._months=no(this._months),t.milliseconds=no(t.milliseconds),t.seconds=no(t.seconds),t.minutes=no(t.minutes),t.hours=no(t.hours),t.months=no(t.months),t.years=no(t.years),this}function tr(t,e,n,r){var i=Ue(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function er(t,e){return tr(this,t,e,1)}function nr(t,e){return tr(this,t,e,-1)}function rr(t){return t<0?Math.floor(t):Math.ceil(t)}function ir(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*rr(ar(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=_(o/1e3),u.seconds=t%60,e=_(t/60),u.minutes=e%60,n=_(e/60),u.hours=n%24,a+=_(n/24),i=_(or(a)),s+=i,a-=rr(ar(i)),r=_(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function or(t){return 4800*t/146097}function ar(t){return 146097*t/4800}function sr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=R(t))||"year"===t)return e=this._days+r/864e5,n=this._months+or(e),"month"===t?n:n/12;switch(e=this._days+Math.round(ar(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function ur(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function lr(t){return function(){return this.as(t)}}function cr(t){return t=R(t),this.isValid()?this[t+"s"]():NaN}function fr(t){return function(){return this.isValid()?this._data[t]:NaN}}function dr(){return _(this.days()/7)}function hr(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function pr(t,e,n){var r=Ue(t).abs(),i=_o(r.as("s")),o=_o(r.as("m")),a=_o(r.as("h")),s=_o(r.as("d")),u=_o(r.as("M")),l=_o(r.as("y")),c=i<=bo.ss&&["s",i]||i<bo.s&&["ss",i]||o<=1&&["m"]||o<bo.m&&["mm",o]||a<=1&&["h"]||a<bo.h&&["hh",a]||s<=1&&["d"]||s<bo.d&&["dd",s]||u<=1&&["M"]||u<bo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,hr.apply(null,c)}function gr(t){return void 0===t?_o:"function"==typeof t&&(_o=t,!0)}function vr(t,e){return void 0!==bo[t]&&(void 0===e?bo[t]:(bo[t]=e,"s"===t&&(bo.ss=e-1),!0))}function mr(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=pr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function yr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=xo(this._milliseconds)/1e3,i=xo(this._days),o=xo(this._months);t=_(r/60),e=_(t/60),r%=60,t%=60,n=_(o/12),o%=12;var a=n,s=o,u=i,l=e,c=t,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var _r,br;br=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var xr=br,wr=e.momentProperties=[],Cr=!1,kr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Sr;Sr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var Tr,Ar=Sr,Dr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Er={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Or=/\d{1,2}/,Mr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ir={},Pr={},Lr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Nr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rr={},jr={},Fr=/\d/,Wr=/\d\d/,Hr=/\d{3}/,Vr=/\d{4}/,Br=/[+-]?\d{6}/,zr=/\d\d?/,Ur=/\d\d\d\d?/,$r=/\d\d\d\d\d\d?/,Yr=/\d{1,3}/,qr=/\d{1,4}/,Gr=/[+-]?\d{1,6}/,Jr=/\d+/,Kr=/[+-]?\d+/,Qr=/Z|[+-]\d\d:?\d\d/gi,Xr=/Z|[+-]\d\d(?::?\d\d)?/gi,Zr=/[+-]?\d+(\.\d{1,3})?/,ti=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ei={},ni={},ri=0,ii=1,oi=2,ai=3,si=4,ui=5,li=6,ci=7,fi=8;Tr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};var di=Tr;Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),Y("MMMM",0,0,function(t){return this.localeData().months(this,t)}),N("month","M"),F("month",8),Q("M",zr),Q("MM",zr,Wr),Q("MMM",function(t,e){return e.monthsShortRegex(t)}),Q("MMMM",function(t,e){return e.monthsRegex(t)}),et(["M","MM"],function(t,e){e[ii]=b(t)-1}),et(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ii]=i:h(n).invalidMonth=t});var hi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),gi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vi=ti,mi=ti;Y("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),N("year","y"),F("year",1),Q("Y",Kr),Q("YY",zr,Wr),Q("YYYY",qr,Vr),Q("YYYYY",Gr,Br),Q("YYYYYY",Gr,Br),et(["YYYYY","YYYYYY"],ri),et("YYYY",function(t,n){n[ri]=2===t.length?e.parseTwoDigitYear(t):b(t)}),et("YY",function(t,n){n[ri]=e.parseTwoDigitYear(t)}),et("Y",function(t,e){e[ri]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var yi=H("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),F("week",5),F("isoWeek",5),Q("w",zr),Q("ww",zr,Wr),Q("W",zr),Q("WW",zr,Wr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var _i={dow:0,doy:6};Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),Q("d",zr),Q("e",zr),Q("E",zr),Q("dd",function(t,e){return e.weekdaysMinRegex(t)}),Q("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Q("dddd",function(t,e){return e.weekdaysRegex(t)}),nt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:h(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ci=ti,ki=ti,Si=ti;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,zt),Y("k",["kk",2],0,Ut),Y("hmm",0,0,function(){return""+zt.apply(this)+$(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+zt.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),$t("a",!0),$t("A",!1),N("hour","h"),F("hour",13),Q("a",Yt),Q("A",Yt),Q("H",zr),Q("h",zr),Q("k",zr),Q("HH",zr,Wr),Q("hh",zr,Wr),Q("kk",zr,Wr),Q("hmm",Ur),Q("hmmss",$r),Q("Hmm",Ur),Q("Hmmss",$r),et(["H","HH"],ai),et(["k","kk"],function(t,e,n){var r=b(t);e[ai]=24===r?0:r}),et(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),et(["h","hh"],function(t,e,n){e[ai]=b(t),h(n).bigHour=!0}),et("hmm",function(t,e,n){var r=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r)),h(n).bigHour=!0}),et("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r,2)),e[ui]=b(t.substr(i)),h(n).bigHour=!0}),et("Hmm",function(t,e,n){var r=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r))}),et("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r,2)),e[ui]=b(t.substr(i))});var Ti,Ai=/[ap]\.?m?\.?/i,Di=H("Hours",!0),Ei={calendar:Dr,longDateFormat:Er,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Or,relativeTime:Mr,months:pi,monthsShort:gi,week:_i,weekdays:bi,weekdaysMin:wi,weekdaysShort:xi,meridiemParse:Ai},Oi={},Mi={},Ii=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Ni=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ri=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ji=/^\/?Date\((\-?\d+)/i,Fi=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;e.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Wi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=_e.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Hi=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=_e.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),Vi=function(){return Date.now?Date.now():+new Date},Bi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ee("Z",":"),Ee("ZZ",""),Q("Z",Xr),Q("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Oe(Xr,t)});var zi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ui=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,$i=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ue.fn=Te.prototype,Ue.invalid=Se;var Yi=Ge(1,"add"),qi=Ge(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gi=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),On("gggg","weekYear"),On("ggggg","weekYear"),On("GGGG","isoWeekYear"),On("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),Q("G",Kr),Q("g",Kr),Q("GG",zr,Wr),Q("gg",zr,Wr),Q("GGGG",qr,Vr),Q("gggg",qr,Vr),Q("GGGGG",Gr,Br),Q("ggggg",Gr,Br),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),nt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),N("quarter","Q"),F("quarter",7),Q("Q",Fr),et("Q",function(t,e){e[ii]=3*(b(t)-1)}),Y("D",["DD",2],"Do","date"),N("date","D"),F("date",9),Q("D",zr),Q("DD",zr,Wr),Q("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),et(["D","DD"],oi),et("Do",function(t,e){e[oi]=b(t.match(zr)[0],10)});var Ji=H("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),F("dayOfYear",4),Q("DDD",Yr),Q("DDDD",Hr),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),Y("m",["mm",2],0,"minute"),N("minute","m"),F("minute",14),Q("m",zr),Q("mm",zr,Wr),et(["m","mm"],si);var Ki=H("Minutes",!1);Y("s",["ss",2],0,"second"),N("second","s"),F("second",15),Q("s",zr),Q("ss",zr,Wr),et(["s","ss"],ui);var Qi=H("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),F("millisecond",16),Q("S",Yr,Fr),Q("SS",Yr,Wr),Q("SSS",Yr,Hr);var Xi;for(Xi="SSSS";Xi.length<=9;Xi+="S")Q(Xi,Jr);for(Xi="S";Xi.length<=9;Xi+="S")et(Xi,Wn);var Zi=H("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var to=m.prototype;to.add=Yi,to.calendar=Qe,to.clone=Xe,to.diff=an,to.endOf=_n,to.format=fn,to.from=dn,to.fromNow=hn,to.to=pn,to.toNow=gn,to.get=z,to.invalidAt=Dn,to.isAfter=Ze,to.isBefore=tn,to.isBetween=en,to.isSame=nn,to.isSameOrAfter=rn,to.isSameOrBefore=on,to.isValid=Tn,to.lang=Gi,to.locale=vn,to.localeData=mn,to.max=Hi,to.min=Wi,to.parsingFlags=An,to.set=U,to.startOf=yn,to.subtract=qi,to.toArray=Cn,to.toObject=kn,to.toDate=wn,to.toISOString=ln,to.inspect=cn,to.toJSON=Sn,to.toString=un,to.unix=xn,to.valueOf=bn,to.creationData=En,to.year=yi,to.isLeapYear=mt,to.weekYear=Mn,to.isoWeekYear=In,to.quarter=to.quarters=jn,to.month=ct,to.daysInMonth=ft,to.week=to.weeks=At,to.isoWeek=to.isoWeeks=Dt,to.weeksInYear=Ln,to.isoWeeksInYear=Pn,to.date=Ji,to.day=to.days=Rt,to.weekday=jt,to.isoWeekday=Ft,to.dayOfYear=Fn,to.hour=to.hours=Di,to.minute=to.minutes=Ki,to.second=to.seconds=Qi,to.millisecond=to.milliseconds=Zi,to.utcOffset=Pe,to.utc=Ne,to.local=Re,to.parseZone=je,to.hasAlignedHourOffset=Fe,to.isDST=We,to.isLocal=Ve,to.isUtcOffset=Be,to.isUtc=ze,to.isUTC=ze,to.zoneAbbr=Hn,to.zoneName=Vn,to.dates=C("dates accessor is deprecated. Use date instead.",Ji),to.months=C("months accessor is deprecated. Use month instead",ct),to.years=C("years accessor is deprecated. Use year instead",yi),to.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Le),to.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",He);var eo=D.prototype;eo.calendar=E,eo.longDateFormat=O,eo.invalidDate=M,eo.ordinal=I,eo.preparse=Un,eo.postformat=Un,eo.relativeTime=P,eo.pastFuture=L,eo.set=T,eo.months=ot,eo.monthsShort=at,eo.monthsParse=ut,eo.monthsRegex=ht,eo.monthsShortRegex=dt,eo.week=kt,eo.firstDayOfYear=Tt,eo.firstDayOfWeek=St,eo.weekdays=Mt,eo.weekdaysMin=Pt,eo.weekdaysShort=It,eo.weekdaysParse=Nt,eo.weekdaysRegex=Wt,eo.weekdaysShortRegex=Ht,eo.weekdaysMinRegex=Vt,eo.isPM=qt,eo.meridiem=Gt,Xt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=C("moment.lang is deprecated. Use moment.locale instead.",Xt),e.langData=C("moment.langData is deprecated. Use moment.localeData instead.",ee);var no=Math.abs,ro=lr("ms"),io=lr("s"),oo=lr("m"),ao=lr("h"),so=lr("d"),uo=lr("w"),lo=lr("M"),co=lr("y"),fo=fr("milliseconds"),ho=fr("seconds"),po=fr("minutes"),go=fr("hours"),vo=fr("days"),mo=fr("months"),yo=fr("years"),_o=Math.round,bo={ss:44,s:45,m:45,h:22,d:26,M:11},xo=Math.abs,wo=Te.prototype;return wo.isValid=ke,wo.abs=Zn,wo.add=er,wo.subtract=nr,wo.as=sr,wo.asMilliseconds=ro,wo.asSeconds=io,wo.asMinutes=oo,wo.asHours=ao,wo.asDays=so,wo.asWeeks=uo,wo.asMonths=lo,wo.asYears=co,wo.valueOf=ur,wo._bubble=ir,wo.get=cr,wo.milliseconds=fo,wo.seconds=ho,wo.minutes=po,wo.hours=go,wo.days=vo,wo.weeks=dr,wo.months=mo,wo.years=yo,wo.humanize=mr,wo.toISOString=yr,wo.toString=yr,wo.toJSON=yr,wo.locale=vn,wo.localeData=mn,wo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yr),wo.lang=Gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Kr),Q("X",Zr),et("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),et("x",function(t,e,n){n._d=new Date(b(t))}),e.version="2.18.1",function(t){_r=t}(_e),e.fn=to,e.min=xe,e.max=we,e.now=Vi,e.utc=f,e.unix=Bn,e.months=Gn,e.isDate=s,e.locale=Xt,e.invalid=g,e.duration=Ue,e.isMoment=y,e.weekdays=Kn,e.parseZone=zn,e.localeData=ee,e.isDuration=Ae,e.monthsShort=Jn,e.weekdaysMin=Xn,e.defineLocale=Zt,e.updateLocale=te,e.locales=ne,e.weekdaysShort=Qn,e.normalizeUnits=R,e.relativeTimeRounding=gr,e.relativeTimeThreshold=vr,e.calendarFormat=Ke,e.prototype=to,e})}).call(e,n("3IRH")(t))},QV34:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n=e.noop;t.LinearScaleBase=t.Scale.extend({handleTickRangeOptions:function(){var t=this,n=t.options,r=n.ticks;if(r.beginAtZero){var i=e.sign(t.min),o=e.sign(t.max);i<0&&o<0?t.max=0:i>0&&o>0&&(t.min=0)}void 0!==r.min?t.min=r.min:void 0!==r.suggestedMin&&(null===t.min?t.min=r.suggestedMin:t.min=Math.min(t.min,r.suggestedMin)),void 0!==r.max?t.max=r.max:void 0!==r.suggestedMax&&(null===t.max?t.max=r.suggestedMax:t.max=Math.max(t.max,r.suggestedMax)),t.min===t.max&&(t.max++,r.beginAtZero||t.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var n=this,r=n.options,i=r.ticks,o=n.getTickLimit();o=Math.max(2,o);var a={maxTicks:o,min:i.min,max:i.max,stepSize:e.getValueOrDefault(i.fixedStepSize,i.stepSize)},s=n.ticks=t.Ticks.generators.linear(a,n);n.handleDirectionalChanges(),n.max=e.max(s),n.min=e.min(s),i.reverse?(s.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},Qor1:function(t,e,n){"use strict";t.exports=function(t){function e(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2)}function n(t){var e=this._view;return!!e&&Math.pow(t-e.y,2)<Math.pow(e.radius+e.hitRadius,2)}var r=t.helpers,i=t.defaults.global,o=i.defaultColor;i.elements.point={radius:3,pointStyle:"circle",backgroundColor:o,borderWidth:1,borderColor:o,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},t.elements.Point=t.Element.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:e,inXRange:e,inYRange:n,getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(e){var n=this._view,a=this._model,s=this._chart.ctx,u=n.pointStyle,l=n.radius,c=n.x,f=n.y,d=t.helpers.color,h=0;n.skip||(s.strokeStyle=n.borderColor||o,s.lineWidth=r.getValueOrDefault(n.borderWidth,i.elements.point.borderWidth),s.fillStyle=n.backgroundColor||o,void 0!==e&&(a.x<e.left||1.01*e.right<a.x||a.y<e.top||1.01*e.bottom<a.y)&&(a.x<e.left?h=(c-a.x)/(e.left-a.x):1.01*e.right<a.x?h=(a.x-c)/(a.x-e.right):a.y<e.top?h=(f-a.y)/(e.top-a.y):1.01*e.bottom<a.y&&(h=(a.y-f)/(a.y-e.bottom)),h=Math.round(100*h)/100,s.strokeStyle=d(s.strokeStyle).alpha(h).rgbString(),s.fillStyle=d(s.fillStyle).alpha(h).rgbString()),t.canvasHelpers.drawPoint(s,u,l,c,f))}})}},SBFg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={components:{},data:function(){return{loadingJobs:!0,jobs:[]}},mounted:function(){this.loadJobs()},methods:{loadJobs:function(){var t=this;this.loadingJobs=!0,this.$http.get("/horizon/api/metrics/jobs").then(function(e){t.jobs=e.data,t.loadingJobs=!1})}}}},SSiB:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("jZKv"),i=n.n(r);e.default={components:{Layout:i.a}}},Satz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("M4fF"),i=n.n(r),o=n("PJh5"),a=(n.n(o),n("jZKv")),s=n.n(a),u=n("uPL9"),l=n.n(u);e.default={props:["type","slug"],components:{Layout:s.a,LineChart:l.a},data:function(){return{loading:!0,rawData:{},metric:{}}},mounted:function(){this.loadMetric()},methods:{loadMetric:function(){var t=this;this.loading=!0,this.$http.get("/horizon/api/metrics/"+this.type+"/"+encodeURIComponent(this.slug)).then(function(e){var n=t.prepareData(e.data);t.rawData=e.data,t.metric.throughPutChart=t.buildChartData(n,"throughput","Times"),t.metric.runTimeChart=t.buildChartData(n,"runtime","Seconds"),t.loading=!1})},prepareData:function(t){var e=this;return i.a.chain(t).map(function(t){return t.time=e.formatDate(t.time).format("hh:mmA"),t}).groupBy(function(t){return t.time}).map(function(t){return i.a.reduce(t,function(t,e){return{runtime:parseInt(t.runtime)+parseInt(e.runtime),throughput:parseInt(t.throughput)+parseInt(e.throughput),time:e.time}})}).value()},buildChartData:function(t,e,n){return{labels:i.a.map(t,"time"),datasets:[{label:n,data:i.a.map(t,e),lineTension:0,backgroundColor:"rgba(235, 243, 249, 0.4)",pointBackgroundColor:"#3981B4",borderColor:"#3981B4",borderWidth:4}]}}}}},T8Ha:function(t,e,n){var r=n("VU/8")(n("XVig"),n("6hBi"),null,null,null);t.exports=r.exports},TNV1:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},TWHA:function(t,e,n){var r=n("YjuW"),i=function(){return new l};for(var o in r){i[o+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),r[t](e)}}(o);var a=/(\w+)2(\w+)/.exec(o),s=a[1],u=a[2];i[s]=i[s]||{},i[s][u]=i[o]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=r[t](e);if("string"==typeof n||void 0===n)return n;for(var i=0;i<n.length;i++)n[i]=Math.round(n[i]);return n}}(o)}var l=function(){this.convs={}};l.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},l.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},l.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,r=this.convs[n];e=i[n][t](r),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){l.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),t.exports=i},VRu6:function(t,e,n){"use strict";t.exports=function(t){function e(t,e,n){return r.isArray(e)?r.longestText(t,n,e):t.measureText(e).width}function n(e){var n=r.getValueOrDefault,i=t.defaults.global,o=n(e.fontSize,i.defaultFontSize),a=n(e.fontStyle,i.defaultFontStyle),s=n(e.fontFamily,i.defaultFontFamily);return{size:o,style:a,family:s,font:r.fontString(o,a,s)}}var r=t.helpers;t.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:t.Ticks.formatters.values}},t.Scale=t.Element.extend({getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},beforeUpdate:function(){r.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=r.extend({left:0,right:0,top:0,bottom:0},n),i.longestTextCache=i.longestTextCache||{},i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeDataLimits(),i.determineDataLimits(),i.afterDataLimits(),i.beforeBuildTicks(),i.buildTicks(),i.afterBuildTicks(),i.beforeTickToLabelConversion(),i.convertTicksToLabels(),i.afterTickToLabelConversion(),i.beforeCalculateTickRotation(),i.calculateTickRotation(),i.afterCalculateTickRotation(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:function(){r.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){r.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){r.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){r.callback(this.options.beforeDataLimits,[this])},determineDataLimits:r.noop,afterDataLimits:function(){r.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){r.callback(this.options.beforeBuildTicks,[this])},buildTicks:r.noop,afterBuildTicks:function(){r.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){r.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback)},afterTickToLabelConversion:function(){r.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){r.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,i=t.options.ticks,o=n(i);e.font=o.font;var a=i.minRotation||0;if(t.options.display&&t.isHorizontal())for(var s,u=r.longestText(e,o.font,t.ticks,t.longestTextCache),l=u,c=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l>c&&a<i.maxRotation;){var f=r.toRadians(a);if(s=Math.cos(f),Math.sin(f)*u>t.maxHeight){a--;break}a++,l=s*u}t.labelRotation=a},afterCalculateTickRotation:function(){r.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){r.callback(this.options.beforeFit,[this])},fit:function(){var t=this,i=t.minSize={width:0,height:0},o=t.options,a=o.ticks,s=o.scaleLabel,u=o.gridLines,l=o.display,c=t.isHorizontal(),f=n(a),d=1.5*n(s).size,h=o.gridLines.tickMarkLength;if(i.width=c?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:l&&u.drawTicks?h:0,i.height=c?l&&u.drawTicks?h:0:t.maxHeight,s.display&&l&&(c?i.height+=d:i.width+=d),a.display&&l){var p=r.longestText(t.ctx,f.font,t.ticks,t.longestTextCache),g=r.numberOfLabelLines(t.ticks),v=.5*f.size;if(c){t.longestLabelWidth=p;var m=r.toRadians(t.labelRotation),y=Math.cos(m),_=Math.sin(m),b=_*p+f.size*g+v*g;i.height=Math.min(t.maxHeight,i.height+b),t.ctx.font=f.font;var x=t.ticks[0],w=e(t.ctx,x,f.font),C=t.ticks[t.ticks.length-1],k=e(t.ctx,C,f.font);0!==t.labelRotation?(t.paddingLeft="bottom"===o.position?y*w+3:y*v+3,t.paddingRight="bottom"===o.position?y*v+3:y*k+3):(t.paddingLeft=w/2+3,t.paddingRight=k/2+3)}else a.mirror?p=0:p+=t.options.ticks.padding,i.width=Math.min(t.maxWidth,i.width+p),t.paddingTop=f.size/2,t.paddingBottom=f.size/2}t.handleMargins(),t.width=i.width,t.height=i.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){r.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){return null===t||void 0===t?NaN:"number"!=typeof t||isFinite(t)?"object"==typeof t?t instanceof Date||t.isValid?t:this.getRightValue(this.isHorizontal()?t.x:t.y):t:NaN},getLabelForIndex:r.noop,getPixelForValue:r.noop,getValueForPixel:r.noop,getPixelForTick:function(t,e){var n=this;if(n.isHorizontal()){var r=n.width-(n.paddingLeft+n.paddingRight),i=r/Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),o=i*t+n.paddingLeft;e&&(o+=i/2);var a=n.left+Math.round(o);return a+=n.isFullWidth()?n.margins.left:0}var s=n.height-(n.paddingTop+n.paddingBottom);return n.top+t*(s/(n.ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=e.width-(e.paddingLeft+e.paddingRight),r=n*t+e.paddingLeft,i=e.left+Math.round(r);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},draw:function(e){var i=this,o=i.options;if(o.display){var a,s,u=i.ctx,l=t.defaults.global,c=o.ticks,f=o.gridLines,d=o.scaleLabel,h=0!==i.labelRotation,p=c.autoSkip,g=i.isHorizontal();c.maxTicksLimit&&(s=c.maxTicksLimit);var v=r.getValueOrDefault(c.fontColor,l.defaultFontColor),m=n(c),y=f.drawTicks?f.tickMarkLength:0,_=r.getValueOrDefault(d.fontColor,l.defaultFontColor),b=n(d),x=r.toRadians(i.labelRotation),w=Math.cos(x),C=i.longestLabelWidth*w;u.fillStyle=v;var k=[];if(g){if(a=!1,(C+c.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(a=1+Math.floor((C+c.autoSkipPadding)*i.ticks.length/(i.width-(i.paddingLeft+i.paddingRight)))),s&&i.ticks.length>s)for(;!a||i.ticks.length/(a||1)>s;)a||(a=1),a+=1;p||(a=!1)}var S="right"===o.position?i.left:i.right-y,T="right"===o.position?i.left+y:i.right,A="bottom"===o.position?i.top:i.bottom-y,D="bottom"===o.position?i.top+y:i.bottom;if(r.each(i.ticks,function(t,n){if(void 0!==t&&null!==t){var s=i.ticks.length===n+1;if((!(a>1&&n%a>0||n%a==0&&n+a>=i.ticks.length)||s)&&void 0!==t&&null!==t){var u,d,p,v;n===(void 0!==i.zeroLineIndex?i.zeroLineIndex:0)?(u=f.zeroLineWidth,d=f.zeroLineColor,p=f.zeroLineBorderDash,v=f.zeroLineBorderDashOffset):(u=r.getValueAtIndexOrDefault(f.lineWidth,n),d=r.getValueAtIndexOrDefault(f.color,n),p=r.getValueOrDefault(f.borderDash,l.borderDash),v=r.getValueOrDefault(f.borderDashOffset,l.borderDashOffset));var m,_,b,w,C,E,O,M,I,P,L="middle",N="middle";if(g){"bottom"===o.position?(N=h?"middle":"top",L=h?"right":"center",P=i.top+y):(N=h?"middle":"bottom",L=h?"left":"center",P=i.bottom-y);var R=i.getPixelForTick(n)+r.aliasPixel(u);I=i.getPixelForTick(n,f.offsetGridLines)+c.labelOffset,m=b=C=O=R,_=A,w=D,E=e.top,M=e.bottom}else{var j,F="left"===o.position,W=c.padding;c.mirror?(L=F?"left":"right",j=W):(L=F?"right":"left",j=y+W),I=F?i.right-j:i.left+j;var H=i.getPixelForTick(n);H+=r.aliasPixel(u),P=i.getPixelForTick(n,f.offsetGridLines),m=S,b=T,C=e.left,O=e.right,_=w=E=M=H}k.push({tx1:m,ty1:_,tx2:b,ty2:w,x1:C,y1:E,x2:O,y2:M,labelX:I,labelY:P,glWidth:u,glColor:d,glBorderDash:p,glBorderDashOffset:v,rotation:-1*x,label:t,textBaseline:N,textAlign:L})}}}),r.each(k,function(t){if(f.display&&(u.save(),u.lineWidth=t.glWidth,u.strokeStyle=t.glColor,u.setLineDash&&(u.setLineDash(t.glBorderDash),u.lineDashOffset=t.glBorderDashOffset),u.beginPath(),f.drawTicks&&(u.moveTo(t.tx1,t.ty1),u.lineTo(t.tx2,t.ty2)),f.drawOnChartArea&&(u.moveTo(t.x1,t.y1),u.lineTo(t.x2,t.y2)),u.stroke(),u.restore()),c.display){u.save(),u.translate(t.labelX,t.labelY),u.rotate(t.rotation),u.font=m.font,u.textBaseline=t.textBaseline,u.textAlign=t.textAlign;var e=t.label;if(r.isArray(e))for(var n=0,i=0;n<e.length;++n)u.fillText(""+e[n],0,i),i+=1.5*m.size;else u.fillText(e,0,0);u.restore()}}),d.display){var E,O,M=0;if(g)E=i.left+(i.right-i.left)/2,O="bottom"===o.position?i.bottom-b.size/2:i.top+b.size/2;else{var I="left"===o.position;E=I?i.left+b.size/2:i.right-b.size/2,O=i.top+(i.bottom-i.top)/2,M=I?-.5*Math.PI:.5*Math.PI}u.save(),u.translate(E,O),u.rotate(M),u.textAlign="center",u.textBaseline="middle",u.fillStyle=_,u.font=b.font,u.fillText(d.labelString,0,0),u.restore()}if(f.drawBorder){u.lineWidth=r.getValueAtIndexOrDefault(f.lineWidth,0),u.strokeStyle=r.getValueAtIndexOrDefault(f.color,0);var P=i.left,L=i.right,N=i.top,R=i.bottom,j=r.aliasPixel(u.lineWidth);g?(N=R="top"===o.position?i.bottom:i.top,N+=j,R+=j):(P=L="left"===o.position?i.right:i.left,P+=j,L+=j),u.beginPath(),u.moveTo(P,N),u.lineTo(L,R),u.stroke()}}}})}},"VU/8":function(t,e){t.exports=function(t,e,n,r,i){var o,a=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,a=t.default);var u="function"==typeof a?a.options:a;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),r&&(u._scopeId=r);var l;if(i?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=l):n&&(l=n),l){var c=u.functional,f=c?u.render:u.beforeCreate;c?u.render=function(t,e){return l.call(e),f(t,e)}:u.beforeCreate=f?[].concat(f,l):[l]}return{esModule:o,exports:a,options:u}}},W2nU:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){g&&h&&(g=!1,h.length?p=h.concat(p):v=-1,p.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=p.length;e;){for(h=p,p=[];++v<e;)h&&h[v].run();v=-1,e=p.length}h=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var c,f,d=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,p=[],g=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||g||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},WaEV:function(t,e,n){var r=n("+ItH")();n("lG75")(r),n("2xI1")(r),n("20j+")(r),n("wGD1")(r),n("4Uxm")(r),n("6rMk")(r),n("ghsk")(r),n("oQMP")(r),n("hAmm")(r),n("jJ84")(r),n("IbXy")(r),n("VRu6")(r),n("KC8c")(r),n("/jKm")(r),n("5ImO")(r),n("FDK5")(r),n("Qor1")(r),n("AFDx")(r),n("QV34")(r),n("40fB")(r),n("XhZS")(r),n("1Nt4")(r),n("sFo6")(r),n("Db81")(r),n("GBuA")(r),n("19SQ")(r),n("sFj2")(r),n("8uqi")(r),n("Fv8P")(r),n("2ddL")(r),n("vvdA")(r),n("wPWQ")(r),n("mg6x")(r),n("0gJx")(r),n("gCP2")(r),n("0C1O")(r),n("GqGk")(r);var i=[];i.push(n("A5K1")(r),n("ZmvM")(r),n("lRs/")(r)),r.plugins.register(i),t.exports=r,"undefined"!=typeof window&&(window.Chart=r)},WtMb:function(t,e,n){var r=n("VU/8")(n("uTzT"),n("wuwL"),null,null,null);t.exports=r.exports},XVig:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("M4fF"),i=n.n(r),o=n("PJh5"),a=n.n(o),s=n("jZKv"),u=n.n(s),l=n("dIim"),c=n.n(l);e.default={components:{Layout:u.a,Status:c.a},data:function(){return{loadingStats:!0,loadingWorkers:!0,loadingWorkload:!0,stats:{},workers:[],workload:[]}},mounted:function(){document.title="Horizon - Dashboard",this.loadStats(),this.loadWorkers(),this.loadWorkload(),this.refreshStatsPeriodically()},destroyed:function(){clearInterval(this.interval)},methods:{loadStats:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.loadingStats=!0),this.$http.get("/horizon/api/stats").then(function(e){t.stats=e.data,i.a.values(e.data.wait)[0]&&(t.stats.max_wait_time=i.a.values(e.data.wait)[0],t.stats.max_wait_queue=i.a.keys(e.data.wait)[0].split(":")[1]),t.loadingStats=!1})},loadWorkers:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.loadingWorkers=!0),this.$http.get("/horizon/api/masters").then(function(e){t.workers=e.data,t.loadingWorkers=!1})},loadWorkload:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.loadingWorkload=!0),this.$http.get("/horizon/api/workload").then(function(e){t.workload=e.data,t.loadingWorkload=!1})},refreshStatsPeriodically:function(){var t=this;this.interval=setInterval(function(){t.loadStats(!1),t.loadWorkers(!1),t.loadWorkload(!1)},5e3)},countProcesses:function(t){return i.a.chain(t).values().sum().value()},superVisorDisplayName:function(t,e){return i.a.replace(t,e+":","")},humanTime:function(t){return a.a.duration(t,"seconds").humanize().replace(/^(.)|\s+(.)/g,function(t){return t.toUpperCase()})}}}},XakL:function(t,e,n){var r=n("VU/8")(n("aez7"),n("aIb8"),null,null,null);t.exports=r.exports},XhZS:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:t.Ticks.formatters.linear}},r=t.LinearScaleBase.extend({determineDataLimits:function(){function t(t){return s?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,r=n.options,i=n.chart,o=i.data,a=o.datasets,s=n.isHorizontal();n.min=null,n.max=null;var u=r.stacked;if(void 0===u&&e.each(a,function(e,n){if(!u){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&t(r)&&void 0!==r.stack&&(u=!0)}}),r.stacked||u){var l={};e.each(a,function(o,a){var s=i.getDatasetMeta(a),u=[s.type,void 0===r.stacked&&void 0===s.stack?a:"",s.stack].join(".");void 0===l[u]&&(l[u]={positiveValues:[],negativeValues:[]});var c=l[u].positiveValues,f=l[u].negativeValues;i.isDatasetVisible(a)&&t(s)&&e.each(o.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||s.data[e].hidden||(c[e]=c[e]||0,f[e]=f[e]||0,r.relativePoints?c[e]=100:i<0?f[e]+=i:c[e]+=i)})}),e.each(l,function(t){var r=t.positiveValues.concat(t.negativeValues),i=e.min(r),o=e.max(r);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?o:Math.max(n.max,o)})}else e.each(a,function(r,o){var a=i.getDatasetMeta(o);i.isDatasetVisible(o)&&t(a)&&e.each(r.data,function(t,e){var r=+n.getRightValue(t);isNaN(r)||a.data[e].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 n,r=this,i=r.options.ticks;if(r.isHorizontal())n=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(r.width/50));else{var o=e.getValueOrDefault(i.fontSize,t.defaults.global.defaultFontSize);n=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(r.height/(2*o)))}return n},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n=this,r=n.start,i=+n.getRightValue(t),o=n.end-r;return n.isHorizontal()?(e=n.left+n.width/o*(i-r),Math.round(e)):(e=n.bottom-n.height/o*(i-r),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),r=n?e.width:e.height,i=(n?t-e.left:e.bottom-t)/r;return e.start+(e.end-e.start)*i},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",r,n)}},XmWM:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var i=n("KCLY"),o=n("cGG2"),a=n("fuGk"),s=n("xLtR"),u=n("dIwP"),l=n("qRfI");r.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),t=o.merge(i,this.defaults,{method:"get"},t),t.baseURL&&!u(t.url)&&(t.url=l(t.baseURL,t.url));var e=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},Y66b:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"addTagModal"}},[n("div",{staticClass:"modal-dialog",attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label"},[t._v("Tag Name")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],ref:"tag",staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.saveTag(e)},input:function(e){e.target.composing||(t.name=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-9 offset-md-3"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.saving},on:{click:t.saveTag}},[t._v("Monitor")])])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[t._v("Monitor Tag")])])}]}},Y9yF:function(t,e,n){var r=n("VU/8")(n("SBFg"),n("lweS"),null,null,null);t.exports=r.exports},YjuW:function(t,e){function n(t){var e,n,r,i=t[0]/255,o=t[1]/255,a=t[2]/255,s=Math.min(i,o,a),u=Math.max(i,o,a),l=u-s;return u==s?e=0:i==u?e=(o-a)/l:o==u?e=2+(a-i)/l:a==u&&(e=4+(i-o)/l),e=Math.min(60*e,360),e<0&&(e+=360),r=(s+u)/2,n=u==s?0:r<=.5?l/(u+s):l/(2-u-s),[e,100*n,100*r]}function i(t){var e,n,r,i=t[0],o=t[1],a=t[2],s=Math.min(i,o,a),u=Math.max(i,o,a),l=u-s;return n=0==u?0:l/u*1e3/10,u==s?e=0:i==u?e=(o-a)/l:o==u?e=2+(a-i)/l:a==u&&(e=4+(i-o)/l),e=Math.min(60*e,360),e<0&&(e+=360),r=u/255*1e3/10,[e,n,r]}function o(t){var e=t[0],r=t[1],i=t[2],o=n(t)[0],a=1/255*Math.min(e,Math.min(r,i)),i=1-1/255*Math.max(e,Math.max(r,i));return[o,100*a,100*i]}function a(t){var e,n,r,i,o=t[0]/255,a=t[1]/255,s=t[2]/255;return i=Math.min(1-o,1-a,1-s),e=(1-o-i)/(1-i)||0,n=(1-a-i)/(1-i)||0,r=(1-s-i)/(1-i)||0,[100*e,100*n,100*r,100*i]}function s(t){return K[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,[100*(.4124*e+.3576*n+.1805*r),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]}function l(t){var e,n,r,i=u(t),o=i[0],a=i[1],s=i[2];return o/=95.047,a/=100,s/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*a-16,n=500*(o-a),r=200*(a-s),[e,n,r]}function c(t){return j(l(t))}function f(t){var e,n,r,i,o,a=t[0]/360,s=t[1]/100,u=t[2]/100;if(0==s)return o=255*u,[o,o,o];n=u<.5?u*(1+s):u+s-u*s,e=2*u-n,i=[0,0,0];for(var l=0;l<3;l++)r=a+1/3*-(l-1),r<0&&r++,r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[l]=255*o;return i}function d(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100;return 0===o?[0,0,0]:(o*=2,i*=o<=1?o:2-o,n=(o+i)/2,e=2*i/(o+i),[r,100*e,100*n])}function h(t){return o(f(t))}function p(t){return a(f(t))}function v(t){return s(f(t))}function m(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o)),r=255*r;switch(i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}}function y(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100;return n=(2-i)*o,e=i*o,e/=n<=1?n:2-n,e=e||0,n/=2,[r,100*e,100*n]}function _(t){return o(m(t))}function x(t){return a(m(t))}function w(t){return s(m(t))}function C(t){var e,n,i,o,a=t[0]/360,s=t[1]/100,u=t[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),e=Math.floor(6*a),n=1-u,i=6*a-e,0!=(1&e)&&(i=1-i),o=s+i*(n-s),e){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function k(t){return n(C(t))}function S(t){return i(C(t))}function T(t){return a(C(t))}function A(t){return s(C(t))}function D(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,i*(1-s)+s),n=1-Math.min(1,o*(1-s)+s),r=1-Math.min(1,a*(1-s)+s),[255*e,255*n,255*r]}function E(t){return n(D(t))}function O(t){return i(D(t))}function M(t){return o(D(t))}function I(t){return s(D(t))}function P(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return e=3.2406*i+-1.5372*o+-.4986*a,n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*e,255*n,255*r]}function L(t){var e,n,r,i=t[0],o=t[1],a=t[2];return i/=95.047,o/=100,a/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*o-16,n=500*(i-o),r=200*(o-a),[e,n,r]}function N(t){return j(L(t))}function R(t){var e,n,r,i,o=t[0],a=t[1],s=t[2];return o<=8?(n=100*o/903.3,i=n/100*7.787+16/116):(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),e=e/95.047<=.008856?e=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3),[e,n,r]}function j(t){var e,n,r,i=t[0],o=t[1],a=t[2];return e=Math.atan2(a,o),n=360*e/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(o*o+a*a),[i,r,n]}function F(t){return P(R(t))}function W(t){var e,n,r,i=t[0],o=t[1],a=t[2];return r=a/360*2*Math.PI,e=o*Math.cos(r),n=o*Math.sin(r),[i,e,n]}function H(t){return R(W(t))}function V(t){return F(W(t))}function B(t){return J[t]}function z(t){return n(B(t))}function U(t){return i(B(t))}function $(t){return o(B(t))}function Y(t){return a(B(t))}function q(t){return l(B(t))}function G(t){return u(B(t))}t.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:a,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:c,hsl2rgb:f,hsl2hsv:d,hsl2hwb:h,hsl2cmyk:p,hsl2keyword:v,hsv2rgb:m,hsv2hsl:y,hsv2hwb:_,hsv2cmyk:x,hsv2keyword:w,hwb2rgb:C,hwb2hsl:k,hwb2hsv:S,hwb2cmyk:T,hwb2keyword:A,cmyk2rgb:D,cmyk2hsl:E,cmyk2hsv:O,cmyk2hwb:M,cmyk2keyword:I,keyword2rgb:B,keyword2hsl:z,keyword2hsv:U,keyword2hwb:$,keyword2cmyk:Y,keyword2lab:q,keyword2xyz:G,xyz2rgb:P,xyz2lab:L,xyz2lch:N,lab2xyz:R,lab2rgb:F,lab2lch:j,lch2lab:W,lch2xyz:H,lch2rgb:V};var J={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]},K={};for(var Q in J)K[JSON.stringify(J[Q])]=Q},ZFEB:function(t,e,n){var r=n("VU/8")(n("SSiB"),n("rBXp"),null,null,null);t.exports=r.exports},Zgw8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function n(t){var e=!1;return function(){e||(e=!0,Promise.resolve().then(function(){e=!1,t()}))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},lt))}}function i(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return window.document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+r)?t:s(a(t))}function u(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===o(e,"position")?u(e):e:t?t.ownerDocument.documentElement:window.document.documentElement}function l(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function c(t){return null!==t.parentNode?c(t.parentNode):t}function f(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return window.document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return l(a)?a:u(a);var s=c(t);return s.host?f(s.host,e):f(t,c(e).host)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[n]}return t[n]}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(e,"top"),i=d(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function p(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return+t["border"+n+"Width"].split("px")[0]+ +t["border"+r+"Width"].split("px")[0]}function g(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],pt()?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function v(){var t=window.document.body,e=window.document.documentElement,n=pt()&&window.getComputedStyle(e);return{height:g("Height",t,e,n),width:g("Width",t,e,n)}}function m(t){return yt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function y(t){var e={};if(pt())try{e=t.getBoundingClientRect();var n=d(t,"top"),r=d(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}catch(t){}else e=t.getBoundingClientRect();var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a="HTML"===t.nodeName?v():{},s=a.width||t.clientWidth||i.right-i.left,u=a.height||t.clientHeight||i.bottom-i.top,l=t.offsetWidth-s,c=t.offsetHeight-u;if(l||c){var f=o(t);l-=p(f,"x"),c-=p(f,"y"),i.width-=l,i.height-=c}return m(i)}function _(t,e){var n=pt(),r="HTML"===e.nodeName,i=y(t),a=y(e),u=s(t),l=o(e),c=+l.borderTopWidth.split("px")[0],f=+l.borderLeftWidth.split("px")[0],d=m({top:i.top-a.top-c,left:i.left-a.left-f,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!n&&r){var p=+l.marginTop.split("px")[0],g=+l.marginLeft.split("px")[0];d.top-=c-p,d.bottom-=c-p,d.left-=f-g,d.right-=f-g,d.marginTop=p,d.marginLeft=g}return(n?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(d=h(d,e)),d}function b(t){var e=t.ownerDocument.documentElement,n=_(t,e),r=Math.max(e.clientWidth,window.innerWidth||0),i=Math.max(e.clientHeight,window.innerHeight||0),o=d(e),a=d(e,"left");return m({top:o-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:r,height:i})}function x(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===o(t,"position")||x(a(t)))}function w(t,e,n,r){var i={top:0,left:0},o=f(t,e);if("viewport"===r)i=b(o);else{var u=void 0;"scrollParent"===r?(u=s(a(t)),"BODY"===u.nodeName&&(u=t.ownerDocument.documentElement)):u="window"===r?t.ownerDocument.documentElement:r;var l=_(u,o);if("HTML"!==u.nodeName||x(o))i=l;else{var c=v(),d=c.height,h=c.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=h+l.left}}return i.left+=n,i.top+=n,i.right-=n,i.bottom-=n,i}function C(t){return t.width*t.height}function k(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=w(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map(function(t){return yt({key:t},s[t],{area:C(s[t])})}).sort(function(t,e){return e.area-t.area}),l=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=l.length>0?l[0].key:u[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function S(t,e,n){return _(n,f(e,n))}function T(t){var e=window.getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function A(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function D(t,e,n){n=n.split("-")[0];var r=T(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[l]:e[A(s)],i}function E(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function O(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=E(t,function(t){return t[e]===n});return t.indexOf(r)}function M(t,e,n){return(void 0===n?t:t.slice(0,O(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=m(e.offsets.popper),e.offsets.reference=m(e.offsets.reference),e=n(e,t))}),e}function I(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=S(this.state,this.popper,this.reference),t.placement=k(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=D(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function P(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function L(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length-1;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==window.document.body.style[o])return o}return null}function N(){return this.state.isDestroyed=!0,P(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function j(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||j(s(o.parentNode),e,n,r),r.push(o)}function F(t,e,n,r){n.updateBound=r,R(t).addEventListener("resize",n.updateBound,{passive:!0});var i=s(t);return j(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function H(t,e){return R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function V(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=H(this.reference,this.state))}function B(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(e[n])&&(r="px"),t.style[n]=e[n]+r})}function U(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function $(t){return z(t.instance.popper,t.styles),U(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t}function Y(t,e,n,r,i){var o=S(i,e,t),a=k(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),z(e,{position:"absolute"}),n}function q(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=E(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=u(t.instance.popper),l=y(s),c={position:i.position},f={left:Math.floor(i.left),top:Math.floor(i.top),bottom:Math.floor(i.bottom),right:Math.floor(i.right)},d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=L("transform"),g=void 0,v=void 0;if(v="bottom"===d?-l.height+f.bottom:f.top,g="right"===h?-l.width+f.right:f.left,a&&p)c[p]="translate3d("+g+"px, "+v+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var m="bottom"===d?-1:1,_="right"===h?-1:1;c[d]=v*m,c[h]=g*_,c.willChange=d+", "+h}var b={"x-placement":t.placement};return t.attributes=yt({},b,t.attributes),t.styles=yt({},c,t.styles),t.arrowStyles=yt({},t.offsets.arrow,t.arrowStyles),t}function G(t,e,n){var r=E(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function J(t,e){if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],i=t.offsets,a=i.popper,s=i.reference,u=-1!==["left","right"].indexOf(r),l=u?"height":"width",c=u?"Top":"Left",f=c.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",p=T(n)[l];s[h]-p<a[f]&&(t.offsets.popper[f]-=a[f]-(s[h]-p)),s[f]+p>a[h]&&(t.offsets.popper[f]+=s[f]+p-a[h]);var g=s[f]+s[l]/2-p/2,v=o(t.instance.popper,"margin"+c).replace("px",""),y=g-m(t.offsets.popper)[f]-v;return y=Math.max(Math.min(a[l]-p,y),0),t.arrowElement=n,t.offsets.arrow={},t.offsets.arrow[f]=Math.round(y),t.offsets.arrow[d]="",t}function K(t){return"end"===t?"start":"start"===t?"end":t}function Q(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=bt.indexOf(t),r=bt.slice(n+1).concat(bt.slice(0,n));return e?r.reverse():r}function X(t,e){if(P(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=w(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),r=t.placement.split("-")[0],i=A(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case xt.FLIP:a=[r,i];break;case xt.CLOCKWISE:a=Q(r);break;case xt.COUNTERCLOCKWISE:a=Q(r,!0);break;default:a=e.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=A(r);var l=t.offsets.popper,c=t.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),h=f(l.left)<f(n.left),p=f(l.right)>f(n.right),g=f(l.top)<f(n.top),v=f(l.bottom)>f(n.bottom),m="left"===r&&h||"right"===r&&p||"top"===r&&g||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),_=!!e.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&g||!y&&"end"===o&&v);(d||m||_)&&(t.flipped=!0,(d||m)&&(r=a[u+1]),_&&(o=K(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=yt({},t.offsets.popper,D(t.instance.popper,t.offsets.reference,t.placement)),t=M(t.instance.modifiers,t,"flip"))}),t}function Z(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<o(r[u])&&(t.offsets.popper[u]=o(r[u])-n[l]),n[u]>o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}function tt(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return m(s)[e]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function et(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(E(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return l=l.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return tt(t,i,e,n)})}),l.forEach(function(t,e){t.forEach(function(n,r){B(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}function nt(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=B(+n)?[+n,0]:et(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t}function rt(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=w(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=r;var i=e.priority,o=t.offsets.popper,a={primary:function(t){var n=o[t];return o[t]<r[t]&&!e.escapeWithReference&&(n=Math.max(o[t],r[t])),mt({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=o[n];return o[t]>r[t]&&!e.escapeWithReference&&(i=Math.min(o[n],r[t]-("right"===t?o.width:o.height))),mt({},n,i)}};return i.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";o=yt({},o,a[e](t))}),t.offsets.popper=o,t}function it(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:mt({},u,o[u]),end:mt({},u,o[u]+o[l]-a[l])};t.offsets.popper=yt({},a,c[r])}return t}function ot(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=E(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function at(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=A(e),t.offsets.popper=m(i),t}for(var st="undefined"!=typeof window&&void 0!==window.document,ut=["Edge","Trident","Firefox"],lt=0,ct=0;ct<ut.length;ct+=1)if(st&&navigator.userAgent.indexOf(ut[ct])>=0){lt=1;break}var ft=st&&window.Promise,dt=ft?n:r,ht=void 0,pt=function(){return void 0===ht&&(ht=-1!==navigator.appVersion.indexOf("MSIE 10")),ht},gt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},vt=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),mt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},yt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_t=["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"],bt=_t.slice(3),xt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},wt={shift:{order:100,enabled:!0,fn:it},offset:{order:200,enabled:!0,fn:nt,offset:0},preventOverflow:{order:300,enabled:!0,fn:rt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Z},arrow:{order:500,enabled:!0,fn:J,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:X,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:at},hide:{order:800,enabled:!0,fn:ot},computeStyle:{order:850,enabled:!0,fn:q,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:$,onLoad:Y,gpuAcceleration:void 0}},Ct={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:wt},kt=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};gt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=dt(this.update.bind(this)),this.options=yt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(yt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=yt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return yt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return vt(t,[{key:"update",value:function(){return I.call(this)}},{key:"destroy",value:function(){return N.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();kt.Utils=("undefined"!=typeof window?window:t).PopperUtils,kt.placements=_t,kt.Defaults=Ct,e.default=kt}.call(e,n("DuR2"))},ZmvM:function(t,e,n){"use strict";t.exports=function(t){function e(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function n(e,n){var r=new t.Legend({ctx:e.ctx,options:n,chart:e});i.configure(e,r,n),i.addBox(e,r),e.legend=r}var r=t.helpers,i=t.layoutService,o=r.noop;return t.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return r.isArray(e.datasets)?e.datasets.map(function(e,n){return{text:e.label,fillStyle:r.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}},this):[]}}},t.Legend=t.Element.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:o,update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:function(){var t=this,e=t.options.labels,n=e.generateLabels.call(t,t.chart);e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:o,beforeFit:o,fit:function(){var n=this,i=n.options,o=i.labels,a=i.display,s=n.ctx,u=t.defaults.global,l=r.getValueOrDefault,c=l(o.fontSize,u.defaultFontSize),f=l(o.fontStyle,u.defaultFontStyle),d=l(o.fontFamily,u.defaultFontFamily),h=r.fontString(c,f,d),p=n.legendHitBoxes=[],g=n.minSize,v=n.isHorizontal();if(v?(g.width=n.maxWidth,g.height=a?10:0):(g.width=a?10:0,g.height=n.maxHeight),a)if(s.font=h,v){var m=n.lineWidths=[0],y=n.legendItems.length?c+o.padding:0;s.textAlign="left",s.textBaseline="top",r.each(n.legendItems,function(t,r){var i=e(o,c),a=i+c/2+s.measureText(t.text).width;m[m.length-1]+a+o.padding>=n.width&&(y+=c+o.padding,m[m.length]=n.left),p[r]={left:0,top:0,width:a,height:c},m[m.length-1]+=a+o.padding}),g.height+=y}else{var _=o.padding,b=n.columnWidths=[],x=o.padding,w=0,C=0,k=c+_;r.each(n.legendItems,function(t,n){var r=e(o,c),i=r+c/2+s.measureText(t.text).width;C+k>g.height&&(x+=w+o.padding,b.push(w),w=0,C=0),w=Math.max(w,i),C+=k,p[n]={left:0,top:0,width:i,height:c}}),x+=w,b.push(w),g.width+=x}n.width=g.width,n.height=g.height},afterFit:o,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,i=n.options,o=i.labels,a=t.defaults.global,s=a.elements.line,u=n.width,l=n.lineWidths;if(i.display){var c,f=n.ctx,d=r.getValueOrDefault,h=d(o.fontColor,a.defaultFontColor),p=d(o.fontSize,a.defaultFontSize),g=d(o.fontStyle,a.defaultFontStyle),v=d(o.fontFamily,a.defaultFontFamily),m=r.fontString(p,g,v);f.textAlign="left",f.textBaseline="top",f.lineWidth=.5,f.strokeStyle=h,f.fillStyle=h,f.font=m;var y=e(o,p),_=n.legendHitBoxes,b=function(e,n,r){if(!(isNaN(y)||y<=0)){f.save(),f.fillStyle=d(r.fillStyle,a.defaultColor),f.lineCap=d(r.lineCap,s.borderCapStyle),f.lineDashOffset=d(r.lineDashOffset,s.borderDashOffset),f.lineJoin=d(r.lineJoin,s.borderJoinStyle),f.lineWidth=d(r.lineWidth,s.borderWidth),f.strokeStyle=d(r.strokeStyle,a.defaultColor);var o=0===d(r.lineWidth,s.borderWidth);if(f.setLineDash&&f.setLineDash(d(r.lineDash,s.borderDash)),i.labels&&i.labels.usePointStyle){var u=p*Math.SQRT2/2,l=u/Math.SQRT2,c=e+l,h=n+l;t.canvasHelpers.drawPoint(f,r.pointStyle,u,c,h)}else o||f.strokeRect(e,n,y,p),f.fillRect(e,n,y,p);f.restore()}},x=function(t,e,n,r){f.fillText(n.text,y+p/2+t,e),n.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(y+p/2+t,e+p/2),f.lineTo(y+p/2+t+r,e+p/2),f.stroke())},w=n.isHorizontal();c=w?{x:n.left+(u-l[0])/2,y:n.top+o.padding,line:0}:{x:n.left+o.padding,y:n.top+o.padding,line:0};var C=p+o.padding;r.each(n.legendItems,function(t,e){var r=f.measureText(t.text).width,i=y+p/2+r,a=c.x,s=c.y;w?a+i>=u&&(s=c.y+=C,c.line++,a=c.x=n.left+(u-l[c.line])/2):s+C>n.bottom&&(a=c.x=a+n.columnWidths[c.line]+o.padding,s=c.y=n.top+o.padding,c.line++),b(a,s,t),_[e].left=a,_[e].top=s,x(a,s,t,r),w?c.x+=i+o.padding:c.y+=C})}},handleEvent:function(t){var e=this,n=e.options,r="mouseup"===t.type?"click":t.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=t.x,a=t.y;if(o>=e.left&&o<=e.right&&a>=e.top&&a<=e.bottom)for(var s=e.legendHitBoxes,u=0;u<s.length;++u){var l=s[u];if(o>=l.left&&o<=l.left+l.width&&a>=l.top&&a<=l.top+l.height){if("click"===r){n.onClick.call(e,t.native,e.legendItems[u]),i=!0;break}if("mousemove"===r){n.onHover.call(e,t.native,e.legendItems[u]),i=!0;break}}}return i}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&n(t,e)},beforeUpdate:function(e){var o=e.options.legend,a=e.legend;o?(o=r.configMerge(t.defaults.global.legend,o),a?(i.configure(e,a,o),a.options=o):n(e,o)):a&&(i.removeBox(e,a),delete e.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}}},aIb8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-7"},[t._v(t._s(t.job.name))]),t._v(" "),n("div",{staticClass:"col-md-5 text-right"},[n("button",{staticClass:"btn btn-primary btn-sm",on:{click:function(e){t.retry(t.job.id)}}},[n("i",{staticClass:"icon-sm"},[n("svg",{staticClass:"fill-white",class:{spin:t.retryingJob}},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-refresh"}})])])])])])]),t._v(" "),n("div",{staticClass:"card-body"},[t.job.id?n("div",[n("div",{staticClass:"row mb-2"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("ID")])]),t._v(" "),n("div",{staticClass:"col"},[t._v(t._s(t.job.id))])]),t._v(" "),n("div",{staticClass:"row mb-2"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("Queue")])]),t._v(" "),n("div",{staticClass:"col"},[t._v(t._s(t.job.queue))])]),t._v(" "),n("div",{staticClass:"row mb-2"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("Tags")])]),t._v(" "),n("div",{staticClass:"col"},[t._v(t._s(t.job.payload.tags&&t.job.payload.tags.length?t.job.payload.tags.join(", "):""))])]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("Failed At")])]),t._v(" "),n("div",{staticClass:"col"},[t._v(t._s(t.readableTimestamp(t.job.failed_at)))])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("Error")])]),t._v(" "),n("div",{staticClass:"col"},[n("div",{staticClass:"exceptionDisplay",domProps:{innerHTML:t._s(t.prettyPrintException(t.job.exception))}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"},[n("strong",[t._v("Data")])]),t._v(" "),n("div",{staticClass:"col"},[n("p",{staticClass:"jobDetailsText",domProps:{innerHTML:t._s(t.prettyPrintJob(t.job.payload.data))}})])])]):t._e()])]),t._v(" "),!t.loadingJob&&t.job.retried_by.length?n("div",{staticClass:"card mt-4"},[n("div",{staticClass:"card-header"},[t._v("Recent Retries")]),t._v(" "),n("div",{staticClass:"table-responsive"},[n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Job")]),t._v(" "),n("th",[t._v("ID")]),t._v(" "),n("th",[t._v("Retry Time")])])]),t._v(" "),n("tbody",t._l(t.job.retried_by,function(e){return n("tr",[n("td",{staticClass:"d-flex"},[n("status",{staticClass:"mr-2",attrs:{active:"completed"==e.status,pending:"pending"==e.status}}),t._v("\n "+t._s(e.status.charAt(0).toUpperCase()+e.status.slice(1))+"\n ")],1),t._v(" "),n("td",["failed"==e.status?n("a",{attrs:{href:"/horizon/failed/"+e.id}},[t._v("\n "+t._s(e.id)+"\n ")]):n("span",[t._v(t._s(e.id))])]),t._v(" "),n("td",[t._v(t._s(t.readableTimestamp(e.retried_at)))])])}))]),t._v(" "),t.job.retried_by?t._e():n("message",{attrs:{text:"There aren't any recent retries for this job"}})],1)]):t._e()])])},staticRenderFns:[]}},aez7:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("c9Zn"),i=n.n(r),o=n("jZKv"),a=n.n(o),s=n("dIim"),u=n.n(s);e.default={props:["jobId"],components:{Layout:a.a,Status:u.a},data:function(){return{loadingJob:!0,retryingJob:!1,job:{}}},mounted:function(){var t=this;this.loadFailedJob(this.jobId),this.interval=setInterval(function(){t.reloadRetries()},3e3)},destroyed:function(){clearInterval(this.interval)},methods:{loadFailedJob:function(t){var e=this;this.loadingJob=!0,this.$http.get("/horizon/api/jobs/failed/"+t).then(function(t){e.job=t.data,e.loadingJob=!1})},reloadRetries:function(){var t=this;this.$http.get("/horizon/api/jobs/failed/"+this.jobId).then(function(e){t.job.retried_by=e.data.retried_by})},retry:function(t){var e=this;this.retryingJob||(this.retryingJob=!0,this.$http.post("/horizon/api/jobs/retry/"+t).then(function(){setTimeout(function(){e.reloadRetries(),e.retryingJob=!1},3e3)}))},prettyPrintException:function(t){var e=_.split(t,"\n"),n="";return e.forEach(function(t){n+="<span>"+t+"</span>"}),n},prettyPrintJob:function(t){return"<pre>"+JSON.stringify(t.command?i()(t.command):t,null,2)+"</pre>"}}}},ainV:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header d-flex align-items-center"},[n("span",{staticClass:"mr-auto"},[t._v("Monitoring")]),t._v(" "),n("button",{staticClass:"btn btn-primary btn-md",on:{click:t.openTagModal}},[t._v("Monitor Tag")])]),t._v(" "),n("div",{staticClass:"table-responsive"},[n("loader",{attrs:{yes:t.loadingTags}}),t._v(" "),t.loadingTags||t.tags.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n You're not monitoring any tags.\n ")]),t._v(" "),!t.loadingTags&&t.tags.length?n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Tag Name")]),t._v(" "),n("th",[t._v("Jobs")]),t._v(" "),n("th")])]),t._v(" "),n("tbody",t._l(t.tags,function(e){return n("tr",[n("td",[n("router-link",{staticClass:"fw7",attrs:{to:{name:"monitoring.detail.index",params:{tag:e.tag}},href:"#"}},[t._v(t._s(e.tag)+"\n ")])],1),t._v(" "),n("td",[t._v(t._s(e.count))]),t._v(" "),n("td",{staticClass:"text-right"},[n("button",{staticClass:"btn btn-secondary",on:{click:function(n){t.stopMonitoring(e.tag)}}},[t._v("Stop Monitoring")])])])}))]):t._e()],1)])]),t._v(" "),t.addTagModalOpened?n("add-tag-modal"):t._e()],1)},staticRenderFns:[]}},ajDi:function(t,e,n){function r(t){if(t){var e=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,o=/(\w+)/,a=[0,0,0],s=1,u=t.match(e);if(u){u=u[1];for(var l=0;l<a.length;l++)a[l]=parseInt(u[l]+u[l],16)}else if(u=t.match(n)){u=u[1];for(var l=0;l<a.length;l++)a[l]=parseInt(u.slice(2*l,2*l+2),16)}else if(u=t.match(r)){for(var l=0;l<a.length;l++)a[l]=parseInt(u[l+1]);s=parseFloat(u[4])}else if(u=t.match(i)){for(var l=0;l<a.length;l++)a[l]=Math.round(2.55*parseFloat(u[l+1]));s=parseFloat(u[4])}else if(u=t.match(o)){if("transparent"==u[1])return[0,0,0,0];if(!(a=b[u[1]]))return}for(var l=0;l<a.length;l++)a[l]=y(a[l],0,255);return s=s||0==s?y(s,0,1):1,a[3]=s,a}}function i(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var r=parseFloat(n[4]);return[y(parseInt(n[1]),0,360),y(parseFloat(n[2]),0,100),y(parseFloat(n[3]),0,100),y(isNaN(r)?1:r,0,1)]}}}function o(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var r=parseFloat(n[4]);return[y(parseInt(n[1]),0,360),y(parseFloat(n[2]),0,100),y(parseFloat(n[3]),0,100),y(isNaN(r)?1:r,0,1)]}}}function a(t){var e=r(t);return e&&e.slice(0,3)}function s(t){var e=i(t);return e&&e.slice(0,3)}function u(t){var e=r(t);return e?e[3]:(e=i(t))?e[3]:(e=o(t))?e[3]:void 0}function l(t){return"#"+_(t[0])+_(t[1])+_(t[2])}function c(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function d(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function h(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function p(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function v(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function m(t){return x[t.slice(0,3)]}function y(t,e,n){return Math.min(Math.max(e,t),n)}function _(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var b=n("72Lu");t.exports={getRgba:r,getHsla:i,getRgb:a,getHsl:s,getHwb:o,getAlpha:u,hexString:l,rgbString:c,rgbaString:f,percentString:d,percentaString:h,hslString:p,hslaString:g,hwbString:v,keyword:m};var x={};for(var w in b)x[b[w]]=w},c9Zn:function(t,e,n){var r,i,o;!function(n,a){"use strict";i=[],r=a,void 0!==(o="function"==typeof r?r.apply(e,i):r)&&(t.exports=o)}(0,function(){"use strict";return function(t){var e,n=0,r=[],i=0,o=function(){var e=t.indexOf(":",n),r=t.substring(n,e);return n=e+2,parseInt(r,10)},a=function(){var e=t.indexOf(";",n),r=t.substring(n,e);return n=e+1,parseInt(r,10)},s=function(){var t=a();return r[i++]=t,t},u=function(){var e=t.indexOf(";",n),o=t.substring(n,e);return n=e+1,o=parseFloat(o),r[i++]=o,o},l=function(){var e=t.indexOf(";",n),o=t.substring(n,e);return n=e+1,o="1"===o,r[i++]=o,o},c=function(){for(var e,r,i=o(),a=0,s=0;s<i;)e=t.charCodeAt(n+a++),e<=127?s++:s+=e>2047?3:2;return r=t.substring(n,n+a),n+=a+2,r},f=function(){var t=c();return r[i++]=t,t},d=function(){var e=t.charAt(n);return n+=2,e},h=function(){var t=d();switch(t){case"i":return a();case"s":return c();default:throw{name:"Parse Error",message:"Unknown key type '"+t+"' at position "+(n-2)}}},p=function(){var t,a,s,u,l,c=o(),f=[],d={},p=f,g=i++;for(r[g]=p,s=0;s<c;s++)if(t=h(),a=e(),p===f&&parseInt(t,10)===s)f.push(a);else{if(p!==d){for(u=0,l=f.length;u<l;u++)d[u]=f[u];p=d,r[g]=p}d[t]=a}return n++,p},g=function(t,e){var n,r,i;return"\0"!==t.charAt(0)?t:(i=t.indexOf("\0",1))>0?(n=t.substring(1,i),r=t.substr(i+1),"*"===n?r:e===n?r:n+"::"+r):void 0},v=function(){var t,a,s,u,l={},f=i++,d=c();for(r[f]=l,t=o(),u=0;u<t;u++)a=g(h(),d),s=e(),l[a]=s;return n++,l},m=function(){return{__PHP_Incomplete_Class_Name:c(),serialized:c()}},y=function(){var t=a(),e=r[t-1];return r[i++]=e,e},_=function(){var t=a();return r[t-1]},b=function(){return r[i++]=null,null};return(e=function(){var t=d();switch(t){case"i":return s();case"d":return u();case"b":return l();case"s":return f();case"a":return p();case"O":return v();case"C":return m();case"r":return y();case"R":return _();case"N":return b();default:throw{name:"Parse Error",message:"Unknown type '"+t+"' at position "+(n-2)}}})()}})},cGG2:function(t,e,n){"use strict";function r(t){return"[object Array]"===C.call(t)}function i(t){return"[object ArrayBuffer]"===C.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function u(t){return"number"==typeof t}function l(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function f(t){return"[object Date]"===C.call(t)}function d(t){return"[object File]"===C.call(t)}function h(t){return"[object Blob]"===C.call(t)}function p(t){return"[object Function]"===C.call(t)}function g(t){return c(t)&&p(t.pipe)}function v(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function _(t,e){if(null!==t&&void 0!==t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function b(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)_(arguments[n],t);return e}function x(t,e,n){return _(e,function(e,r){t[r]=n&&"function"==typeof e?w(e,n):e}),t}var w=n("JP+z"),C=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:i,isFormData:o,isArrayBufferView:a,isString:s,isNumber:u,isObject:c,isUndefined:l,isDate:f,isFile:d,isBlob:h,isFunction:p,isStream:g,isURLSearchParams:v,isStandardBrowserEnv:y,forEach:_,merge:b,extend:x,trim:m}},cKoz:function(t,e,n){var r=n("VU/8")(n("t9k3"),n("kh0L"),null,null,null);t.exports=r.exports},cWxy:function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n("dVOP");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},cxyC:function(t,e,n){var r=n("VU/8")(n("pzzh"),n("ainV"),null,null,null);t.exports=r.exports},dIim:function(t,e,n){var r=n("VU/8")(n("8d6t"),n("G8Q8"),null,null,null);t.exports=r.exports},dIwP:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},dUPv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("jZKv"),i=n.n(r),o=n("Axsq"),a=n.n(o);e.default={components:{JobTable:a.a,Layout:i.a},mounted:function(){document.title="Horizon - Recent Jobs"}}},dVOP:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},fuGk:function(t,e,n){"use strict";function r(){this.handlers=[]}var i=n("cGG2");r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},gCP2:function(t,e,n){"use strict";t.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},ghsk:function(t,e,n){"use strict";t.exports=function(t){function e(e){e=e||{};var n=e.data=e.data||{};return n.datasets=n.datasets||[],n.labels=n.labels||[],e.options=i.configMerge(t.defaults.global,t.defaults[e.type],e.options||{}),e}function n(t){var e=t.options;e.scale?t.scale.options=e.scale:e.scales&&e.scales.xAxes.concat(e.scales.yAxes).forEach(function(e){t.scales[e.id].options=e}),t.tooltip._options=e.tooltips}function r(t){return"top"===t||"bottom"===t}var i=t.helpers,o=t.plugins,a=t.platform;t.types={},t.instances={},t.controllers={},i.extend(t.prototype,{construct:function(n,r){var o=this;r=e(r);var s=a.acquireContext(n,r),u=s&&s.canvas,l=u&&u.height,c=u&&u.width;if(o.id=i.uid(),o.ctx=s,o.canvas=u,o.config=r,o.width=c,o.height=l,o.aspectRatio=l?c/l:null,o.options=r.options,o._bufferedRender=!1,o.chart=o,o.controller=o,t.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(t){o.config.data=t}}),!s||!u)return void console.error("Failed to create chart: can't acquire context from the given item");o.initialize(),o.update()},initialize:function(){var t=this;return o.notify(t,"beforeInit"),i.retinaScale(t),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),o.notify(t,"afterInit"),t},clear:function(){return i.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,r=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,s=Math.floor(i.getMaximumWidth(r)),u=Math.floor(a?s/a:i.getMaximumHeight(r));if((e.width!==s||e.height!==u)&&(r.width=e.width=s,r.height=e.height=u,r.style.width=s+"px",r.style.height=u+"px",i.retinaScale(e),!t)){var l={width:s,height:u};o.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;i.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),i.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildScales:function(){var e=this,n=e.options,o=e.scales={},a=[];n.scales&&(a=a.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),n.scale&&a.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),i.each(a,function(n){var a=n.options,s=i.getValueOrDefault(a.type,n.dtype),u=t.scaleService.getScaleConstructor(s);if(u){r(a.position)!==r(n.dposition)&&(a.position=n.dposition);var l=new u({id:a.id,options:a,ctx:e.ctx,chart:e});o[l.id]=l,n.isDefault&&(e.scale=l)}}),t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],r=[];if(i.each(e.data.datasets,function(i,o){var a=e.getDatasetMeta(o);if(a.type||(a.type=i.type||e.config.type),n.push(a.type),a.controller)a.controller.updateIndex(o);else{var s=t.controllers[a.type];if(void 0===s)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new s(e,o),r.push(a.controller)}},e),n.length>1)for(var o=1;o<n.length;o++)if(n[o]!==n[o-1]){e.isCombo=!0;break}return r},resetElements:function(){var t=this;i.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t,e){var r=this;if(n(r),!1!==o.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var a=r.buildOrUpdateControllers();i.each(r.data.datasets,function(t,e){r.getDatasetMeta(e).controller.buildOrUpdateElements()},r),r.updateLayout(),i.each(a,function(t){t.reset()}),r.updateDatasets(),o.notify(r,"afterUpdate"),r._bufferedRender?r._bufferedRequest={lazy:e,duration:t}:r.render(t,e)}},updateLayout:function(){var e=this;!1!==o.notify(e,"beforeLayout")&&(t.layoutService.update(this,this.width,this.height),o.notify(e,"afterScaleUpdate"),o.notify(e,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==o.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e<n;++e)t.updateDataset(e);o.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,n=e.getDatasetMeta(t),r={meta:n,index:t};!1!==o.notify(e,"beforeDatasetUpdate",[r])&&(n.controller.update(),o.notify(e,"afterDatasetUpdate",[r]))},render:function(e,n){var r=this;if(!1!==o.notify(r,"beforeRender")){var a=r.options.animation,s=function(t){o.notify(r,"afterRender"),i.callback(a&&a.onComplete,[t],r)};if(a&&(void 0!==e&&0!==e||void 0===e&&0!==a.duration)){var u=new t.Animation({numSteps:(e||a.duration)/16.66,easing:a.easing,render:function(t,e){var n=i.easingEffects[e.easing],r=e.currentStep,o=r/e.numSteps;t.draw(n(o),o,r)},onAnimationProgress:a.onProgress,onAnimationComplete:s});t.animationService.addAnimation(r,u,e,n)}else r.draw(),s(new t.Animation({numSteps:0,chart:r}));return r}},draw:function(t){var e=this;e.clear(),void 0!==t&&null!==t||(t=1),e.transition(t),!1!==o.notify(e,"beforeDraw",[t])&&(i.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e.tooltip.draw(),o.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=this,n=0,r=(e.data.datasets||[]).length;n<r;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==o.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;n>=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);o.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,r=n.getDatasetMeta(t),i={meta:r,index:t,easingValue:e};!1!==o.notify(n,"beforeDatasetDraw",[i])&&(r.controller.draw(e),o.notify(n,"afterDatasetDraw",[i]))},getElementAtEvent:function(e){return t.Interaction.modes.single(this,e)},getElementsAtEvent:function(e){return t.Interaction.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return t.Interaction.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,n,r){var i=t.Interaction.modes[n];return"function"==typeof i?i(this,e,r):[]},getDatasetAtEvent:function(e){return t.Interaction.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var r=n._meta[e.id];return r||(r=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var e,n,r,s=this,u=s.canvas;for(s.stop(),n=0,r=s.data.datasets.length;n<r;++n)e=s.getDatasetMeta(n),e.controller&&(e.controller.destroy(),e.controller=null);u&&(s.unbindEvents(),i.clear(s),a.releaseContext(s.ctx),s.canvas=null,s.ctx=null),o.notify(s,"destroy"),delete t.instances[s.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new t.Tooltip({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e),e.tooltip.initialize()},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};i.each(t.options.events,function(r){a.addEventListener(t,r,n),e[r]=n}),t.options.responsive&&(n=function(){t.resize()},a.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,i.each(e,function(e,n){a.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var r,i,o,a=n?"setHoverStyle":"removeHoverStyle";for(i=0,o=t.length;i<o;++i)(r=t[i])&&this.getDatasetMeta(r._datasetIndex).controller[a](r)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==o.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var r=e.handleEvent(t);r|=n&&n.handleEvent(t),o.notify(e,"afterEvent",[t]);var i=e._bufferedRequest;return i?e.render(i.duration,i.lazy):r&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e=this,n=e.options||{},r=n.hover,o=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,r.mode,r),r.onHover&&r.onHover.call(e,t.native,e.active),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,r.mode,!1),e.active.length&&r.mode&&e.updateHoverStyle(e.active,r.mode,!0),o=!i.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,o}}),t.Controller=t}},hAmm:function(t,e,n){"use strict";t.exports=function(t){function e(t,e){return r.where(t,function(t){return t.position===e})}function n(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,n){var r=e?n:t,i=e?t:n;return r.weight===i.weight?r._tmpIndex_-i._tmpIndex_:r.weight-i.weight}),t.forEach(function(t){delete t._tmpIndex_})}var r=t.helpers;t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var r,i=["fullWidth","position","weight"],o=i.length,a=0;a<o;++a)r=i[a],n.hasOwnProperty(r)&&(e[r]=n[r])},update:function(t,i,o){function a(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?x:A,T),D-=e.height):(e=t.update(S,k),A-=e.width),E.push({horizontal:n,minSize:e,box:t})}function s(t){var e=r.findNextWhere(E,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(L,O),right:Math.max(N,M),top:0,bottom:0};t.update(t.fullWidth?x:A,w/2,n)}else t.update(e.minSize.width,D)}function u(t){var e=r.findNextWhere(E,function(e){return e.box===t}),n={left:0,right:0,top:R,bottom:j};e&&t.update(e.minSize.width,D,n)}function l(t){t.isHorizontal()?(t.left=t.fullWidth?d:L,t.right=t.fullWidth?i-h:L+A,t.top=z,t.bottom=z+t.height,z=t.bottom):(t.left=B,t.right=B+t.width,t.top=R,t.bottom=R+D,B=t.right)}if(t){var c=t.options.layout,f=c?c.padding:null,d=0,h=0,p=0,g=0;isNaN(f)?(d=f.left||0,h=f.right||0,p=f.top||0,g=f.bottom||0):(d=f,h=f,p=f,g=f);var v=e(t.boxes,"left"),m=e(t.boxes,"right"),y=e(t.boxes,"top"),_=e(t.boxes,"bottom"),b=e(t.boxes,"chartArea");n(v,!0),n(m,!1),n(y,!0),n(_,!1);var x=i-d-h,w=o-p-g,C=x/2,k=w/2,S=(i-C)/(v.length+m.length),T=(o-k)/(y.length+_.length),A=x,D=w,E=[];r.each(v.concat(m,y,_),a);var O=0,M=0,I=0,P=0;r.each(y.concat(_),function(t){if(t.getPadding){var e=t.getPadding();O=Math.max(O,e.left),M=Math.max(M,e.right)}}),r.each(v.concat(m),function(t){if(t.getPadding){var e=t.getPadding();I=Math.max(I,e.top),P=Math.max(P,e.bottom)}});var L=d,N=h,R=p,j=g;r.each(v.concat(m),s),r.each(v,function(t){L+=t.width}),r.each(m,function(t){N+=t.width}),r.each(y.concat(_),s),r.each(y,function(t){R+=t.height}),r.each(_,function(t){j+=t.height}),r.each(v.concat(m),u),L=d,N=h,R=p,j=g,r.each(v,function(t){L+=t.width}),r.each(m,function(t){N+=t.width}),r.each(y,function(t){R+=t.height}),r.each(_,function(t){j+=t.height});var F=Math.max(O-L,0);L+=F,N+=Math.max(M-N,0);var W=Math.max(I-R,0);R+=W,j+=Math.max(P-j,0);var H=o-R-j,V=i-L-N;V===A&&H===D||(r.each(v,function(t){t.height=H}),r.each(m,function(t){t.height=H}),r.each(y,function(t){t.fullWidth||(t.width=V)}),r.each(_,function(t){t.fullWidth||(t.width=V)}),D=H,A=V);var B=d+F,z=p+W;r.each(v.concat(y),l),B+=A,z+=D,r.each(m,l),r.each(_,l),t.chartArea={left:L,top:R,right:L+A,bottom:R+D},r.each(b,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(A,D)})}}}}},jIQr:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"table-responsive"},[n("loader",{attrs:{yes:t.loadState}}),t._v(" "),t.loadState||t.jobs.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n There aren't any recent jobs.\n ")]),t._v(" "),!t.loadState&&t.jobs.length?n("table",{staticClass:"table card-table table-hover"},[t._m(0),t._v(" "),n("tbody",t._l(t.jobs,function(e){return n("tr",[n("td",["failed"==e.status?n("a",{attrs:{href:"/horizon/failed/"+e.id,"data-toggle":"tooltip",title:e.name}},[t._v(t._s(t.jobBaseName(e.name))+"\n ")]):n("span",{attrs:{"data-toggle":"tooltip",title:e.name}},[t._v(t._s(t.jobBaseName(e.name)))])]),t._v(" "),n("td",[t._v(t._s(e.queue))]),t._v(" "),n("td",[t._v(t._s(t.displayableTagsList(e.payload.tags)))]),t._v(" "),n("td",{staticClass:"text-nowrap"},[t._v(t._s(t.readableTimestamp(e.payload.pushedAt)))]),t._v(" "),n("td",["failed"==e.status?n("span",[t._v(t._s(e.failed_at?String(e.failed_at-e.reserved_at)+"s":"-"))]):n("span",[t._v(t._s(e.completed_at?String(e.completed_at-e.reserved_at)+"s":"-"))])]),t._v(" "),n("td",[n("status",{attrs:{active:"completed"==e.status,pending:"reserved"==e.status||"pending"==e.status}})],1)])}))]):t._e(),t._v(" "),!t.loadState&&t.jobs.length?n("div",{staticClass:"p-3 mt-3 d-flex justify-content-between"},[n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:1==t.page},on:{click:t.previous}},[t._v("Previous")]),t._v(" "),n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:t.page>=t.totalPages},on:{click:t.next}},[t._v("Next")])]):t._e()],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Job")]),t._v(" "),n("th",[t._v("On")]),t._v(" "),n("th",[t._v("Tags")]),t._v(" "),n("th",[t._v("Queued At")]),t._v(" "),n("th",[t._v("Runtime")]),t._v(" "),n("th",[t._v("Status")])])])}]}},jJ84:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers;t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,n,r){this.constructors[t]=n,this.defaults[t]=e.clone(r)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?e.scaleMerge(t.defaults.scale,this.defaults[n]):{}},updateScaleDefaults:function(t,n){var r=this.defaults;r.hasOwnProperty(t)&&(r[t]=e.extend(r[t],n))},addScalesToLayout:function(n){e.each(n.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,t.layoutService.addBox(n,e)})}}}},jZKv:function(t,e,n){var r=n("VU/8")(n("2Bh9"),n("Ks/S"),null,null,null);t.exports=r.exports},kh0L:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Metrics")]),t._v(" "),n("ul",{staticClass:"nav nav-tabs card-tabs"},[n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:"/metrics/jobs","active-class":"active"}},[t._v("Jobs")])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:"/metrics/queues","active-class":"active"}},[t._v("Queues")])],1)]),t._v(" "),n("router-view")],1)])])},staticRenderFns:[]}},lAQT:function(t,e,n){var r=n("VU/8")(n("dUPv"),n("qiKz"),null,null,null);t.exports=r.exports},lG75:function(t,e,n){"use strict";var r=n("rWJA");t.exports=function(t){function e(t,e,n){var r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}function n(t){return void 0!==t&&null!==t&&"none"!==t}function i(t,r,i){var o=document.defaultView,a=t.parentNode,s=o.getComputedStyle(t)[r],u=o.getComputedStyle(a)[r],l=n(s),c=n(u),f=Number.POSITIVE_INFINITY;return l||c?Math.min(l?e(s,t,i):f,c?e(u,a,i):f):"none"}var o=t.helpers={};o.each=function(t,e,n,r){var i,a;if(o.isArray(t))if(a=t.length,r)for(i=a-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<a;i++)e.call(n,t[i],i);else if("object"==typeof t){var s=Object.keys(t);for(a=s.length,i=0;i<a;i++)e.call(n,t[s[i]],s[i])}},o.clone=function(t){var e={};return o.each(t,function(t,n){o.isArray(t)?e[n]=t.slice(0):e[n]="object"==typeof t&&null!==t?o.clone(t):t}),e},o.extend=function(t){for(var e=function(e,n){t[n]=e},n=1,r=arguments.length;n<r;n++)o.each(arguments[n],e);return t},o.configMerge=function(e){var n=o.clone(e);return o.each(Array.prototype.slice.call(arguments,1),function(e){o.each(e,function(e,r){var i=n.hasOwnProperty(r),a=i?n[r]:{};"scales"===r?n[r]=o.scaleMerge(a,e):"scale"===r?n[r]=o.configMerge(a,t.scaleService.getScaleDefaults(e.type),e):!i||"object"!=typeof a||o.isArray(a)||null===a||"object"!=typeof e||o.isArray(e)?n[r]=e:n[r]=o.configMerge(a,e)})}),n},o.scaleMerge=function(e,n){var r=o.clone(e);return o.each(n,function(e,n){"xAxes"===n||"yAxes"===n?r.hasOwnProperty(n)?o.each(e,function(e,i){var a=o.getValueOrDefault(e.type,"xAxes"===n?"category":"linear"),s=t.scaleService.getScaleDefaults(a);i>=r[n].length||!r[n][i].type?r[n].push(o.configMerge(s,e)):e.type&&e.type!==r[n][i].type?r[n][i]=o.configMerge(r[n][i],s,e):r[n][i]=o.configMerge(r[n][i],e)}):(r[n]=[],o.each(e,function(e){var i=o.getValueOrDefault(e.type,"xAxes"===n?"category":"linear");r[n].push(o.configMerge(t.scaleService.getScaleDefaults(i),e))})):r.hasOwnProperty(n)&&"object"==typeof r[n]&&null!==r[n]&&"object"==typeof e?r[n]=o.configMerge(r[n],e):r[n]=e}),r},o.getValueAtIndexOrDefault=function(t,e,n){return void 0===t||null===t?n:o.isArray(t)?e<t.length?t[e]:n:t},o.getValueOrDefault=function(t,e){return void 0===t?e:t},o.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,r=t.length;n<r;++n)if(t[n]===e)return n;return-1},o.where=function(t,e){if(o.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return o.each(t,function(t){e(t)&&n.push(t)}),n},o.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var r=0,i=t.length;r<i;++r)if(e.call(n,t[r],r,t))return r;return-1},o.findNextWhere=function(t,e,n){void 0!==n&&null!==n||(n=-1);for(var r=n+1;r<t.length;r++){var i=t[r];if(e(i))return i}},o.findPreviousWhere=function(t,e,n){void 0!==n&&null!==n||(n=t.length);for(var r=n-1;r>=0;r--){var i=t[r];if(e(i))return i}},o.inherits=function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=e.prototype,n.prototype=new r,n.extend=o.inherits,t&&o.extend(n.prototype,t),n.__super__=e.prototype,n},o.noop=function(){},o.uid=function(){var t=0;return function(){return t++}}(),o.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},o.almostEquals=function(t,e,n){return Math.abs(t-e)<n},o.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&n+e>t},o.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},o.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},o.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},o.toRadians=function(t){return t*(Math.PI/180)},o.toDegrees=function(t){return t*(180/Math.PI)},o.getAngleFromPoint=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},o.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o.aliasPixel=function(t){return t%2==0?0:.5},o.splineCurve=function(t,e,n,r){var i=t.skip?e:t,o=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),u=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),l=s/(s+u),c=u/(s+u);l=isNaN(l)?0:l,c=isNaN(c)?0:c;var f=r*l,d=r*c;return{previous:{x:o.x-f*(a.x-i.x),y:o.y-f*(a.y-i.y)},next:{x:o.x+d*(a.x-i.x),y:o.y+d*(a.y-i.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(t){var e,n,r,i,a=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),s=a.length;for(e=0;e<s;++e)if(r=a[e],!r.model.skip){if(n=e>0?a[e-1]:null,(i=e<s-1?a[e+1]:null)&&!i.model.skip){var u=i.model.x-r.model.x;r.deltaK=0!==u?(i.model.y-r.model.y)/u:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}var l,c,f,d;for(e=0;e<s-1;++e)r=a[e],i=a[e+1],r.model.skip||i.model.skip||(o.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(l=r.mK/r.deltaK,c=i.mK/r.deltaK,(d=Math.pow(l,2)+Math.pow(c,2))<=9||(f=3/Math.sqrt(d),r.mK=l*f*r.deltaK,i.mK=c*f*r.deltaK)));var h;for(e=0;e<s;++e)r=a[e],r.model.skip||(n=e>0?a[e-1]:null,i=e<s-1?a[e+1]:null,n&&!n.model.skip&&(h=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-h,r.model.controlPointPreviousY=r.model.y-h*r.mK),i&&!i.model.skip&&(h=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+h,r.model.controlPointNextY=r.model.y+h*r.mK))},o.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},o.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},o.niceNum=function(t,e){var n=Math.floor(o.log10(t)),r=t/Math.pow(10,n);return(e?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)};var a=o.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(1-Math.pow(2,-10*t/1))},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1==(t/=1)?1:(n||(n=.3),r<Math.abs(1)?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1==(t/=1)?1:(n||(n=.3),r<Math.abs(1)?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*t)*Math.sin((1*t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.3*1.5*1),r<Math.abs(1)?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return 1*(t/=1)*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return 1*((t=t/1-1)*t*((e+1)*t+e)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?7.5625*t*t*1:t<2/2.75?1*(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};o.requestAnimFrame=function(){return"undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),o.getRelativePosition=function(t,e){var n,r,i=t.originalEvent||t,a=t.currentTarget||t.srcElement,s=a.getBoundingClientRect(),u=i.touches;u&&u.length>0?(n=u[0].clientX,r=u[0].clientY):(n=i.clientX,r=i.clientY);var l=parseFloat(o.getStyle(a,"padding-left")),c=parseFloat(o.getStyle(a,"padding-top")),f=parseFloat(o.getStyle(a,"padding-right")),d=parseFloat(o.getStyle(a,"padding-bottom")),h=s.right-s.left-l-f,p=s.bottom-s.top-c-d;return n=Math.round((n-s.left-l)/h*a.width/e.currentDevicePixelRatio),r=Math.round((r-s.top-c)/p*a.height/e.currentDevicePixelRatio),{x:n,y:r}},o.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},o.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=o.noop},o.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},o.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},o.getMaximumWidth=function(t){var e=t.parentNode,n=parseInt(o.getStyle(e,"padding-left"),10),r=parseInt(o.getStyle(e,"padding-right"),10),i=e.clientWidth-n-r,a=o.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},o.getMaximumHeight=function(t){var e=t.parentNode,n=parseInt(o.getStyle(e,"padding-top"),10),r=parseInt(o.getStyle(e,"padding-bottom"),10),i=e.clientHeight-n-r,a=o.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},o.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},o.retinaScale=function(t){var e=t.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==e){var n=t.canvas,r=t.height,i=t.width;n.height=r*e,n.width=i*e,t.ctx.scale(e,e),n.style.height=r+"px",n.style.width=i+"px"}},o.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},o.fontString=function(t,e,n){return e+" "+t+"px "+n},o.longestText=function(t,e,n,r){r=r||{};var i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},a=r.garbageCollect=[],r.font=e),t.font=e;var s=0;o.each(n,function(e){void 0!==e&&null!==e&&!0!==o.isArray(e)?s=o.measureText(t,i,a,s,e):o.isArray(e)&&o.each(e,function(e){void 0===e||null===e||o.isArray(e)||(s=o.measureText(t,i,a,s,e))})});var u=a.length/2;if(u>n.length){for(var l=0;l<u;l++)delete i[a[l]];a.splice(0,u)}return s},o.measureText=function(t,e,n,r,i){var o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r},o.numberOfLabelLines=function(t){var e=1;return o.each(t,function(t){o.isArray(t)&&t.length>e&&(e=t.length)}),e},o.drawRoundedRectangle=function(t,e,n,r,i,o){t.beginPath(),t.moveTo(e+o,n),t.lineTo(e+r-o,n),t.quadraticCurveTo(e+r,n,e+r,n+o),t.lineTo(e+r,n+i-o),t.quadraticCurveTo(e+r,n+i,e+r-o,n+i),t.lineTo(e+o,n+i),t.quadraticCurveTo(e,n+i,e,n+i-o),t.lineTo(e,n+o),t.quadraticCurveTo(e,n,e+o,n),t.closePath()},o.color=r?function(e){return e instanceof CanvasGradient&&(e=t.defaults.global.defaultColor),r(e)}:function(t){return console.error("Color.js not found!"),t},o.isArray=Array.isArray?function(t){return Array.isArray(t)}:function(t){return"[object Array]"===Object.prototype.toString.call(t)},o.arrayEquals=function(t,e){var n,r,i,a;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],a=e[n],i instanceof Array&&a instanceof Array){if(!o.arrayEquals(i,a))return!1}else if(i!==a)return!1;return!0},o.callback=function(t,e,n){t&&"function"==typeof t.call&&t.apply(n,e)},o.getHoverColor=function(t){return t instanceof CanvasPattern?t:o.color(t).saturate(.5).darken(.1).rgbString()},o.callCallback=o.callback}},"lRs/":function(t,e,n){"use strict";t.exports=function(t){function e(e,n){var i=new t.Title({ctx:e.ctx,options:n,chart:e});r.configure(e,i,n),r.addBox(e,i),e.titleBlock=i}var n=t.helpers,r=t.layoutService,i=n.noop;return t.defaults.global.title={display:!1,position:"top",fullWidth:!0,weight:2e3,fontStyle:"bold",padding:10,text:""},t.Title=t.Element.extend({initialize:function(t){var e=this;n.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:i,update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:i,beforeSetDimensions:i,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:i,beforeBuildLabels:i,buildLabels:i,afterBuildLabels:i,beforeFit:i,fit:function(){var e=this,r=n.getValueOrDefault,i=e.options,o=t.defaults.global,a=i.display,s=r(i.fontSize,o.defaultFontSize),u=e.minSize;e.isHorizontal()?(u.width=e.maxWidth,u.height=a?s+2*i.padding:0):(u.width=a?s+2*i.padding:0,u.height=e.maxHeight),e.width=u.width,e.height=u.height},afterFit:i,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var e=this,r=e.ctx,i=n.getValueOrDefault,o=e.options,a=t.defaults.global;if(o.display){var s,u,l,c=i(o.fontSize,a.defaultFontSize),f=i(o.fontStyle,a.defaultFontStyle),d=i(o.fontFamily,a.defaultFontFamily),h=n.fontString(c,f,d),p=0,g=e.top,v=e.left,m=e.bottom,y=e.right;r.fillStyle=i(o.fontColor,a.defaultFontColor),r.font=h,e.isHorizontal()?(s=v+(y-v)/2,u=g+(m-g)/2,l=y-v):(s="left"===o.position?v+c/2:y-c/2,u=g+(m-g)/2,l=m-g,p=Math.PI*("left"===o.position?-.5:.5)),r.save(),r.translate(s,u),r.rotate(p),r.textAlign="center",r.textBaseline="middle",r.fillText(o.text,0,0,l),r.restore()}}}),{id:"title",beforeInit:function(t){var n=t.options.title;n&&e(t,n)},beforeUpdate:function(i){var o=i.options.title,a=i.titleBlock;o?(o=n.configMerge(t.defaults.global.title,o),a?(r.configure(i,a,o),a.options=o):e(i,o)):a&&(t.layoutService.removeBox(i,a),delete i.titleBlock)}}}},lweS:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"table-responsive"},[n("loader",{attrs:{yes:t.loadingJobs}}),t._v(" "),t.loadingJobs||t.jobs.length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n There aren't any jobs.\n ")]),t._v(" "),!t.loadingJobs&&t.jobs.length?n("table",{staticClass:"table card-table table-hover"},[t._m(0),t._v(" "),n("tbody",t._l(t.jobs,function(e){return n("tr",[n("td",[n("router-link",{attrs:{to:{name:"metrics.detail",params:{type:"jobs",slug:e}}}},[t._v(t._s(e))])],1)])}))]):t._e()],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Job")])])])}]}},mg6x:function(t,e,n){"use strict";t.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},mtWM:function(t,e,n){t.exports=n("tIFN")},o0J0:function(t,e,n){var r=n("VU/8")(null,n("CDmh"),null,null,null);t.exports=r.exports},oJlt:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},oQMP:function(t,e,n){"use strict";t.exports=function(t){function e(t,e){if(t._chartjs)return void t._chartjs.listeners.push(e);Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),i.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),o=i.apply(this,e);return r.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),o}})})}function n(t,e){var n=t._chartjs;if(n){var r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(i.forEach(function(e){delete t[e]}),delete t._chartjs)}}var r=t.helpers,i=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},r.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null===e.xAxisID&&(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null===e.yAxisID&&(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,r=n.getMeta(),i=n.getDataset().data||[],o=r.data;for(t=0,e=i.length;t<e;++t)o[t]=o[t]||n.createMetaData(t);r.dataset=r.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,r=t.getDataset(),i=r.data||(r.data=[]);t._data!==i&&(t._data&&n(t._data,t),e(i,t),t._data=i),t.resyncElements()},update:r.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],r=n.length,i=0;i<r;++i)n[i].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,r=0;for(t.dataset&&t.dataset.draw();r<n;++r)e[r].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},a=r.getValueAtIndexOrDefault,s=t._model;s.backgroundColor=o.backgroundColor?o.backgroundColor:a(n.backgroundColor,i,e.backgroundColor),s.borderColor=o.borderColor?o.borderColor:a(n.borderColor,i,e.borderColor),s.borderWidth=o.borderWidth?o.borderWidth:a(n.borderWidth,i,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},o=r.getValueAtIndexOrDefault,a=r.getHoverColor,s=t._model;s.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:o(e.hoverBackgroundColor,n,a(s.backgroundColor)),s.borderColor=i.hoverBorderColor?i.hoverBorderColor:o(e.hoverBorderColor,n,a(s.borderColor)),s.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:o(e.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,r=e.data.length,i=n.length;i<r?e.data.splice(i,r-i):i>r&&t.insertElements(r,i-r)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=r.inherits}},p1b6:function(t,e,n){"use strict";var r=n("cGG2");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},pBtG:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},pxG4:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},pzzh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("jZKv"),i=n.n(r),o=n("Jno+"),a=n.n(o);e.default={components:{Layout:i.a,AddTagModal:a.a},data:function(){return{loadingTags:!0,addTagModalOpened:!1,tags:[]}},mounted:function(){var t=this;document.title="Horizon - Monitoring",this.loadTags(),Bus.$on("tagAdded",function(e){t.addTagModalOpened=!1,t.tags.push({tag:e.tag,count:0})}),Bus.$on("addTagModalClosed",function(e){t.addTagModalOpened=!1})},methods:{loadTags:function(){var t=this;this.loadingTags=!0,this.$http.get("/horizon/api/monitoring").then(function(e){t.tags=e.data,t.loadingTags=!1})},openTagModal:function(){this.addTagModalOpened=!0},stopMonitoring:function(t){var e=this;this.$http.delete("/horizon/api/monitoring/"+encodeURIComponent(t)).then(function(){e.tags=_.reject(e.tags,function(e){return e.tag==t})})}}}},qRfI:function(t,e,n){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},qiKz:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Recent Jobs")]),t._v(" "),n("job-table")],1)])])},staticRenderFns:[]}},rBXp:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("layout",[n("section",{staticClass:"main-content"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v('\n Recent Jobs for "'+t._s(t.$route.params.tag)+'"\n ')]),t._v(" "),n("ul",{staticClass:"nav nav-tabs card-tabs"},[n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"monitoring.detail.index",params:{tag:t.$route.params.tag}},exact:"","active-class":"active"}},[t._v("All")])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"monitoring.detail.failed",params:{tag:t.$route.params.tag}},"active-class":"active"}},[t._v("Failed")])],1)]),t._v(" "),n("router-view")],1)])])},staticRenderFns:[]}},rWJA:function(t,e,n){var r=n("TWHA"),i=n("ajDi"),o=function(t){if(t instanceof o)return t;if(!(this instanceof o))return new o(t);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};var e;"string"==typeof t?(e=i.getRgba(t),e?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e)):"object"==typeof t&&(e=t,void 0!==e.r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t%=360,t=t<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var r=t[n]/255;e[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,r=t,i=void 0===e?.5:e,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return this.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(t=r[a],e={}.toString.call(t),"[object Array]"===e?i[a]=t.slice(0):"[object Number]"===e?i[a]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},r=0;r<t.length;r++)n[t.charAt(r)]=e[t][r];return 1!==e.alpha&&(n.a=e.alpha),n},o.prototype.setValues=function(t,e){var n,i=this.values,o=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)i[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[o[t][0]]){var u=o[t];for(n=0;n<t.length;n++)i[t][n]=e[u[n]];s=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===t)return!1;var l;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(a[t][n],i[t][n])),i[t][n]=Math.round(l);for(var c in o)c!==t&&(i[c]=r[t][c](i[t]));return!0},o.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},o.prototype.setChannel=function(t,e,n){var r=this.values[t];return void 0===n?r[e]:n===r[e]?this:(r[e]=n,this.setValues(t,r),this)},"undefined"!=typeof window&&(window.Color=o),t.exports=o},rg2b:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("router-view")},staticRenderFns:[]}},sFj2:function(t,e,n){"use strict";t.exports=function(t){var e=t.helpers,n=t.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)e.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&e.push(i[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var o=t.getDatasetMeta(0),a=n.datasets[0],s=o.data[i],u=s&&s.custom||{},l=e.getValueAtIndexOrDefault,c=t.options.elements.arc;return{text:r,fillStyle:u.backgroundColor?u.backgroundColor:l(a.backgroundColor,i,c.backgroundColor),strokeStyle:u.borderColor?u.borderColor:l(a.borderColor,i,c.borderColor),lineWidth:u.borderWidth?u.borderWidth:l(a.borderWidth,i,c.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)i=a.getDatasetMeta(n),i.data[o]&&(i.data[o].hidden=!i.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,n){var r=n.labels[t.index],i=": "+n.datasets[t.datasetIndex].data[t.index];return e.isArray(r)?(r=r.slice(),r[0]+=i):r+=i,r}}}},n.pie=e.clone(n.doughnut),e.extend(n.pie,{cutoutPercentage:0}),t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:t.elements.Arc,linkScales:e.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var n=this,r=n.chart,i=r.chartArea,o=r.options,a=o.elements.arc,s=i.right-i.left-a.borderWidth,u=i.bottom-i.top-a.borderWidth,l=Math.min(s,u),c={x:0,y:0},f=n.getMeta(),d=o.cutoutPercentage,h=o.circumference;if(h<2*Math.PI){var p=o.rotation%(2*Math.PI);p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0);var g=p+h,v={x:Math.cos(p),y:Math.sin(p)},m={x:Math.cos(g),y:Math.sin(g)},y=p<=0&&0<=g||p<=2*Math.PI&&2*Math.PI<=g,_=p<=.5*Math.PI&&.5*Math.PI<=g||p<=2.5*Math.PI&&2.5*Math.PI<=g,b=p<=-Math.PI&&-Math.PI<=g||p<=Math.PI&&Math.PI<=g,x=p<=.5*-Math.PI&&.5*-Math.PI<=g||p<=1.5*Math.PI&&1.5*Math.PI<=g,w=d/100,C={x:b?-1:Math.min(v.x*(v.x<0?1:w),m.x*(m.x<0?1:w)),y:x?-1:Math.min(v.y*(v.y<0?1:w),m.y*(m.y<0?1:w))},k={x:y?1:Math.max(v.x*(v.x>0?1:w),m.x*(m.x>0?1:w)),y:_?1:Math.max(v.y*(v.y>0?1:w),m.y*(m.y>0?1:w))},S={width:.5*(k.x-C.x),height:.5*(k.y-C.y)};l=Math.min(s/S.width,u/S.height),c={x:-.5*(k.x+C.x),y:-.5*(k.y+C.y)}}r.borderWidth=n.getMaxBorderWidth(f.data),r.outerRadius=Math.max((l-r.borderWidth)/2,0),r.innerRadius=Math.max(d?r.outerRadius/100*d:0,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=c.x*r.outerRadius,r.offsetY=c.y*r.outerRadius,f.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=Math.max(n.outerRadius-r.radiusLength,0),e.each(f.data,function(e,r){n.updateElement(e,r,t)})},updateElement:function(t,n,r){var i=this,o=i.chart,a=o.chartArea,s=o.options,u=s.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,f=s.rotation,d=s.rotation,h=i.getDataset(),p=r&&u.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[n])*(s.circumference/(2*Math.PI)),g=r&&u.animateScale?0:i.innerRadius,v=r&&u.animateScale?0:i.outerRadius,m=e.getValueAtIndexOrDefault;e.extend(t,{_datasetIndex:i.index,_index:n,_model:{x:l+o.offsetX,y:c+o.offsetY,startAngle:f,endAngle:d,circumference:p,outerRadius:v,innerRadius:g,label:m(h.label,n,o.data.labels[n])}});var y=t._model;this.removeHoverStyle(t),r&&u.animateRotate||(y.startAngle=0===n?s.rotation:i.getMeta().data[n-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,n=this.getDataset(),r=this.getMeta(),i=0;return e.each(r.data,function(e,r){t=n.data[r],isNaN(t)||e.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,r=0,i=this.index,o=t.length,a=0;a<o;a++)e=t[a]._model?t[a]._model.borderWidth:0,n=t[a]._chart?t[a]._chart.config.data.datasets[i].hoverBorderWidth:0,r=e>r?e:r,r=n>r?n:r;return r}})}},sFo6:function(t,e,n){"use strict";t.exports=function(t){function e(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function n(t){var e=t.options.pointLabels,n=h.getValueOrDefault(e.fontSize,p.defaultFontSize),r=h.getValueOrDefault(e.fontStyle,p.defaultFontStyle),i=h.getValueOrDefault(e.fontFamily,p.defaultFontFamily);return{size:n,style:r,family:i,font:h.fontString(n,r,i)}}function r(t,e,n){return h.isArray(n)?{w:h.longestText(t,t.font,n),h:n.length*e+1.5*(n.length-1)*e}:{w:t.measureText(n).width,h:e}}function i(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function o(t){var o,a,s,u=n(t),l=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},f={};t.ctx.font=u.font,t._pointLabelSizes=[];var d=e(t);for(o=0;o<d;o++){s=t.getPointPosition(o,l),a=r(t.ctx,u.size,t.pointLabels[o]||""),t._pointLabelSizes[o]=a;var p=t.getIndexAngle(o),g=h.toDegrees(p)%360,v=i(g,s.x,a.w,0,180),m=i(g,s.y,a.h,90,270);v.start<c.l&&(c.l=v.start,f.l=p),v.end>c.r&&(c.r=v.end,f.r=p),m.start<c.t&&(c.t=m.start,f.t=p),m.end>c.b&&(c.b=m.end,f.b=p)}t.setReductions(l,c,f)}function a(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}function s(t){return 0===t||180===t?"center":t<180?"left":"right"}function u(t,e,n,r){if(h.isArray(e))for(var i=n.y,o=1.5*r,a=0;a<e.length;++a)t.fillText(e[a],n.x,i),i+=o;else t.fillText(e,n.x,n.y)}function l(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function c(t){var r=t.ctx,i=h.getValueOrDefault,o=t.options,a=o.angleLines,c=o.pointLabels;r.lineWidth=a.lineWidth,r.strokeStyle=a.color;var f=t.getDistanceFromCenterForValue(o.reverse?t.min:t.max),d=n(t);r.textBaseline="top";for(var g=e(t)-1;g>=0;g--){if(a.display){var v=t.getPointPosition(g,f);r.beginPath(),r.moveTo(t.xCenter,t.yCenter),r.lineTo(v.x,v.y),r.stroke(),r.closePath()}if(c.display){var m=t.getPointPosition(g,f+5),y=i(c.fontColor,p.defaultFontColor);r.font=d.font,r.fillStyle=y;var _=t.getIndexAngle(g),b=h.toDegrees(_);r.textAlign=s(b),l(b,t._pointLabelSizes[g],m),u(r,t.pointLabels[g]||"",m,d.size)}}}function f(t,n,r,i){var o=t.ctx;if(o.strokeStyle=h.getValueAtIndexOrDefault(n.color,i-1),o.lineWidth=h.getValueAtIndexOrDefault(n.lineWidth,i-1),t.options.gridLines.circular)o.beginPath(),o.arc(t.xCenter,t.yCenter,r,0,2*Math.PI),o.closePath(),o.stroke();else{var a=e(t);if(0===a)return;o.beginPath();var s=t.getPointPosition(0,r);o.moveTo(s.x,s.y);for(var u=1;u<a;u++)s=t.getPointPosition(u,r),o.lineTo(s.x,s.y);o.closePath(),o.stroke()}}function d(t){return h.isNumber(t)?t:0}var h=t.helpers,p=t.defaults.global,g={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:t.Ticks.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},v=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var r=h.min([t.height,t.width]),i=h.getValueOrDefault(n.fontSize,p.defaultFontSize);t.drawingArea=e.display?r/2-(i/2+n.backdropPaddingY):r/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;h.each(e.data.datasets,function(i,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);h.each(i.data,function(e,i){var o=+t.getRightValue(e);isNaN(o)||a.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=r===Number.NEGATIVE_INFINITY?0:r,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=h.getValueOrDefault(t.fontSize,p.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){this.options.pointLabels.display?o(this):a(this)},setReductions:function(t,e,n){var r=this,i=e.l/Math.sin(n.l),o=Math.max(e.r-r.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),s=-Math.max(e.b-r.height,0)/Math.cos(n.b);i=d(i),o=d(o),a=d(a),s=d(s),r.drawingArea=Math.min(Math.round(t-(i+o)/2),Math.round(t-(a+s)/2)),r.setCenterPoint(i,o,a,s)},setCenterPoint:function(t,e,n,r){var i=this,o=i.width-e-i.drawingArea,a=t+i.drawingArea,s=n+i.drawingArea,u=i.height-r-i.drawingArea;i.xCenter=Math.round((a+o)/2+i.left),i.yCenter=Math.round((s+u)/2+i.top)},getIndexAngle:function(t){return t*(2*Math.PI/e(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,r=n.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(r)*e)+n.xCenter,y:Math.round(Math.sin(r)*e)+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this,e=t.min,n=t.max;return t.getPointPositionForValue(0,t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},draw:function(){var t=this,e=t.options,n=e.gridLines,r=e.ticks,i=h.getValueOrDefault;if(e.display){var o=t.ctx,a=i(r.fontSize,p.defaultFontSize),s=i(r.fontStyle,p.defaultFontStyle),u=i(r.fontFamily,p.defaultFontFamily),l=h.fontString(a,s,u);h.each(t.ticks,function(s,u){if(u>0||e.reverse){var c=t.getDistanceFromCenterForValue(t.ticksAsNumbers[u]),d=t.yCenter-c;if(n.display&&0!==u&&f(t,n,c,u),r.display){var h=i(r.fontColor,p.defaultFontColor);if(o.font=l,r.showLabelBackdrop){var g=o.measureText(s).width;o.fillStyle=r.backdropColor,o.fillRect(t.xCenter-g/2-r.backdropPaddingX,d-a/2-r.backdropPaddingY,g+2*r.backdropPaddingX,a+2*r.backdropPaddingY)}o.textAlign="center",o.textBaseline="middle",o.fillStyle=h,o.fillText(s,t.xCenter,d)}}}),(e.angleLines.display||e.pointLabels.display)&&c(t)}}});t.scaleService.registerScaleType("radialLinear",v,g)}},"sV/x":function(t,e,n){"use strict";function r(t,e){}function i(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e,n){void 0===e&&(e={});var r,i=n||s;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.slice():a}return r}function s(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Rt(n.shift()),i=n.length>0?Rt(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function u(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Nt(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Nt(e)):r.push(Nt(e)+"="+Nt(t)))}),r.join("&")}return Nt(e)+"="+Nt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function l(t,e,n,r){var i=r&&r.options.stringifyQuery,o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:f(e,i),matched:t?c(t):[]};return n&&(o.redirectedFrom=f(n,i)),Object.freeze(o)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function f(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||u;return(n||"/")+o(r)+i}function d(t,e){return e===Ft?t===e:!!e&&(t.path&&e.path?t.path.replace(jt,"")===e.path.replace(jt,"")&&t.hash===e.hash&&h(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&h(t.query,e.query)&&h(t.params,e.params)))}function h(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?h(r,i):String(r)===String(i)})}function p(t,e){return 0===t.path.replace(jt,"/").indexOf(e.path.replace(jt,"/"))&&(!e.hash||t.hash===e.hash)&&g(t.query,e.query)}function g(t,e){for(var n in e)if(!(n in t))return!1;return!0}function v(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function m(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=m(e.children)))return e}}function y(t){if(!y.installed){y.installed=!0,Ot=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",Mt),t.component("router-link",Vt);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}function _(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function b(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function x(t){return t.replace(/\/\//g,"/")}function w(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Jt.exec(t));){var u=n[0],l=n[1],c=n.index;if(a+=t.slice(o,c),o=c+u.length,l)a+=l[1];else{var f=t[o],d=n[2],h=n[3],p=n[4],g=n[5],v=n[6],m=n[7];a&&(r.push(a),a="");var y=null!=d&&null!=f&&f!==d,_="+"===v||"*"===v,b="?"===v||"*"===v,x=n[2]||s,w=p||g;r.push({name:h||i++,prefix:d||"",delimiter:x,optional:b,repeat:_,partial:y,asterisk:!!m,pattern:w?D(w):m?".*":"[^"+A(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function C(t,e){return T(w(t,e))}function k(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function S(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function T(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},a=r||{},s=a.pretty?k:encodeURIComponent,u=0;u<t.length;u++){var l=t[u];if("string"!=typeof l){var c,f=o[l.name];if(null==f){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(zt(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<f.length;d++){if(c=s(f[d]),!e[u].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?S(f):s(f),!e[u].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');i+=l.prefix+c}}else i+=l}return i}}function A(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function D(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function E(t,e){return t.keys=e,t}function O(t){return t.sensitive?"":"i"}function M(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return E(t,e)}function I(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(N(t[i],e,n).source);return E(new RegExp("(?:"+r.join("|")+")",O(n)),e)}function P(t,e,n){return L(w(t,n),e,n)}function L(t,e,n){zt(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=A(s);else{var u=A(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+u+l+")*"),l=s.optional?s.partial?u+"("+l+")?":"(?:"+u+"("+l+"))?":u+"("+l+")",o+=l}}var c=A(n.delimiter||"/"),f=o.slice(-c.length)===c;return r||(o=(f?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+c+"|$)",E(new RegExp("^"+o,O(n)),e)}function N(t,e,n){return zt(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?M(t,e):zt(t)?I(t,e,n):P(t,e,n)}function R(t,e,n){try{return(Kt[t]||(Kt[t]=Ut.compile(t)))(e||{},{pretty:!0})}catch(t){return""}}function j(t,e,n,r){var i=e||[],o=n||Object.create(null),a=r||Object.create(null);t.forEach(function(t){F(i,o,a,t)});for(var s=0,u=i.length;s<u;s++)"*"===i[s]&&(i.push(i.splice(s,1)[0]),u--,s--);return{pathList:i,pathMap:o,nameMap:a}}function F(t,e,n,r,i,o){var a=r.path,s=r.name,u=H(a,i),l=r.pathToRegexpOptions||{};"boolean"==typeof r.caseSensitive&&(l.sensitive=r.caseSensitive);var c={path:u,regex:W(u,l),components:r.components||{default:r.component},instances:{},name:s,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach(function(r){var i=o?x(o+"/"+r.path):void 0;F(t,e,n,r,c,i)}),void 0!==r.alias){(Array.isArray(r.alias)?r.alias:[r.alias]).forEach(function(o){var a={path:o,children:r.children};F(t,e,n,a,i,c.path||"/")})}e[c.path]||(t.push(c.path),e[c.path]=c),s&&(n[s]||(n[s]=c))}function W(t,e){var n=Ut(t,[],e);return n}function H(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:x(e.path+"/"+t)}function V(t,e,n,r){var i="string"==typeof t?{path:t}:t;if(i.name||i._normalized)return i;if(!i.path&&i.params&&e){i=B({},i),i._normalized=!0;var o=B(B({},e.params),i.params);if(e.name)i.name=e.name,i.params=o;else if(e.matched.length){var s=e.matched[e.matched.length-1].path;i.path=R(s,o,"path "+e.path)}return i}var u=b(i.path||""),l=e&&e.path||"/",c=u.path?_(u.path,l,n||i.append):l,f=a(u.query,i.query,r&&r.options.parseQuery),d=i.hash||u.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:c,query:f,hash:d}}function B(t,e){for(var n in e)t[n]=e[n];return t}function z(t,e){function n(t){j(t,u,c,f)}function r(t,n,r){var i=V(t,n,!1,e),o=i.name;if(o){var s=f[o];if(!s)return a(null,i);var l=s.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof i.params&&(i.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in i.params)&&l.indexOf(d)>-1&&(i.params[d]=n.params[d]);if(s)return i.path=R(s.path,i.params,'named route "'+o+'"'),a(s,i,r)}else if(i.path){i.params={};for(var h=0;h<u.length;h++){var p=u[h],g=c[p];if(U(g.regex,i.path,i.params))return a(g,i,r)}}return a(null,i)}function i(t,n){var i=t.redirect,o="function"==typeof i?i(l(t,n,null,e)):i;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return a(null,n);var s=o,u=s.name,c=s.path,d=n.query,h=n.hash,p=n.params;if(d=s.hasOwnProperty("query")?s.query:d,h=s.hasOwnProperty("hash")?s.hash:h,p=s.hasOwnProperty("params")?s.params:p,u){f[u];return r({_normalized:!0,name:u,query:d,hash:h,params:p},void 0,n)}if(c){var g=Y(c,t);return r({_normalized:!0,path:R(g,p,'redirect route with path "'+g+'"'),query:d,hash:h},void 0,n)}return a(null,n)}function o(t,e,n){var i=R(n,e.params,'aliased route with path "'+n+'"'),o=r({_normalized:!0,path:i});if(o){var s=o.matched,u=s[s.length-1];return e.params=o.params,a(u,e)}return a(null,e)}function a(t,n,r){return t&&t.redirect?i(t,r||n):t&&t.matchAs?o(t,n,t.matchAs):l(t,n,r,e)}var s=j(t),u=s.pathList,c=s.pathMap,f=s.nameMap;return{match:r,addRoutes:n}}function U(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=t.keys[i-1],s="string"==typeof r[i]?decodeURIComponent(r[i]):r[i];a&&(n[a.name]=s)}return!0}function Y(t,e){return _(t,e.parent?e.parent.path:"/",!0)}function q(){window.addEventListener("popstate",function(t){J(),t.state&&t.state.key&&it(t.state.key)})}function G(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var t=K(),o=i(e,n,r?t:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);if(s){var u=o.offset&&"object"==typeof o.offset?o.offset:{};u=tt(u),t=Q(s,u)}else X(o)&&(t=Z(o))}else a&&X(o)&&(t=Z(o));t&&window.scrollTo(t.x,t.y)}})}}function J(){var t=rt();t&&(Qt[t]={x:window.pageXOffset,y:window.pageYOffset})}function K(){var t=rt();if(t)return Qt[t]}function Q(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-r.left-e.x,y:i.top-r.top-e.y}}function X(t){return et(t.x)||et(t.y)}function Z(t){return{x:et(t.x)?t.x:window.pageXOffset,y:et(t.y)?t.y:window.pageYOffset}}function tt(t){return{x:et(t.x)?t.x:0,y:et(t.y)?t.y:0}}function et(t){return"number"==typeof t}function nt(){return Zt.now().toFixed(3)}function rt(){return te}function it(t){te=t}function ot(t,e){J();var n=window.history;try{e?n.replaceState({key:te},"",t):(te=nt(),n.pushState({key:te},"",t))}catch(n){window.location[e?"replace":"assign"](t)}}function at(t){ot(t,!0)}function st(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function ut(t){return function(e,n,r){var o=!1,a=0,s=null;lt(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,a++;var l,c=ft(function(e){e.__esModule&&e.default&&(e=e.default),t.resolved="function"==typeof e?e:Ot.extend(e),n.components[u]=e,--a<=0&&r()}),f=ft(function(t){var e="Failed to resolve async component "+u+": "+t;s||(s=i(t)?t:new Error(e),r(s))});try{l=t(c,f)}catch(t){f(t)}if(l)if("function"==typeof l.then)l.then(c,f);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,f)}}}),o||r()}}function lt(t,e){return ct(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function ct(t){return Array.prototype.concat.apply([],t)}function ft(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function dt(t){if(!t)if(Bt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ht(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function pt(t,e,n,r){var i=lt(t,function(t,r,i,o){var a=gt(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,i,o)}):n(a,r,i,o)});return ct(r?i.reverse():i)}function gt(t,e){return"function"!=typeof t&&(t=Ot.extend(t)),t.options[e]}function vt(t){return pt(t,"beforeRouteLeave",yt,!0)}function mt(t){return pt(t,"beforeRouteUpdate",yt)}function yt(t,e){if(e)return function(){return t.apply(e,arguments)}}function _t(t,e,n){return pt(t,"beforeRouteEnter",function(t,r,i,o){return bt(t,i,o,e,n)})}function bt(t,e,n,r,i){return function(o,a,s){return t(o,a,function(t){s(t),"function"==typeof t&&r.push(function(){xt(t,e.instances,n,i)})})}}function xt(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){xt(t,e,n,r)},16)}function wt(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function Ct(t){var e=wt(t);if(!/^\/#/.test(e))return window.location.replace(x(t+"/#"+e)),!0}function kt(){var t=St();return"/"===t.charAt(0)||(At("/"+t),!1)}function St(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.slice(e+1)}function Tt(t){window.location.hash=t}function At(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;window.location.replace(r+"#"+t)}function Dt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Et(t,e,n){var r="hash"===n?"#"+e:e;return t?x(t+"/"+r):r}Object.defineProperty(e,"__esModule",{value:!0});var Ot,Mt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,a=e.data;a.routerView=!0;for(var s=i.$createElement,u=n.name,l=i.$route,c=i._routerViewCache||(i._routerViewCache={}),f=0,d=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&f++,i._inactive&&(d=!0),i=i.$parent;if(a.routerViewDepth=f,d)return s(c[u],a,r);var h=l.matched[f];if(!h)return c[u]=null,s();var p=c[u]=h.components[u];return a.registerRouteInstance=function(t,e){var n=h.instances[u];(e&&n!==t||!e&&n===t)&&(h.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){h.instances[u]=e.componentInstance},a.props=o(l,h.props&&h.props[u]),s(p,a,r)}},It=/[!'()*]/g,Pt=function(t){return"%"+t.charCodeAt(0).toString(16)},Lt=/%2C/g,Nt=function(t){return encodeURIComponent(t).replace(It,Pt).replace(Lt,",")},Rt=decodeURIComponent,jt=/\/?$/,Ft=l(null,{path:"/"}),Wt=[String,Object],Ht=[String,Array],Vt={name:"router-link",props:{to:{type:Wt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Ht,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,s=i.href,u={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,h=null==c?"router-link-active":c,g=null==f?"router-link-exact-active":f,y=null==this.activeClass?h:this.activeClass,_=null==this.exactActiveClass?g:this.exactActiveClass,b=o.path?l(null,o,null,n):a;u[_]=d(r,b),u[y]=this.exact?u[_]:p(r,b);var x=function(t){v(t)&&(e.replace?n.replace(o):n.push(o))},w={click:v};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=x}):w[this.event]=x;var C={class:u};if("a"===this.tag)C.on=w,C.attrs={href:s};else{var k=m(this.$slots.default);if(k){k.isStatic=!1;var S=Ot.util.extend;(k.data=S({},k.data)).on=w;(k.data.attrs=S({},k.data.attrs)).href=s}else C.on=w}return t(this.tag,C,this.$slots.default)}},Bt="undefined"!=typeof window,zt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ut=N,$t=w,Yt=C,qt=T,Gt=L,Jt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Ut.parse=$t,Ut.compile=Yt,Ut.tokensToFunction=qt,Ut.tokensToRegExp=Gt;var Kt=Object.create(null),Qt=Object.create(null),Xt=Bt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),Zt=Bt&&window.performance&&window.performance.now?window.performance:Date,te=nt(),ee=function(t,e){this.router=t,this.base=dt(e),this.current=Ft,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};ee.prototype.listen=function(t){this.cb=t},ee.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ee.prototype.onError=function(t){this.errorCbs.push(t)},ee.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},ee.prototype.confirmTransition=function(t,e,n){var o=this,a=this.current,s=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(d(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var u=ht(this.current.matched,t.matched),l=u.updated,c=u.deactivated,f=u.activated,h=[].concat(vt(c),this.router.beforeHooks,mt(l),f.map(function(t){return t.beforeEnter}),ut(f));this.pending=t;var p=function(e,n){if(o.pending!==t)return s();try{e(t,a,function(t){!1===t||i(t)?(o.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(),"object"==typeof t&&t.replace?o.replace(t):o.push(t)):n(t)})}catch(t){s(t)}};st(h,p,function(){var n=[];st(_t(f,n,function(){return o.current===t}).concat(o.router.resolveHooks),p,function(){if(o.pending!==t)return s();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},ee.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var ne=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;i&&q(),window.addEventListener("popstate",function(t){var n=r.current;r.transitionTo(wt(r.base),function(t){i&&G(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){ot(x(r.base+t.fullPath)),G(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){at(x(r.base+t.fullPath)),G(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(wt(this.base)!==this.current.fullPath){var e=x(this.base+this.current.fullPath);t?ot(e):at(e)}},e.prototype.getCurrentLocation=function(){return wt(this.base)},e}(ee),re=function(t){function e(e,n,r){t.call(this,e,n),r&&Ct(this.base)||kt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){kt()&&t.transitionTo(St(),function(t){At(t.fullPath)})})},e.prototype.push=function(t,e,n){this.transitionTo(t,function(t){Tt(t.fullPath),e&&e(t)},n)},e.prototype.replace=function(t,e,n){this.transitionTo(t,function(t){At(t.fullPath),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;St()!==e&&(t?Tt(e):At(e))},e.prototype.getCurrentLocation=function(){return St()},e}(ee),ie=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),oe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Xt&&!1!==t.fallback,this.fallback&&(e="hash"),Bt||(e="abstract"),this.mode=e,e){case"history":this.history=new ne(this,t.base);break;case"hash":this.history=new re(this,t.base,this.fallback);break;case"abstract":this.history=new ie(this,t.base)}},ae={currentRoute:{}};oe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ae.currentRoute.get=function(){return this.history&&this.history.current},oe.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof ne)n.transitionTo(n.getCurrentLocation());else if(n instanceof re){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},oe.prototype.beforeEach=function(t){return Dt(this.beforeHooks,t)},oe.prototype.beforeResolve=function(t){return Dt(this.resolveHooks,t)},oe.prototype.afterEach=function(t){return Dt(this.afterHooks,t)},oe.prototype.onReady=function(t,e){this.history.onReady(t,e)},oe.prototype.onError=function(t){this.history.onError(t)},oe.prototype.push=function(t,e,n){this.history.push(t,e,n)},oe.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},oe.prototype.go=function(t){this.history.go(t)},oe.prototype.back=function(){this.go(-1)},oe.prototype.forward=function(){this.go(1)},oe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},oe.prototype.resolve=function(t,e,n){var r=V(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:Et(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},oe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ft&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(oe.prototype,ae),oe.install=y,oe.version="2.7.0",Bt&&window.Vue&&window.Vue.use(oe);var se=oe;n("/5sW").a.use(se);var ue=new se({mode:"history",base:"/horizon/",routes:[{path:"/",redirect:"/dashboard"},{path:"/dashboard",component:n("T8Ha")},{path:"/monitoring",component:n("cxyC")},{path:"/monitoring/:tag",component:n("ZFEB"),children:[{path:"/",name:"monitoring.detail.index",component:n("WtMb"),props:{type:"index"}},{path:"failed",name:"monitoring.detail.failed",component:n("WtMb"),props:{type:"failed"}}]},{path:"/metrics",component:n("cKoz"),children:[{path:"/",redirect:"jobs"},{path:"jobs",component:n("Y9yF")},{path:"queues",component:n("O61M")}]},{path:"/metrics/:type/:slug",name:"metrics.detail",component:n("tzvt"),props:!0},{path:"/recent-jobs",name:"recent-jobs.detail",component:n("lAQT")},{path:"/failed",component:n("48EJ")},{path:"/failed/:jobId",name:"failed.detail",component:n("XakL"),props:!0}]}),le=n("/5sW"),ce=n("M4fF"),fe=n.n(ce),de=n("mtWM"),he=n.n(de),pe=n("PJh5"),ge=n.n(pe),ve=n("7uuL"),me=n.n(ve);window.$=window.jQuery=n("7t+N"),window.Popper=n("Zgw8").default,n("K3J8"),$("body").tooltip({selector:"[data-toggle=tooltip]"}),le.a.prototype.$http=he.a.create(),window.Bus=new le.a({name:"Bus"}),le.a.component("loader",n("G50Y")),le.a.config.errorHandler=function(t,e,n){console.error(t)},le.a.mixin({methods:{formatDate:function(t){return ge()(1e3*t).add((new Date).getTimezoneOffset()/60)},jobBaseName:function(t){if(!t.includes("\\"))return t;var e=t.split("\\");return e[e.length-1]},readableTimestamp:function(t){return this.formatDate(t).format("YY-MM-DD HH:mm:ss")},displayableTagsList:function(t){return t&&t.length?fe.a.reduce(t,function(t,e){return(t?t+", ":"")+fe.a.truncate(e)},""):""}}}),new le.a({el:"#root",router:ue,data:function(){return{}},render:function(t){return t(me.a)}})},"sj/N":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={components:{},data:function(){return{loadingQueues:!0,queues:[]}},mounted:function(){this.loadQueues()},methods:{loadQueues:function(){var t=this;this.loadingQueues=!0,this.$http.get("/horizon/api/metrics/queues").then(function(e){t.queues=e.data,t.loadingQueues=!1})}}}},t8qj:function(t,e,n){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},t9k3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("jZKv"),i=n.n(r);e.default={components:{Layout:i.a},created:function(){document.title="Horizon - Metrics"}}},tIFN:function(t,e,n){"use strict";function r(t){var e=new a(t),n=o(a.prototype.request,e);return i.extend(n,a.prototype,e),i.extend(n,e),n}var i=n("cGG2"),o=n("JP+z"),a=n("XmWM"),s=n("KCLY"),u=r(s);u.Axios=a,u.create=function(t){return r(i.merge(s,t))},u.Cancel=n("dVOP"),u.CancelToken=n("cWxy"),u.isCancel=n("pBtG"),u.all=function(t){return Promise.all(t)},u.spread=n("pxG4"),t.exports=u,t.exports.default=u},thJu:function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function i(t){for(var e,n,i=String(t),a="",s=0,u=o;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new r;e=e<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},tzvt:function(t,e,n){var r=n("VU/8")(n("Satz"),n("5VY+"),null,null,null);t.exports=r.exports},uPL9:function(t,e,n){var r=n("VU/8")(n("0xw7"),n("Ohio"),null,null,null);t.exports=r.exports},uTzT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("dIim"),i=n.n(r);e.default={props:["type"],components:{Status:i.a},data:function(){return{page:1,perPage:50,totalPages:1,loadState:{index:!0,failed:!0},jobs:{index:[],failed:[]}}},mounted:function(){this.loadJobs(this.$route.params.tag),this.refreshJobsPeriodically()},destroyed:function(){clearInterval(this.interval)},watch:{$route:function(){this.page=1,this.loadJobs(this.$route.params.tag)}},methods:{loadJobs:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&(this.loadState[this.type]=!0),t="failed"==this.type?"failed:"+t:t,this.$http.get("/horizon/api/monitoring/"+encodeURIComponent(t)+"?starting_at="+n+"&limit="+this.perPage).then(function(t){return e.jobs[e.type]=t.data.jobs,e.totalPages=Math.ceil(t.data.total/e.perPage),e.loadState[e.type]=!1,t.data.jobs})},refreshJobsPeriodically:function(){var t=this;this.interval=setInterval(function(){1==t.page&&t.loadJobs(t.$route.params.tag,0,!1)},3e3)},previous:function(){this.loadJobs(this.$route.params.tag,(this.page-2)*this.perPage),this.page-=1},next:function(){this.loadJobs(this.$route.params.tag,this.page*this.perPage),this.page+=1}}}},vvdA:function(t,e,n){"use strict";t.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},wGD1:function(t,e,n){"use strict";var r=n("rWJA");t.exports=function(t){function e(t,e,n,i){var o,a,s,u,l,c,f,d,h,p=Object.keys(n);for(o=0,a=p.length;o<a;++o)if(s=p[o],c=n[s],e.hasOwnProperty(s)||(e[s]=c),(u=e[s])!==c&&"_"!==s[0]){if(t.hasOwnProperty(s)||(t[s]=u),l=t[s],(f=typeof c)===typeof l)if("string"===f){if(d=r(l),d.valid&&(h=r(c),h.valid)){e[s]=h.mix(d,i).rgbString();continue}}else if("number"===f&&isFinite(l)&&isFinite(c)){e[s]=l+(c-l)*i;continue}e[s]=c}}var n=t.helpers;t.elements={},t.Element=function(t){n.extend(this,t),this.initialize.apply(this,arguments)},n.extend(t.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=n.clone(t._model)),t._start={},t},transition:function(t){var n=this,r=n._model,i=n._start,o=n._view;return r&&1!==t?(o||(o=n._view={}),i||(i=n._start={}),e(i,o,r,t),n):(n._view=r,n._start=null,n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),t.Element.extend=n.inherits}},wPWQ:function(t,e,n){"use strict";t.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},wuwL:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"table-responsive"},[n("loader",{attrs:{yes:t.loadState[t.type]}}),t._v(" "),t.loadState[t.type]||t.jobs[t.type].length?t._e():n("p",{staticClass:"text-center m-0 p-5"},[t._v("\n There aren't any recent jobs for this tag.\n ")]),t._v(" "),!t.loadState[t.type]&&t.jobs[t.type].length?n("table",{staticClass:"table card-table table-hover"},[n("thead",[n("tr",[n("th",[t._v("Job")]),t._v(" "),n("th",[t._v("On")]),t._v(" "),n("th",[t._v("Tags")]),t._v(" "),"index"==t.type?n("th",[t._v("Queued At")]):t._e(),t._v(" "),n("th",[t._v("Runtime")]),t._v(" "),"index"==t.type?n("th",[t._v("Status")]):t._e(),t._v(" "),"index"!=t.type?n("th",[t._v("Failed At")]):t._e()])]),t._v(" "),n("tbody",t._l(t.jobs[t.type],function(e){return n("tr",[n("td",["failed"==e.status?n("a",{attrs:{href:"/horizon/failed/"+e.id}},[t._v(t._s(e.name))]):n("span",[t._v(t._s(e.name))])]),t._v(" "),n("td",[t._v(t._s(e.queue))]),t._v(" "),n("td",[t._v(t._s(e.payload.tags&&e.payload.tags.length?e.payload.tags.join(", "):""))]),t._v(" "),"index"==t.type?n("td",[t._v("\n "+t._s(t.readableTimestamp(e.payload.pushedAt))+"\n ")]):t._e(),t._v(" "),n("td",["failed"==e.status?n("span",[t._v(t._s(e.failed_at?String(e.failed_at-e.reserved_at)+"s":"-"))]):n("span",[t._v(t._s(e.completed_at?String(e.completed_at-e.reserved_at)+"s":"-"))])]),t._v(" "),"index"==t.type?n("td",[n("status",{staticClass:"mr1",attrs:{active:"completed"==e.status,pending:"reserved"==e.status||"pending"==e.status}})],1):t._e(),t._v(" "),"index"!=t.type?n("td",[t._v("\n "+t._s(t.readableTimestamp(e.failed_at))+"\n ")]):t._e()])}))]):t._e(),t._v(" "),!t.loadState[t.type]&&t.jobs[t.type].length?n("div",{staticClass:"p-3 mt-3 d-flex justify-content-between"},[n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:1==t.page},on:{click:t.previous}},[t._v("Previous")]),t._v(" "),n("button",{staticClass:"btn btn-primary btn-md",attrs:{disabled:t.page>=t.totalPages},on:{click:t.next}},[t._v("Next")])]):t._e()],1)},staticRenderFns:[]}},xLtR:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n("cGG2"),o=n("TNV1"),a=n("pBtG"),s=n("KCLY");t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xZZD:function(t,e){},y4XJ:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.yes?n("div",{staticClass:"d-flex justify-content-center p-4"},[n("i",{staticClass:"icon mr-2"},[n("svg",{staticClass:"fill-primary spin"},[n("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#zondicon-refresh"}})])]),t._v(" "),n("span",[t._v("Loading...")])]):t._e()},staticRenderFns:[]}},zWWF:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("7t+N"),i=n.n(r);e.default={components:{},data:function(){return{name:"",saving:!1}},mounted:function(){var t=this;i()("#addTagModal").modal(),i()("#addTagModal").on("hidden.bs.modal",function(t){Bus.$emit("addTagModalClosed")}),this.name="",this.$nextTick(function(e){t.$refs.tag.focus()})},methods:{saveTag:function(){var t=this;if(!this.name)return void this.$refs.tag.focus();this.saving=!0,this.$http.post("/horizon/api/monitoring",{tag:this.name}).then(function(e){i()("#addTagModal").modal("hide"),Bus.$emit("tagAdded",{tag:t.name}),t.saving=!1})}}}}});
|
||
//# sourceMappingURL=app.js.map
|