%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/plugins/searchwp-metrics/assets/js/dist/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/plugins/searchwp-metrics/assets/js/dist/main.min.js

!function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}function i(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}for(var o=t(n((function(t,n){
/*!
	 * Vue.js v2.6.12
	 * (c) 2014-2020 Evan You
	 * Released under the MIT License.
	 */
t.exports=function(){var t=Object.freeze({});function n(e){return null==e}function i(e){return null!=e}function r(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function c(e){return l.call(e).slice(8,-1)}function u(e){return"[object Object]"===l.call(e)}function d(e){return"[object RegExp]"===l.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=m("slot,component",!0),y=m("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var S=/-(\w)/g,k=x((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),C=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),M=/\B([A-Z])/g,O=x((function(e){return e.replace(M,"-$1").toLowerCase()}));function A(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function T(e,t){return e.bind(t)}var D=Function.prototype.bind?T:A;function P(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function R(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n<e.length;n++)e[n]&&R(t,e[n]);return t}function I(e,t,n){}var F=function(e,t,n){return!1},L=function(e){return e};function $(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}function N(e,t){if(e===t)return!0;var n=s(e),i=s(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every((function(e,n){return N(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),l=Object.keys(t);return a.length===l.length&&a.every((function(n){return N(e[n],t[n])}))}catch(e){return!1}}function j(e,t){for(var n=0;n<e.length;n++)if(N(e[n],t))return n;return-1}function H(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var W="data-server-rendered",V=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Y={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:I,parsePlatformTagName:L,mustUseProp:F,async:!0,_lifecycleHooks:B},z=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var G=new RegExp("[^"+z.source+".$_\\d]");function Q(e){if(!G.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var J,K="__proto__"in{},Z="undefined"!=typeof window,X="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ee=X&&WXEnvironment.platform.toLowerCase(),te=Z&&window.navigator.userAgent.toLowerCase(),ne=te&&/msie|trident/.test(te),ie=te&&te.indexOf("msie 9.0")>0,re=te&&te.indexOf("edge/")>0,oe=(te&&te.indexOf("android"),te&&/iphone|ipad|ipod|ios/.test(te)||"ios"===ee),ae=(te&&/chrome\/\d+/.test(te),te&&/phantomjs/.test(te),te&&te.match(/firefox\/(\d+)/)),se={}.watch,le=!1;if(Z)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){le=!0}}),window.addEventListener("test-passive",null,ce)}catch(e){}var ue=function(){return void 0===J&&(J=!Z&&!X&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),J},de=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function he(e){return"function"==typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!=typeof Symbol&&he(Symbol)&&"undefined"!=typeof Reflect&&he(Reflect.ownKeys);fe="undefined"!=typeof Set&&he(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ve=I,me=I,ge=I,ye=I,_e="undefined"!=typeof console,be=/(?:^|[-_])(\w)/g,we=function(e){return e.replace(be,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};ve=function(e,t){var n=t?ge(t):"";Y.warnHandler?Y.warnHandler.call(null,e,t,n):_e&&!Y.silent&&console.error("[Vue warn]: "+e+n)},me=function(e,t){_e&&!Y.silent&&console.warn("[Vue tip]: "+e+(t?ge(t):""))},ye=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,i=n.name||n._componentTag,r=n.__file;if(!i&&r){var o=r.match(/([^/\\]+)\.vue$/);i=o&&o[1]}return(i?"<"+we(i)+">":"<Anonymous>")+(r&&!1!==t?" at "+r:"")};var xe=function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n};ge=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":xe(" ",5+2*t))+(Array.isArray(e)?ye(e[0])+"... ("+e[1]+" recursive calls)":ye(e))})).join("\n")}return"\n\n(found in "+ye(e)+")"};var Se=0,ke=function(){this.id=Se++,this.subs=[]};ke.prototype.addSub=function(e){this.subs.push(e)},ke.prototype.removeSub=function(e){_(this.subs,e)},ke.prototype.depend=function(){ke.target&&ke.target.addDep(this)},ke.prototype.notify=function(){var e=this.subs.slice();Y.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t<n;t++)e[t].update()},ke.target=null;var Ce=[];function Me(e){Ce.push(e),ke.target=e}function Oe(){Ce.pop(),ke.target=Ce[Ce.length-1]}var Ae=function(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.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},Te={child:{configurable:!0}};Te.child.get=function(){return this.componentInstance},Object.defineProperties(Ae.prototype,Te);var De=function(e){void 0===e&&(e="");var t=new Ae;return t.text=e,t.isComment=!0,t};function Pe(e){return new Ae(void 0,void 0,void 0,String(e))}function Re(e){var t=new Ae(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ee=Array.prototype,Ie=Object.create(Ee);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ee[e];q(Ie,e,(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o}))}));var Fe=Object.getOwnPropertyNames(Ie),Le=!0;function $e(e){Le=e}var Ne=function(e){this.value=e,this.dep=new ke,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e)?(K?je(e,Ie):He(e,Ie,Fe),this.observeArray(e)):this.walk(e)};function je(e,t){e.__proto__=t}function He(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];q(e,o,t[o])}}function We(e,t){var n;if(s(e)&&!(e instanceof Ae))return w(e,"__ob__")&&e.__ob__ instanceof Ne?n=e.__ob__:Le&&!ue()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ne(e)),t&&n&&n.vmCount++,n}function Ve(e,t,n,i,r){var o=new ke,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&We(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ke.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&ze(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(i&&i(),s&&!l||(l?l.call(e,t):n=t,c=!r&&We(t),o.notify()))}})}}function Be(e,t,i){if((n(e)||a(e))&&ve("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,i),i;if(t in e&&!(t in Object.prototype))return e[t]=i,i;var r=e.__ob__;return e._isVue||r&&r.vmCount?(ve("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),i):r?(Ve(r.value,t,i),r.dep.notify(),i):(e[t]=i,i)}function Ye(e,t){if((n(e)||a(e))&&ve("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&h(t))e.splice(t,1);else{var i=e.__ob__;e._isVue||i&&i.vmCount?ve("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):w(e,t)&&(delete e[t],i&&i.dep.notify())}}function ze(e){for(var t=void 0,n=0,i=e.length;n<i;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&ze(t)}Ne.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ve(e,t[n])},Ne.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)We(e[t])};var Ue=Y.optionMergeStrategies;function qe(e,t){if(!t)return e;for(var n,i,r,o=pe?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],w(e,n)?i!==r&&u(i)&&u(r)&&qe(i,r):Be(e,n,r));return e}function Ge(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?qe(i,r):r}:t?e?function(){return qe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Qe(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?Je(n):n}function Je(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function Ke(e,t,n,i){var r=Object.create(e||null);return t?(rt(i,t,n),R(r,t)):r}Ue.el=Ue.propsData=function(e,t,n,i){return n||ve('option "'+i+'" can only be used during instance creation with the `new` keyword.'),Ze(e,t)},Ue.data=function(e,t,n){return n?Ge(e,t,n):t&&"function"!=typeof t?(ve('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Ge(e,t)},B.forEach((function(e){Ue[e]=Qe})),V.forEach((function(e){Ue[e+"s"]=Ke})),Ue.watch=function(e,t,n,i){if(e===se&&(e=void 0),t===se&&(t=void 0),!t)return Object.create(e||null);if(rt(i,t,n),!e)return t;var r={};for(var o in R(r,e),t){var a=r[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Ue.props=Ue.methods=Ue.inject=Ue.computed=function(e,t,n,i){if(t&&rt(i,t,n),!e)return t;var r=Object.create(null);return R(r,e),t&&R(r,t),r},Ue.provide=Ge;var Ze=function(e,t){return void 0===t?e:t};function Xe(e){for(var t in e.components)et(t)}function et(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+z.source+"]*$").test(e)||ve('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(g(e)||Y.isReservedTag(e))&&ve("Do not use built-in or reserved HTML elements as component id: "+e)}function tt(e,t){var n=e.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])?o[k(r)]={type:null}:ve("props must be strings when using array syntax.");else if(u(n))for(var a in n)r=n[a],o[k(a)]=u(r)?r:{type:r};else ve('Invalid value for option "props": expected an Array or an Object, but got '+c(n)+".",t);e.props=o}}function nt(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var o in n){var a=n[o];i[o]=u(a)?R({from:o},a):{from:a}}else ve('Invalid value for option "inject": expected an Array or an Object, but got '+c(n)+".",t)}}function it(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}function rt(e,t,n){u(t)||ve('Invalid value for option "'+e+'": expected an Object, but got '+c(t)+".",n)}function ot(e,t,n){if(Xe(t),"function"==typeof t&&(t=t.options),tt(t,n),nt(t,n),it(t),!t._base&&(t.extends&&(e=ot(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=ot(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)w(e,o)||s(o);function s(i){var r=Ue[i]||Ze;a[i]=r(e[i],t[i],n,i)}return a}function at(e,t,n,i){if("string"==typeof n){var r=e[t];if(w(r,n))return r[n];var o=k(n);if(w(r,o))return r[o];var a=C(o);if(w(r,a))return r[a];var s=r[n]||r[o]||r[a];return i&&!s&&ve("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function st(e,t,n,i){var r=t[e],o=!w(n,e),a=n[e],s=pt(Boolean,r.type);if(s>-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===O(e)){var l=pt(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=lt(i,r,e);var c=Le;$e(!0),We(a),$e(c)}return ct(r,e,a,i,o),a}function lt(e,t,n){if(w(t,"default")){var i=t.default;return s(i)&&ve('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==ht(t.type)?i.call(e):i}}function ct(e,t,n,i,r){if(e.required&&r)ve('Missing required prop: "'+t+'"',i);else if(null!=n||e.required){var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var l=0;l<o.length&&!a;l++){var c=dt(n,o[l]);s.push(c.expectedType||""),a=c.valid}}if(a){var u=e.validator;u&&(u(n)||ve('Invalid prop: custom validator check failed for prop "'+t+'".',i))}else ve(vt(t,n,s),i)}}var ut=/^(String|Number|Boolean|Function|Symbol)$/;function dt(e,t){var n,i=ht(t);if(ut.test(i)){var r=typeof e;(n=r===i.toLowerCase())||"object"!==r||(n=e instanceof t)}else n="Object"===i?u(e):"Array"===i?Array.isArray(e):e instanceof t;return{valid:n,expectedType:i}}function ht(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ft(e,t){return ht(e)===ht(t)}function pt(e,t){if(!Array.isArray(t))return ft(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(ft(t[n],e))return n;return-1}function vt(e,t,n){var i='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(C).join(", "),r=n[0],o=c(t),a=mt(t,r),s=mt(t,o);return 1===n.length&&gt(r)&&!yt(r,o)&&(i+=" with value "+a),i+=", got "+o+" ",gt(o)&&(i+="with value "+s+"."),i}function mt(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function gt(e){return["string","number","boolean"].some((function(t){return e.toLowerCase()===t}))}function yt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}function _t(e,t,n){Me();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,e,t,n))return}catch(e){wt(e,i,"errorCaptured hook")}}wt(e,t,n)}finally{Oe()}}function bt(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(e){return _t(e,i,r+" (Promise/async)")})),o._handled=!0)}catch(e){_t(e,i,r)}return o}function wt(e,t,n){if(Y.errorHandler)try{return Y.errorHandler.call(null,e,t,n)}catch(t){t!==e&&xt(t,null,"config.errorHandler")}xt(e,t,n)}function xt(e,t,n){if(ve("Error in "+n+': "'+e.toString()+'"',t),!Z&&!X||"undefined"==typeof console)throw e;console.error(e)}var St,kt,Ct,Mt=!1,Ot=[],At=!1;function Tt(){At=!1;var e=Ot.slice(0);Ot.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&he(Promise)){var Dt=Promise.resolve();St=function(){Dt.then(Tt),oe&&setTimeout(I)},Mt=!0}else if(ne||"undefined"==typeof MutationObserver||!he(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())St="undefined"!=typeof setImmediate&&he(setImmediate)?function(){setImmediate(Tt)}:function(){setTimeout(Tt,0)};else{var Pt=1,Rt=new MutationObserver(Tt),Et=document.createTextNode(String(Pt));Rt.observe(Et,{characterData:!0}),St=function(){Pt=(Pt+1)%2,Et.data=String(Pt)},Mt=!0}function It(e,t){var n;if(Ot.push((function(){if(e)try{e.call(t)}catch(e){_t(e,t,"nextTick")}else n&&n(t)})),At||(At=!0,St()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var Ft,Lt=Z&&window.performance;Lt&&Lt.mark&&Lt.measure&&Lt.clearMarks&&Lt.clearMeasures&&(kt=function(e){return Lt.mark(e)},Ct=function(e,t,n){Lt.measure(e,t,n),Lt.clearMarks(t),Lt.clearMarks(n)});var $t=m("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),Nt=function(e,t){ve('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},jt=function(e,t){ve('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},Ht="undefined"!=typeof Proxy&&he(Proxy);if(Ht){var Wt=m("stop,prevent,self,ctrl,shift,alt,meta,exact");Y.keyCodes=new Proxy(Y.keyCodes,{set:function(e,t,n){return Wt(t)?(ve("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var Vt={has:function(e,t){var n=t in e,i=$t(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||i||(t in e.$data?jt(e,t):Nt(e,t)),n||!i}},Bt={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?jt(e,t):Nt(e,t)),e[t]}};Ft=function(e){if(Ht){var t=e.$options,n=t.render&&t.render._withStripped?Bt:Vt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Yt=new fe;function zt(e){Ut(e,Yt),Yt.clear()}function Ut(e,t){var n,i,r=Array.isArray(e);if(!(!r&&!s(e)||Object.isFrozen(e)||e instanceof Ae)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(r)for(n=e.length;n--;)Ut(e[n],t);else for(n=(i=Object.keys(e)).length;n--;)Ut(e[i[n]],t)}}var qt=x((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}}));function Gt(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return bt(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)bt(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function Qt(e,t,i,o,a,s){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=qt(l),n(c)?ve('Invalid handler for event "'+d.name+'": got '+String(c),s):n(u)?(n(c.fns)&&(c=e[l]=Gt(c,s)),r(d.once)&&(c=e[l]=a(d.name,c,d.capture)),i(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u);for(l in t)n(e[l])&&o((d=qt(l)).name,t[l],d.capture)}function Jt(e,t,o){var a;e instanceof Ae&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){o.apply(this,arguments),_(a.fns,l)}n(s)?a=Gt([l]):i(s.fns)&&r(s.merged)?(a=s).fns.push(l):a=Gt([s,l]),a.merged=!0,e[t]=a}function Kt(e,t,r){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var c in o){var u=O(c),d=c.toLowerCase();c!==d&&s&&w(s,d)&&me('Prop "'+d+'" is passed to component '+ye(r||t)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+c+'".'),Zt(a,l,c,u,!0)||Zt(a,s,c,u,!1)}return a}}function Zt(e,t,n,r,o){if(i(t)){if(w(t,n))return e[n]=t[n],o||delete t[n],!0;if(w(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function Xt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function en(e){return a(e)?[Pe(e)]:Array.isArray(e)?nn(e):void 0}function tn(e){return i(e)&&i(e.text)&&o(e.isComment)}function nn(e,t){var o,s,l,c,u=[];for(o=0;o<e.length;o++)n(s=e[o])||"boolean"==typeof s||(c=u[l=u.length-1],Array.isArray(s)?s.length>0&&(tn((s=nn(s,(t||"")+"_"+o))[0])&&tn(c)&&(u[l]=Pe(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?tn(c)?u[l]=Pe(c.text+s):""!==s&&u.push(Pe(s)):tn(s)&&tn(c)?u[l]=Pe(c.text+s.text):(r(e._isVList)&&i(s.tag)&&n(s.key)&&i(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function rn(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function on(e){var t=an(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach((function(n){Ve(e,n,t[n],(function(){ve('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),$e(!0))}function an(e,t){if(e){for(var n=Object.create(null),i=pe?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&w(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}else ve('Injection "'+o+'" not found',t)}}return n}}function sn(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(ln)&&delete n[c];return n}function ln(e){return e.isComment&&!e.asyncFactory||" "===e.text}function cn(e,n,i){var r,o=Object.keys(n).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&i&&i!==t&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=un(n,l,e[l]))}else r={};for(var c in n)c in r||(r[c]=dn(n,c));return e&&Object.isExtensible(e)&&(e._normalized=r),q(r,"$stable",a),q(r,"$key",s),q(r,"$hasNormal",o),r}function un(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:en(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function dn(e,t){return function(){return e[t]}}function hn(e,t){var n,r,o,a,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(s(e))if(pe&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)l=a[r],n[r]=t(e[l],l,r);return i(n)||(n=[]),n._isVList=!0,n}function fn(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(s(i)||ve("slot v-bind without argument expects an Object",this),n=R(R({},i),n)),r=o(n)||t):r=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function pn(e){return at(this.$options,"filters",e,!0)||L}function vn(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function mn(e,t,n,i,r){var o=Y.keyCodes[t]||n;return r&&i&&!Y.keyCodes[t]?vn(r,i):o?vn(o,e):i?O(i)!==t:void 0}function gn(e,t,n,i,r){if(n)if(s(n)){var o;Array.isArray(n)&&(n=E(n));var a=function(a){if("class"===a||"style"===a||y(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||Y.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(a),c=O(a);l in o||c in o||(o[a]=n[a],r&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var l in n)a(l)}else ve("v-bind without argument expects an Object or Array value",this);return e}function yn(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||bn(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i}function _n(e,t,n){return bn(e,"__once__"+t+(n?"_"+n:""),!0),e}function bn(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&wn(e[i],t+"_"+i,n);else wn(e,t,n)}function wn(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function xn(e,t){if(t)if(u(t)){var n=e.on=e.on?R({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else ve("v-on without argument expects an Object value",this);return e}function Sn(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Sn(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function kn(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i?e[t[n]]=t[n+1]:""!==i&&null!==i&&ve("Invalid value for dynamic directive argument (expected string or null): "+i,this)}return e}function Cn(e,t){return"string"==typeof e?t+e:e}function Mn(e){e._o=_n,e._n=v,e._s=p,e._l=hn,e._t=fn,e._q=N,e._i=j,e._m=yn,e._f=pn,e._k=mn,e._b=gn,e._v=Pe,e._e=De,e._u=Sn,e._g=xn,e._d=kn,e._p=Cn}function On(e,n,i,o,a){var s,l=this,c=a.options;w(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=r(c._compiled),d=!u;this.data=e,this.props=n,this.children=i,this.parent=o,this.listeners=e.on||t,this.injections=an(c.inject,o),this.slots=function(){return l.$slots||cn(e.scopedSlots,l.$slots=sn(i,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return cn(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=cn(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var r=Hn(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return Hn(s,e,t,n,i,d)}}function An(e,n,r,o,a){var s=e.options,l={},c=s.props;if(i(c))for(var u in c)l[u]=st(u,c,n||t);else i(r.attrs)&&Dn(l,r.attrs),i(r.props)&&Dn(l,r.props);var d=new On(r,l,a,o,e),h=s.render.call(null,d._c,d);if(h instanceof Ae)return Tn(h,r,d.parent,s,d);if(Array.isArray(h)){for(var f=en(h)||[],p=new Array(f.length),v=0;v<f.length;v++)p[v]=Tn(f[v],r,d.parent,s,d);return p}}function Tn(e,t,n,i,r){var o=Re(e);return o.fnContext=n,o.fnOptions=i,(o.devtoolsMeta=o.devtoolsMeta||{}).renderContext=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Dn(e,t){for(var n in t)e[k(n)]=t[n]}Mn(On.prototype);var Pn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Pn.prepatch(n,n)}else(e.componentInstance=In(e,oi)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;di(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,vi(n,"mounted")),e.data.keepAlive&&(t._isMounted?Di(n):fi(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?pi(t,!0):t.$destroy())}},Rn=Object.keys(Pn);function En(e,t,o,a,l){if(!n(e)){var c=o.$options._base;if(s(e)&&(e=c.extend(e)),"function"==typeof e){var u;if(n(e.cid)&&void 0===(e=Jn(u=e,c)))return Qn(u,t,o,a,l);t=t||{},Xi(e),i(t.model)&&$n(e.options,t);var d=Kt(t,e,l);if(r(e.options.functional))return An(e,d,t,o,a);var h=t.on;if(t.on=t.nativeOn,r(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}Fn(t);var p=e.options.name||l;return new Ae("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,o,{Ctor:e,propsData:d,listeners:h,tag:l,children:a},u)}ve("Invalid Component definition: "+String(e),o)}}function In(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function Fn(e){for(var t=e.hook||(e.hook={}),n=0;n<Rn.length;n++){var i=Rn[n],r=t[i],o=Pn[i];r===o||r&&r._merged||(t[i]=r?Ln(o,r):o)}}function Ln(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function $n(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}var Nn=1,jn=2;function Hn(e,t,n,i,o,s){return(Array.isArray(n)||a(n))&&(o=i,i=n,n=void 0),r(s)&&(o=jn),Wn(e,t,n,i,o)}function Wn(e,t,n,r,o){return i(n)&&i(n.__ob__)?(ve("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),De()):(i(n)&&i(n.is)&&(t=n.is),t?(i(n)&&i(n.key)&&!a(n.key)&&ve("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),o===jn?r=en(r):o===Nn&&(r=Xt(r)),"string"==typeof t?(l=e.$vnode&&e.$vnode.ns||Y.getTagNamespace(t),Y.isReservedTag(t)?(i(n)&&i(n.nativeOn)&&ve("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),s=new Ae(Y.parsePlatformTagName(t),n,r,void 0,void 0,e)):s=n&&n.pre||!i(c=at(e.$options,"components",t))?new Ae(t,n,r,void 0,void 0,e):En(c,n,e,r,t)):s=En(t,n,e,r),Array.isArray(s)?s:i(s)?(i(l)&&Vn(s,l),i(n)&&Bn(n),s):De()):De());var s,l,c}function Vn(e,t,o){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,o=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];i(l.tag)&&(n(l.ns)||r(o)&&"svg"!==l.tag)&&Vn(l,t,o)}}function Bn(e){s(e.style)&&zt(e.style),s(e.class)&&zt(e.class)}function Yn(e){e._vnode=null,e._staticTrees=null;var n=e.$options,i=e.$vnode=n._parentVnode,r=i&&i.context;e.$slots=sn(n._renderChildren,r),e.$scopedSlots=t,e._c=function(t,n,i,r){return Hn(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Hn(e,t,n,i,r,!0)};var o=i&&i.data;Ve(e,"$attrs",o&&o.attrs||t,(function(){!ai&&ve("$attrs is readonly.",e)}),!0),Ve(e,"$listeners",n._parentListeners||t,(function(){!ai&&ve("$listeners is readonly.",e)}),!0)}var zn,Un=null;function qn(e){Mn(e.prototype),e.prototype.$nextTick=function(e){return It(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=cn(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{Un=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){if(_t(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){_t(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{Un=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof Ae||(Array.isArray(e)&&ve("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=De()),e.parent=r,e}}function Gn(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Qn(e,t,n,i,r){var o=De();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function Jn(e,t){if(r(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var o=Un;if(o&&i(e.owners)&&-1===e.owners.indexOf(o)&&e.owners.push(o),r(e.loading)&&i(e.loadingComp))return e.loadingComp;if(o&&!i(e.owners)){var a=e.owners=[o],l=!0,c=null,u=null;o.$on("hook:destroyed",(function(){return _(a,o)}));var d=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},h=H((function(n){e.resolved=Gn(n,t),l?a.length=0:d(!0)})),p=H((function(t){ve("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),i(e.errorComp)&&(e.error=!0,d(!0))})),v=e(h,p);return s(v)&&(f(v)?n(e.resolved)&&v.then(h,p):f(v.component)&&(v.component.then(h,p),i(v.error)&&(e.errorComp=Gn(v.error,t)),i(v.loading)&&(e.loadingComp=Gn(v.loading,t),0===v.delay?e.loading=!0:c=setTimeout((function(){c=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,d(!1))}),v.delay||200)),i(v.timeout)&&(u=setTimeout((function(){u=null,n(e.resolved)&&p("timeout ("+v.timeout+"ms)")}),v.timeout)))),l=!1,e.loading?e.loadingComp:e.resolved}}function Kn(e){return e.isComment&&e.asyncFactory}function Zn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||Kn(n)))return n}}function Xn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ii(e,t)}function ei(e,t){zn.$on(e,t)}function ti(e,t){zn.$off(e,t)}function ni(e,t){var n=zn;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function ii(e,t,n){zn=e,Qt(t,n||{},ei,ti,ni,e),zn=void 0}function ri(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&me('Event "'+n+'" is emitted in component '+ye(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+O(e)+'" instead of "'+e+'".');var i=t._events[e];if(i){i=i.length>1?P(i):i;for(var r=P(arguments,1),o='event handler for "'+e+'"',a=0,s=i.length;a<s;a++)bt(i[a],t,r,t,o)}return t}}var oi=null,ai=!1;function si(e){var t=oi;return oi=e,function(){oi=t}}function li(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function ci(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=si(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){vi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),vi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function ui(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=De,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?ve("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):ve("Failed to mount component: template or render function not defined.",e)),vi(e,"beforeMount"),i=Y.performance&&kt?function(){var t=e._name,i=e._uid,r="vue-perf-start:"+i,o="vue-perf-end:"+i;kt(r);var a=e._render();kt(o),Ct("vue "+t+" render",r,o),kt(r),e._update(a,n),kt(o),Ct("vue "+t+" patch",r,o)}:function(){e._update(e._render(),n)},new Ii(e,i,I,{before:function(){e._isMounted&&!e._isDestroyed&&vi(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,vi(e,"mounted")),e}function di(e,n,i,r,o){ai=!0;var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==t&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||t,e.$listeners=i||t,n&&e.$options.props){$e(!1);for(var u=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;u[f]=st(f,p,n,e)}$e(!0),e.$options.propsData=n}i=i||t;var v=e.$options._parentListeners;e.$options._parentListeners=i,ii(e,i,v),c&&(e.$slots=sn(o,r.context),e.$forceUpdate()),ai=!1}function hi(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fi(e,t){if(t){if(e._directInactive=!1,hi(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)fi(e.$children[n]);vi(e,"activated")}}function pi(e,t){if(!(t&&(e._directInactive=!0,hi(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)pi(e.$children[n]);vi(e,"deactivated")}}function vi(e,t){Me();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)bt(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),Oe()}var mi=100,gi=[],yi=[],_i={},bi={},wi=!1,xi=!1,Si=0;function ki(){Si=gi.length=yi.length=0,_i={},bi={},wi=xi=!1}var Ci=0,Mi=Date.now;if(Z&&!ne){var Oi=window.performance;Oi&&"function"==typeof Oi.now&&Mi()>document.createEvent("Event").timeStamp&&(Mi=function(){return Oi.now()})}function Ai(){var e,t;for(Ci=Mi(),xi=!0,gi.sort((function(e,t){return e.id-t.id})),Si=0;Si<gi.length;Si++)if((e=gi[Si]).before&&e.before(),t=e.id,_i[t]=null,e.run(),null!=_i[t]&&(bi[t]=(bi[t]||0)+1,bi[t]>mi)){ve("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=yi.slice(),i=gi.slice();ki(),Pi(n),Ti(i),de&&Y.devtools&&de.emit("flush")}function Ti(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&vi(i,"updated")}}function Di(e){e._inactive=!1,yi.push(e)}function Pi(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,fi(e[t],!0)}function Ri(e){var t=e.id;if(null==_i[t]){if(_i[t]=!0,xi){for(var n=gi.length-1;n>Si&&gi[n].id>e.id;)n--;gi.splice(n+1,0,e)}else gi.push(e);if(!wi){if(wi=!0,!Y.async)return void Ai();It(Ai)}}}var Ei=0,Ii=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ei,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fe,this.newDepIds=new fe,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=Q(t),this.getter||(this.getter=I,ve('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};Ii.prototype.get=function(){var e;Me(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;_t(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&zt(e),Oe(),this.cleanupDeps()}return e},Ii.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Ii.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ii.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ri(this)},Ii.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){_t(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Ii.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ii.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Ii.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Fi={enumerable:!0,configurable:!0,get:I,set:I};function Li(e,t,n){Fi.get=function(){return this[t][n]},Fi.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Fi)}function $i(e){e._watchers=[];var t=e.$options;t.props&&Ni(e,t.props),t.methods&&Ui(e,t.methods),t.data?ji(e):We(e._data={},!0),t.computed&&Vi(e,t.computed),t.watch&&t.watch!==se&&qi(e,t.watch)}function Ni(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],o=!e.$parent;o||$e(!1);var a=function(a){r.push(a);var s=st(a,t,n,e),l=O(a);(y(l)||Y.isReservedAttr(l))&&ve('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),Ve(i,a,s,(function(){o||ai||ve("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)})),a in e||Li(e,"_props",a)};for(var s in t)a(s);$e(!0)}function ji(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Hi(t,e):t||{})||(t={},ve("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),i=e.$options.props,r=e.$options.methods,o=n.length;o--;){var a=n[o];r&&w(r,a)&&ve('Method "'+a+'" has already been defined as a data property.',e),i&&w(i,a)?ve('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):U(a)||Li(e,"_data",a)}We(t,!0)}function Hi(e,t){Me();try{return e.call(t,t)}catch(e){return _t(e,t,"data()"),{}}finally{Oe()}}var Wi={lazy:!0};function Vi(e,t){var n=e._computedWatchers=Object.create(null),i=ue();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;null==a&&ve('Getter is missing for computed property "'+r+'".',e),i||(n[r]=new Ii(e,a||I,I,Wi)),r in e?r in e.$data?ve('The computed property "'+r+'" is already defined in data.',e):e.$options.props&&r in e.$options.props&&ve('The computed property "'+r+'" is already defined as a prop.',e):Bi(e,r,o)}}function Bi(e,t,n){var i=!ue();"function"==typeof n?(Fi.get=i?Yi(t):zi(n),Fi.set=I):(Fi.get=n.get?i&&!1!==n.cache?Yi(t):zi(n.get):I,Fi.set=n.set||I),Fi.set===I&&(Fi.set=function(){ve('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Fi)}function Yi(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ke.target&&t.depend(),t.value}}function zi(e){return function(){return e.call(this,this)}}function Ui(e,t){var n=e.$options.props;for(var i in t)"function"!=typeof t[i]&&ve('Method "'+i+'" has type "'+typeof t[i]+'" in the component definition. Did you reference the function correctly?',e),n&&w(n,i)&&ve('Method "'+i+'" has already been defined as a prop.',e),i in e&&U(i)&&ve('Method "'+i+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[i]="function"!=typeof t[i]?I:D(t[i],e)}function qi(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)Gi(e,n,i[r]);else Gi(e,n,i)}}function Gi(e,t,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}function Qi(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){ve("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){ve("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Be,e.prototype.$delete=Ye,e.prototype.$watch=function(e,t,n){var i=this;if(u(t))return Gi(i,e,t,n);(n=n||{}).user=!0;var r=new Ii(i,e,t,n);if(n.immediate)try{t.call(i,r.value)}catch(e){_t(e,i,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var Ji=0;function Ki(e){e.prototype._init=function(e){var t,n,i=this;i._uid=Ji++,Y.performance&&kt&&(t="vue-perf-start:"+i._uid,n="vue-perf-end:"+i._uid,kt(t)),i._isVue=!0,e&&e._isComponent?Zi(i,e):i.$options=ot(Xi(i.constructor),e||{},i),Ft(i),i._self=i,li(i),Xn(i),Yn(i),vi(i,"beforeCreate"),on(i),$i(i),rn(i),vi(i,"created"),Y.performance&&kt&&(i._name=ye(i,!1),kt(n),Ct("vue "+i._name+" init",t,n)),i.$options.el&&i.$mount(i.$options.el)}}function Zi(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Xi(e){var t=e.options;if(e.super){var n=Xi(e.super);if(n!==e.superOptions){e.superOptions=n;var i=er(e);i&&R(e.extendOptions,i),(t=e.options=ot(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function er(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}function tr(e){this instanceof tr||ve("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function nr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=P(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function ir(e){e.mixin=function(e){return this.options=ot(this.options,e),this}}function rr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=e.name||n.options.name;o&&et(o);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=ot(n.options,e),a.super=n,a.options.props&&or(a),a.options.computed&&ar(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,V.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=R({},a.options),r[i]=a,a}}function or(e){var t=e.options.props;for(var n in t)Li(e.prototype,"_props",n)}function ar(e){var t=e.options.computed;for(var n in t)Bi(e.prototype,n,t[n])}function sr(e){V.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&et(e),"component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function lr(e){return e&&(e.Ctor.options.name||e.tag)}function cr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function ur(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=lr(a.componentOptions);s&&!t(s)&&dr(n,o,i,r)}}}function dr(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,_(n,t)}Ki(tr),Qi(tr),ri(tr),ci(tr),qn(tr);var hr=[String,RegExp,Array],fr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:hr,exclude:hr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){ur(e,(function(e){return cr(t,e)}))})),this.$watch("exclude",(function(t){ur(e,(function(e){return!cr(t,e)}))}))},render:function(){var e=this.$slots.default,t=Zn(e),n=t&&t.componentOptions;if(n){var i=lr(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!cr(o,i))||a&&i&&cr(a,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,_(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&dr(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};function pr(e){var t={get:function(){return Y},set:function(){ve("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:ve,extend:R,mergeOptions:ot,defineReactive:Ve},e.set=Be,e.delete=Ye,e.nextTick=It,e.observable=function(e){return We(e),e},e.options=Object.create(null),V.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,R(e.options.components,fr),nr(e),ir(e),rr(e),sr(e)}pr(tr),Object.defineProperty(tr.prototype,"$isServer",{get:ue}),Object.defineProperty(tr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(tr,"FunctionalRenderContext",{value:On}),tr.version="2.6.12";var vr=m("style,class"),mr=m("input,textarea,option,select,progress"),gr=function(e,t,n){return"value"===n&&mr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},yr=m("contenteditable,draggable,spellcheck"),_r=m("events,caret,typing,plaintext-only"),br=function(e,t){return Cr(t)||"false"===t?"false":"contenteditable"===e&&_r(t)?t:"true"},wr=m("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"),xr="http://www.w3.org/1999/xlink",Sr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},kr=function(e){return Sr(e)?e.slice(6,e.length):""},Cr=function(e){return null==e||!1===e};function Mr(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Or(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Or(t,n.data));return Ar(t.staticClass,t.class)}function Or(e,t){return{staticClass:Tr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Ar(e,t){return i(e)||i(t)?Tr(e,Dr(t)):""}function Tr(e,t){return e?t?e+" "+t:e:t||""}function Dr(e){return Array.isArray(e)?Pr(e):s(e)?Rr(e):"string"==typeof e?e:""}function Pr(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=Dr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Rr(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Er={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ir=m("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"),Fr=m("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),Lr=function(e){return"pre"===e},$r=function(e){return Ir(e)||Fr(e)};function Nr(e){return Fr(e)?"svg":"math"===e?"math":void 0}var jr=Object.create(null);function Hr(e){if(!Z)return!0;if($r(e))return!1;if(e=e.toLowerCase(),null!=jr[e])return jr[e];var t=document.createElement(e);return e.indexOf("-")>-1?jr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:jr[e]=/HTMLUnknownElement/.test(t.toString())}var Wr=m("text,number,password,search,email,tel,url");function Vr(e){if("string"==typeof e){var t=document.querySelector(e);return t||(ve("Cannot find element: "+e),document.createElement("div"))}return e}function Br(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Yr(e,t){return document.createElementNS(Er[e],t)}function zr(e){return document.createTextNode(e)}function Ur(e){return document.createComment(e)}function qr(e,t,n){e.insertBefore(t,n)}function Gr(e,t){e.removeChild(t)}function Qr(e,t){e.appendChild(t)}function Jr(e){return e.parentNode}function Kr(e){return e.nextSibling}function Zr(e){return e.tagName}function Xr(e,t){e.textContent=t}function eo(e,t){e.setAttribute(t,"")}var to=Object.freeze({createElement:Br,createElementNS:Yr,createTextNode:zr,createComment:Ur,insertBefore:qr,removeChild:Gr,appendChild:Qr,parentNode:Jr,nextSibling:Kr,tagName:Zr,setTextContent:Xr,setStyleScope:eo}),no={create:function(e,t){io(t)},update:function(e,t){e.data.ref!==t.data.ref&&(io(e,!0),io(t))},destroy:function(e){io(e,!0)}};function io(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ro=new Ae("",{},[]),oo=["create","activate","update","remove","destroy"];function ao(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&so(e,t)||r(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function so(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||Wr(r)&&Wr(o)}function lo(e,t,n){var r,o,a={};for(r=t;r<=n;++r)i(o=e[r].key)&&(a[o]=r);return a}function co(e){var t,o,s={},l=e.modules,c=e.nodeOps;for(t=0;t<oo.length;++t)for(s[oo[t]]=[],o=0;o<l.length;++o)i(l[o][oo[t]])&&s[oo[t]].push(l[o][oo[t]]);function u(e){return new Ae(c.tagName(e).toLowerCase(),{},[],void 0,e)}function h(e,t){function n(){0==--n.listeners&&f(e)}return n.listeners=t,n}function f(e){var t=c.parentNode(e);i(t)&&c.removeChild(t,e)}function p(e,t){return!t&&!e.ns&&!(Y.ignoredElements.length&&Y.ignoredElements.some((function(t){return d(t)?t.test(e.tag):t===e.tag})))&&Y.isUnknownElement(e.tag)}var v=0;function g(e,t,n,o,a,s,l){if(i(e.elm)&&i(s)&&(e=s[l]=Re(e)),e.isRootInsert=!a,!y(e,t,n,o)){var u=e.data,d=e.children,h=e.tag;i(h)?(u&&u.pre&&v++,p(e,v)&&ve("Unknown custom element: <"+h+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,h):c.createElement(h,e),C(e),x(e,d,t),i(u)&&k(e,t),w(n,e.elm,o),u&&u.pre&&v--):r(e.isComment)?(e.elm=c.createComment(e.text),w(n,e.elm,o)):(e.elm=c.createTextNode(e.text),w(n,e.elm,o))}}function y(e,t,n,o){var a=e.data;if(i(a)){var s=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return _(e,t),w(n,e.elm,o),r(s)&&b(e,t,n,o),!0}}function _(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,S(e)?(k(e,t),C(e)):(io(e),t.push(e))}function b(e,t,n,r){for(var o,a=e;a.componentInstance;)if(i(o=(a=a.componentInstance._vnode).data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](ro,a);t.push(a);break}w(n,e.elm,r)}function w(e,t,n){i(e)&&(i(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function x(e,t,n){if(Array.isArray(t)){P(t);for(var i=0;i<t.length;++i)g(t[i],n,e.elm,null,!0,t,i)}else a(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function S(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return i(e.tag)}function k(e,n){for(var r=0;r<s.create.length;++r)s.create[r](ro,e);i(t=e.data.hook)&&(i(t.create)&&t.create(ro,e),i(t.insert)&&n.push(e))}function C(e){var t;if(i(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)i(t=n.context)&&i(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;i(t=oi)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function M(e,t,n,i,r,o){for(;i<=r;++i)g(n[i],o,e,t,!1,n,i)}function O(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)O(e.children[n])}function A(e,t,n){for(;t<=n;++t){var r=e[t];i(r)&&(i(r.tag)?(T(r),O(r)):f(r.elm))}}function T(e,t){if(i(t)||i(e.data)){var n,r=s.remove.length+1;for(i(t)?t.listeners+=r:t=h(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&T(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else f(e.elm)}function D(e,t,r,o,a){var s,l,u,d=0,h=0,f=t.length-1,p=t[0],v=t[f],m=r.length-1,y=r[0],_=r[m],b=!a;for(P(r);d<=f&&h<=m;)n(p)?p=t[++d]:n(v)?v=t[--f]:ao(p,y)?(E(p,y,o,r,h),p=t[++d],y=r[++h]):ao(v,_)?(E(v,_,o,r,m),v=t[--f],_=r[--m]):ao(p,_)?(E(p,_,o,r,m),b&&c.insertBefore(e,p.elm,c.nextSibling(v.elm)),p=t[++d],_=r[--m]):ao(v,y)?(E(v,y,o,r,h),b&&c.insertBefore(e,v.elm,p.elm),v=t[--f],y=r[++h]):(n(s)&&(s=lo(t,d,f)),n(l=i(y.key)?s[y.key]:R(y,t,d,f))?g(y,o,e,p.elm,!1,r,h):ao(u=t[l],y)?(E(u,y,o,r,h),t[l]=void 0,b&&c.insertBefore(e,u.elm,p.elm)):g(y,o,e,p.elm,!1,r,h),y=r[++h]);d>f?M(e,n(r[m+1])?null:r[m+1].elm,r,h,m,o):h>m&&A(t,d,f)}function P(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.key;i(o)&&(t[o]?ve("Duplicate keys detected: '"+o+"'. This may cause an update error.",r.context):t[o]=!0)}}function R(e,t,n,r){for(var o=n;o<r;o++){var a=t[o];if(i(a)&&ao(e,a))return o}}function E(e,t,o,a,l,u){if(e!==t){i(t.elm)&&i(a)&&(t=a[l]=Re(t));var d=t.elm=e.elm;if(r(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?$(e.elm,t,o):t.isAsyncPlaceholder=!0;else if(r(t.isStatic)&&r(e.isStatic)&&t.key===e.key&&(r(t.isCloned)||r(t.isOnce)))t.componentInstance=e.componentInstance;else{var h,f=t.data;i(f)&&i(h=f.hook)&&i(h=h.prepatch)&&h(e,t);var p=e.children,v=t.children;if(i(f)&&S(t)){for(h=0;h<s.update.length;++h)s.update[h](e,t);i(h=f.hook)&&i(h=h.update)&&h(e,t)}n(t.text)?i(p)&&i(v)?p!==v&&D(d,p,v,o,u):i(v)?(P(v),i(e.text)&&c.setTextContent(d,""),M(d,null,v,0,v.length-1,o)):i(p)?A(p,0,p.length-1):i(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),i(f)&&i(h=f.hook)&&i(h=h.postpatch)&&h(e,t)}}}function I(e,t,n){if(r(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}var F=!1,L=m("attrs,class,staticClass,staticStyle,key");function $(e,t,n,o){var a,s=t.tag,l=t.data,c=t.children;if(o=o||l&&l.pre,t.elm=e,r(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!N(e,t,o))return!1;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return _(t,n),!0;if(i(s)){if(i(c))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return"undefined"==typeof console||F||(F=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",a),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,d=e.firstChild,h=0;h<c.length;h++){if(!d||!$(d,c[h],n,o)){u=!1;break}d=d.nextSibling}if(!u||d)return"undefined"==typeof console||F||(F=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,c)),!1}else x(t,c,n);if(i(l)){var f=!1;for(var p in l)if(!L(p)){f=!0,k(t,n);break}!f&&l.class&&zt(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}function N(e,t,n){return i(t.tag)?0===t.tag.indexOf("vue-component")||!p(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}return function(e,t,o,a){if(!n(t)){var l=!1,d=[];if(n(e))l=!0,g(t,d);else{var h=i(e.nodeType);if(!h&&ao(e,t))E(e,t,d,null,null,a);else{if(h){if(1===e.nodeType&&e.hasAttribute(W)&&(e.removeAttribute(W),o=!0),r(o)){if($(e,t,d))return I(t,d,!0),e;ve("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}e=u(e)}var f=e.elm,p=c.parentNode(f);if(g(t,d,f._leaveCb?null:p,c.nextSibling(f)),i(t.parent))for(var v=t.parent,m=S(t);v;){for(var y=0;y<s.destroy.length;++y)s.destroy[y](v);if(v.elm=t.elm,m){for(var _=0;_<s.create.length;++_)s.create[_](ro,v);var b=v.data.hook.insert;if(b.merged)for(var w=1;w<b.fns.length;w++)b.fns[w]()}else io(v);v=v.parent}i(p)?A([e],0,0):i(e.tag)&&O(e)}}return I(t,d,l),t.elm}i(e)&&O(e)}}var uo={create:ho,update:ho,destroy:function(e){ho(e,ro)}};function ho(e,t){(e.data.directives||t.data.directives)&&fo(e,t)}function fo(e,t){var n,i,r,o=e===ro,a=t===ro,s=vo(e.data.directives,e.context),l=vo(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,go(r,"update",t,e),r.def&&r.def.componentUpdated&&u.push(r)):(go(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)go(c[n],"inserted",t,e)};o?Jt(t,"insert",d):d()}if(u.length&&Jt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)go(u[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||go(s[n],"unbind",e,e,a)}var po=Object.create(null);function vo(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=po),r[mo(i)]=i,i.def=at(t.$options,"directives",i.name,!0);return r}function mo(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function go(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){_t(i,n.context,"directive "+e.name+" "+t+" hook")}}var yo=[no,uo];function _o(e,t){var r=t.componentOptions;if(!(i(r)&&!1===r.Ctor.options.inheritAttrs||n(e.data.attrs)&&n(t.data.attrs))){var o,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(o in i(c.__ob__)&&(c=t.data.attrs=R({},c)),c)a=c[o],l[o]!==a&&bo(s,o,a);for(o in(ne||re)&&c.value!==l.value&&bo(s,"value",c.value),l)n(c[o])&&(Sr(o)?s.removeAttributeNS(xr,kr(o)):yr(o)||s.removeAttribute(o))}}function bo(e,t,n){e.tagName.indexOf("-")>-1?wo(e,t,n):wr(t)?Cr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):yr(t)?e.setAttribute(t,br(t,n)):Sr(t)?Cr(n)?e.removeAttributeNS(xr,kr(t)):e.setAttributeNS(xr,t,n):wo(e,t,n)}function wo(e,t,n){if(Cr(n))e.removeAttribute(t);else{if(ne&&!ie&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var xo={create:_o,update:_o};function So(e,t){var r=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Mr(t),l=r._transitionClasses;i(l)&&(s=Tr(s,Dr(l))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var ko,Co,Mo,Oo,Ao,To,Do,Po={create:So,update:So},Ro=/[\w).+\-_$\]]/;function Eo(e){var t,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||h){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var p=i-1,v=void 0;p>=0&&" "===(v=e.charAt(p));p--);v&&Ro.test(v)||(c=!0)}}else void 0===r?(f=i+1,r=e.slice(0,i).trim()):m();function m(){(o||(o=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==f&&m(),o)for(i=0;i<o.length;i++)r=Io(r,o[i]);return r}function Io(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),r=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==r?","+r:r)}function Fo(e,t){console.error("[Vue compiler]: "+e)}function Lo(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function $o(e,t,n,i,r){(e.props||(e.props=[])).push(qo({name:t,value:n,dynamic:r},i)),e.plain=!1}function No(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(qo({name:t,value:n,dynamic:r},i)),e.plain=!1}function jo(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(qo({name:t,value:n},i))}function Ho(e,t,n,i,r,o,a,s){(e.directives||(e.directives=[])).push(qo({name:t,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Wo(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Vo(e,n,i,r,o,a,s,l){var c;r=r||t,a&&r.prevent&&r.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),r.right?l?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete r.right):r.middle&&(l?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),r.capture&&(delete r.capture,n=Wo("!",n,l)),r.once&&(delete r.once,n=Wo("~",n,l)),r.passive&&(delete r.passive,n=Wo("&",n,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=qo({value:i.trim(),dynamic:l},s);r!==t&&(u.modifiers=r);var d=c[n];Array.isArray(d)?o?d.unshift(u):d.push(u):c[n]=d?o?[u,d]:[d,u]:u,e.plain=!1}function Bo(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function Yo(e,t,n){var i=zo(e,":"+t)||zo(e,"v-bind:"+t);if(null!=i)return Eo(i);if(!1!==n){var r=zo(e,t);if(null!=r)return JSON.stringify(r)}}function zo(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var r=e.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===t){r.splice(o,1);break}return n&&delete e.attrsMap[t],i}function Uo(e,t){for(var n=e.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(t.test(o.name))return n.splice(i,1),o}}function qo(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Go(e,t,n){var i=n||{},r=i.number,o="$$v",a=o;i.trim&&(a="(typeof "+o+" === 'string'? "+o+".trim(): "+o+")"),r&&(a="_n("+a+")");var s=Qo(t,a);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ("+o+") {"+s+"}"}}function Qo(e,t){var n=Jo(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Jo(e){if(e=e.trim(),ko=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ko-1)return(Oo=e.lastIndexOf("."))>-1?{exp:e.slice(0,Oo),key:'"'+e.slice(Oo+1)+'"'}:{exp:e,key:null};for(Co=e,Oo=Ao=To=0;!Zo();)Xo(Mo=Ko())?ta(Mo):91===Mo&&ea(Mo);return{exp:e.slice(0,Ao),key:e.slice(Ao+1,To)}}function Ko(){return Co.charCodeAt(++Oo)}function Zo(){return Oo>=ko}function Xo(e){return 34===e||39===e}function ea(e){var t=1;for(Ao=Oo;!Zo();)if(Xo(e=Ko()))ta(e);else if(91===e&&t++,93===e&&t--,0===t){To=Oo;break}}function ta(e){for(var t=e;!Zo()&&(e=Ko())!==t;);}var na,ia="__r",ra="__c";function oa(e,t,n){Do=n;var i=t.value,r=t.modifiers,o=e.tag,a=e.attrsMap.type;if("input"===o&&"file"===a&&Do("<"+e.tag+' v-model="'+i+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return Go(e,i,r),!1;if("select"===o)la(e,i,r);else if("input"===o&&"checkbox"===a)aa(e,i,r);else if("input"===o&&"radio"===a)sa(e,i,r);else if("input"===o||"textarea"===o)ca(e,i,r);else{if(!Y.isReservedTag(o))return Go(e,i,r),!1;Do("<"+e.tag+' v-model="'+i+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",e.rawAttrsMap["v-model"])}return!0}function aa(e,t,n){var i=n&&n.number,r=Yo(e,"value")||"null",o=Yo(e,"true-value")||"true",a=Yo(e,"false-value")||"false";$o(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Vo(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Qo(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Qo(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Qo(t,"$$c")+"}",null,!0)}function sa(e,t,n){var i=n&&n.number,r=Yo(e,"value")||"null";$o(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),Vo(e,"change",Qo(t,r),null,!0)}function la(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";Vo(e,"change",i=i+" "+Qo(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function ca(e,t,n){var i=e.attrsMap.type,r=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],o=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(r&&!o){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";Do(a+'="'+r+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[a])}var s=n||{},l=s.lazy,c=s.number,u=s.trim,d=!l&&"range"!==i,h=l?"change":"range"===i?ia:"input",f="$event.target.value";u&&(f="$event.target.value.trim()"),c&&(f="_n("+f+")");var p=Qo(t,f);d&&(p="if($event.target.composing)return;"+p),$o(e,"value","("+t+")"),Vo(e,h,p,null,!0),(u||c)&&Vo(e,"blur","$forceUpdate()")}function ua(e){if(i(e[ia])){var t=ne?"change":"input";e[t]=[].concat(e[ia],e[t]||[]),delete e[ia]}i(e[ra])&&(e.change=[].concat(e[ra],e.change||[]),delete e[ra])}function da(e,t,n){var i=na;return function r(){null!==t.apply(null,arguments)&&pa(e,r,n,i)}}var ha=Mt&&!(ae&&Number(ae[1])<=53);function fa(e,t,n,i){if(ha){var r=Ci,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}na.addEventListener(e,t,le?{capture:n,passive:i}:n)}function pa(e,t,n,i){(i||na).removeEventListener(e,t._wrapper||t,n)}function va(e,t){if(!n(e.data.on)||!n(t.data.on)){var i=t.data.on||{},r=e.data.on||{};na=t.elm,ua(i),Qt(i,r,fa,pa,da,t.context),na=void 0}}var ma,ga={create:va,update:va};function ya(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var r,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(r in i(l.__ob__)&&(l=t.data.domProps=R({},l)),s)r in l||(a[r]="");for(r in l){if(o=l[r],"textContent"===r||"innerHTML"===r){if(t.children&&(t.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var c=n(o)?"":String(o);_a(a,c)&&(a.value=c)}else if("innerHTML"===r&&Fr(a.tagName)&&n(a.innerHTML)){(ma=ma||document.createElement("div")).innerHTML="<svg>"+o+"</svg>";for(var u=ma.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(o!==s[r])try{a[r]=o}catch(e){}}}}function _a(e,t){return!e.composing&&("OPTION"===e.tagName||ba(e,t)||wa(e,t))}function ba(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function wa(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var xa={create:ya,update:ya},Sa=x((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function ka(e){var t=Ca(e.style);return e.staticStyle?R(e.staticStyle,t):t}function Ca(e){return Array.isArray(e)?E(e):"string"==typeof e?Sa(e):e}function Ma(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=ka(r.data))&&R(i,n);(n=ka(e.data))&&R(i,n);for(var o=e;o=o.parent;)o.data&&(n=ka(o.data))&&R(i,n);return i}var Oa,Aa=/^--/,Ta=/\s*!important$/,Da=function(e,t,n){if(Aa.test(t))e.style.setProperty(t,n);else if(Ta.test(n))e.style.setProperty(O(t),n.replace(Ta,""),"important");else{var i=Ra(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},Pa=["Webkit","Moz","ms"],Ra=x((function(e){if(Oa=Oa||document.createElement("div").style,"filter"!==(e=k(e))&&e in Oa)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Pa.length;n++){var i=Pa[n]+t;if(i in Oa)return i}}));function Ea(e,t){var r=t.data,o=e.data;if(!(n(r.staticStyle)&&n(r.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,h=Ca(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?R({},h):h;var f=Ma(t,!0);for(s in d)n(f[s])&&Da(l,s,"");for(s in f)(a=f[s])!==d[s]&&Da(l,s,null==a?"":a)}}var Ia={create:Ea,update:Ea},Fa=/\s+/;function La(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Fa).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $a(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Fa).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Na(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&R(t,ja(e.name||"v")),R(t,e),t}return"string"==typeof e?ja(e):void 0}}var ja=x((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ha=Z&&!ie,Wa="transition",Va="animation",Ba="transition",Ya="transitionend",za="animation",Ua="animationend";Ha&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ba="WebkitTransition",Ya="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(za="WebkitAnimation",Ua="webkitAnimationEnd"));var qa=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ga(e){qa((function(){qa(e)}))}function Qa(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),La(e,t))}function Ja(e,t){e._transitionClasses&&_(e._transitionClasses,t),$a(e,t)}function Ka(e,t,n){var i=Xa(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Wa?Ya:Ua,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),e.addEventListener(s,u)}var Za=/\b(transform|all)(,|$)/;function Xa(e,t){var n,i=window.getComputedStyle(e),r=(i[Ba+"Delay"]||"").split(", "),o=(i[Ba+"Duration"]||"").split(", "),a=es(r,o),s=(i[za+"Delay"]||"").split(", "),l=(i[za+"Duration"]||"").split(", "),c=es(s,l),u=0,d=0;return t===Wa?a>0&&(n=Wa,u=a,d=o.length):t===Va?c>0&&(n=Va,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Wa:Va:null)?n===Wa?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Wa&&Za.test(i[Ba+"Property"])}}function es(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ts(t)+ts(e[n])})))}function ts(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ns(e,t){var r=e.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var o=Na(e.data.transition);if(!n(o)&&!i(r._enterCb)&&1===r.nodeType){for(var a=o.css,l=o.type,c=o.enterClass,u=o.enterToClass,d=o.enterActiveClass,h=o.appearClass,f=o.appearToClass,p=o.appearActiveClass,m=o.beforeEnter,g=o.enter,y=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,w=o.appear,x=o.afterAppear,S=o.appearCancelled,k=o.duration,C=oi,M=oi.$vnode;M&&M.parent;)C=M.context,M=M.parent;var O=!C._isMounted||!e.isRootInsert;if(!O||w||""===w){var A=O&&h?h:c,T=O&&p?p:d,D=O&&f?f:u,P=O&&b||m,R=O&&"function"==typeof w?w:g,E=O&&x||y,I=O&&S||_,F=v(s(k)?k.enter:k);null!=F&&rs(F,"enter",e);var L=!1!==a&&!ie,$=as(R),N=r._enterCb=H((function(){L&&(Ja(r,D),Ja(r,T)),N.cancelled?(L&&Ja(r,A),I&&I(r)):E&&E(r),r._enterCb=null}));e.data.show||Jt(e,"insert",(function(){var t=r.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),R&&R(r,N)})),P&&P(r),L&&(Qa(r,A),Qa(r,T),Ga((function(){Ja(r,A),N.cancelled||(Qa(r,D),$||(os(F)?setTimeout(N,F):Ka(r,l,N)))}))),e.data.show&&(t&&t(),R&&R(r,N)),L||$||N()}}}function is(e,t){var r=e.elm;i(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var o=Na(e.data.transition);if(n(o)||1!==r.nodeType)return t();if(!i(r._leaveCb)){var a=o.css,l=o.type,c=o.leaveClass,u=o.leaveToClass,d=o.leaveActiveClass,h=o.beforeLeave,f=o.leave,p=o.afterLeave,m=o.leaveCancelled,g=o.delayLeave,y=o.duration,_=!1!==a&&!ie,b=as(f),w=v(s(y)?y.leave:y);i(w)&&rs(w,"leave",e);var x=r._leaveCb=H((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),_&&(Ja(r,u),Ja(r,d)),x.cancelled?(_&&Ja(r,c),m&&m(r)):(t(),p&&p(r)),r._leaveCb=null}));g?g(S):S()}function S(){x.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),h&&h(r),_&&(Qa(r,c),Qa(r,d),Ga((function(){Ja(r,c),x.cancelled||(Qa(r,u),b||(os(w)?setTimeout(x,w):Ka(r,l,x)))}))),f&&f(r,x),_||b||x())}}function rs(e,t,n){"number"!=typeof e?ve("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&ve("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function os(e){return"number"==typeof e&&!isNaN(e)}function as(e){if(n(e))return!1;var t=e.fns;return i(t)?as(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ss(e,t){!0!==t.data.show&&ns(t)}var ls=[xo,Po,ga,xa,Ia,Z?{create:ss,activate:ss,remove:function(e,t){!0!==e.data.show?is(e,t):t()}}:{}].concat(yo),cs=co({nodeOps:to,modules:ls});ie&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&gs(e,"input")}));var us={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Jt(n,"postpatch",(function(){us.componentUpdated(e,t,n)})):ds(e,t,n.context),e._vOptions=[].map.call(e.options,ps)):("textarea"===n.tag||Wr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",vs),e.addEventListener("compositionend",ms),e.addEventListener("change",ms),ie&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){ds(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,ps);r.some((function(e,t){return!N(e,i[t])}))&&(e.multiple?t.value.some((function(e){return fs(e,r)})):t.value!==t.oldValue&&fs(t.value,r))&&gs(e,"change")}}};function ds(e,t,n){hs(e,t,n),(ne||re)&&setTimeout((function(){hs(e,t,n)}),0)}function hs(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=j(i,ps(a))>-1,a.selected!==o&&(a.selected=o);else if(N(ps(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}else ve('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(i).slice(8,-1),n)}function fs(e,t){return t.every((function(t){return!N(t,e)}))}function ps(e){return"_value"in e?e._value:e.value}function vs(e){e.target.composing=!0}function ms(e){e.target.composing&&(e.target.composing=!1,gs(e.target,"input"))}function gs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ys(e){return!e.componentInstance||e.data&&e.data.transition?e:ys(e.componentInstance._vnode)}var _s={model:us,show:{bind:function(e,t,n){var i=t.value,r=(n=ys(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,ns(n,(function(){e.style.display=o}))):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=ys(n)).data&&n.data.transition?(n.data.show=!0,i?ns(n,(function(){e.style.display=e.__vOriginalDisplay})):is(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},bs={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]};function ws(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ws(Zn(t.children)):e}function xs(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[k(o)]=r[o];return t}function Ss(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ks(e){for(;e=e.parent;)if(e.data.transition)return!0}function Cs(e,t){return t.key===e.key&&t.tag===e.tag}var Ms=function(e){return e.tag||Kn(e)},Os=function(e){return"show"===e.name},As={name:"transition",props:bs,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ms)).length){n.length>1&&ve("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var i=this.mode;i&&"in-out"!==i&&"out-in"!==i&&ve("invalid <transition> mode: "+i,this.$parent);var r=n[0];if(ks(this.$vnode))return r;var o=ws(r);if(!o)return r;if(this._leaving)return Ss(e,r);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 l=(o.data||(o.data={})).transition=xs(this),c=this._vnode,u=ws(c);if(o.data.directives&&o.data.directives.some(Os)&&(o.data.show=!0),u&&u.data&&!Cs(o,u)&&!Kn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=R({},l);if("out-in"===i)return this._leaving=!0,Jt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ss(e,r);if("in-out"===i){if(Kn(o))return c;var h,f=function(){h()};Jt(l,"afterEnter",f),Jt(l,"enterCancelled",f),Jt(d,"delayLeave",(function(e){h=e}))}}return r}}},Ts=R({tag:String,moveClass:String},bs);function Ds(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ps(e){e.data.newPos=e.elm.getBoundingClientRect()}function Rs(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Ts.mode;var Es={Transition:As,TransitionGroup:{props:Ts,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=si(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=xs(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else{var c=l.componentOptions,u=c?c.Ctor.options.name||c.tag||"":l.tag;ve("<transition-group> children must be keyed: <"+u+">")}}if(i){for(var d=[],h=[],f=0;f<i.length;f++){var p=i[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?d.push(p):h.push(p)}this.kept=e(t,null,d),this.removed=h}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ds),e.forEach(Ps),e.forEach(Rs),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;Qa(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Ya,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Ya,e),n._moveCb=null,Ja(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ha)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){$a(n,e)})),La(n,t),n.style.display="none",this.$el.appendChild(n);var i=Xa(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};tr.config.mustUseProp=gr,tr.config.isReservedTag=$r,tr.config.isReservedAttr=vr,tr.config.getTagNamespace=Nr,tr.config.isUnknownElement=Hr,R(tr.options.directives,_s),R(tr.options.components,Es),tr.prototype.__patch__=Z?cs:I,tr.prototype.$mount=function(e,t){return ui(this,e=e&&Z?Vr(e):void 0,t)},Z&&setTimeout((function(){Y.devtools&&(de?de.emit("init",tr):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==Y.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")}),0);var Is=/\{\{((?:.|\r?\n)+?)\}\}/g,Fs=/[-.*+?^${}()|[\]\/\\]/g,Ls=x((function(e){var t=e[0].replace(Fs,"\\$&"),n=e[1].replace(Fs,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));function $s(e,t){var n=t?Ls(t):Is;if(n.test(e)){for(var i,r,o,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(r=i.index)>l&&(s.push(o=e.slice(l,r)),a.push(JSON.stringify(o)));var c=Eo(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l<e.length&&(s.push(o=e.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function Ns(e,t){var n=t.warn||Fo,i=zo(e,"class");i&&$s(i,t.delimiters)&&n('class="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),i&&(e.staticClass=JSON.stringify(i));var r=Yo(e,"class",!1);r&&(e.classBinding=r)}function js(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}var Hs={staticKeys:["staticClass"],transformNode:Ns,genData:js};function Ws(e,t){var n=t.warn||Fo,i=zo(e,"style");i&&($s(i,t.delimiters)&&n('style="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(Sa(i)));var r=Yo(e,"style",!1);r&&(e.styleBinding=r)}function Vs(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}var Bs,Ys={staticKeys:["staticStyle"],transformNode:Ws,genData:Vs},zs={decode:function(e){return(Bs=Bs||document.createElement("div")).innerHTML=e,Bs.textContent}},Us=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),qs=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Gs=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Qs=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Js=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ks="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",Zs="((?:"+Ks+"\\:)?"+Ks+")",Xs=new RegExp("^<"+Zs),el=/^\s*(\/?)>/,tl=new RegExp("^<\\/"+Zs+"[^>]*>"),nl=/^<!DOCTYPE [^>]+>/i,il=/^<!\--/,rl=/^<!\[/,ol=m("script,style,textarea",!0),al={},sl={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},ll=/&(?:lt|gt|quot|amp|#39);/g,cl=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ul=m("pre,textarea",!0),dl=function(e,t){return e&&ul(e)&&"\n"===t[0]};function hl(e,t){var n=t?cl:ll;return e.replace(n,(function(e){return sl[e]}))}function fl(e,t){for(var n,i,r=[],o=t.expectHTML,a=t.isUnaryTag||F,s=t.canBeLeftOpenTag||F,l=0;e;){if(n=e,i&&ol(i)){var c=0,u=i.toLowerCase(),d=al[u]||(al[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),h=e.replace(d,(function(e,n,i){return c=i.length,ol(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),dl(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-h.length,e=h,M(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(il.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),S(p+3);continue}}if(rl.test(e)){var v=e.indexOf("]>");if(v>=0){S(v+2);continue}}var m=e.match(nl);if(m){S(m[0].length);continue}var g=e.match(tl);if(g){var y=l;S(g[0].length),M(g[1],y,l);continue}var _=k();if(_){C(_),dl(_.tagName,e)&&S(1);continue}}var b=void 0,w=void 0,x=void 0;if(f>=0){for(w=e.slice(f);!(tl.test(w)||Xs.test(w)||il.test(w)||rl.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=e.slice(f);b=e.substring(0,f)}f<0&&(b=e),b&&S(b.length),t.chars&&b&&t.chars(b,l-b.length,l)}if(e===n){t.chars&&t.chars(e),!r.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:l+e.length});break}}function S(t){l+=t,e=e.substring(t)}function k(){var t=e.match(Xs);if(t){var n,i,r={tagName:t[1],attrs:[],start:l};for(S(t[0].length);!(n=e.match(el))&&(i=e.match(Js)||e.match(Qs));)i.start=l,S(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],S(n[0].length),r.end=l,r}}function C(e){var n=e.tagName,l=e.unarySlash;o&&("p"===i&&Gs(n)&&M(i),s(n)&&i===n&&M(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),h=0;h<u;h++){var f=e.attrs[h],p=f[3]||f[4]||f[5]||"",v="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[h]={name:f[1],value:hl(p,v)},t.outputSourceRange&&(d[h].start=f.start+f[0].match(/^\s*/).length,d[h].end=f.end)}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function M(e,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),e)for(s=e.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)(c>a||!e&&t.warn)&&t.warn("tag <"+r[c].tag+"> has no matching end tag.",{start:r[c].start,end:r[c].end}),t.end&&t.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}M()}var pl,vl,ml,gl,yl,_l,bl,wl,xl,Sl=/^@|^v-on:/,kl=/^v-|^@|^:|^#/,Cl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ml=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ol=/^\(|\)$/g,Al=/^\[.*\]$/,Tl=/:(.*)$/,Dl=/^:|^\.|^v-bind:/,Pl=/\.[^.\]]+(?=[^\]]*$)/g,Rl=/^v-slot(:|$)|^#/,El=/[\r\n]/,Il=/\s+/g,Fl=/[\s"'<>\/=]/,Ll=x(zs.decode),$l="_empty_";function Nl(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oc(t),rawAttrsMap:{},parent:n,children:[]}}function jl(e,t){pl=t.warn||Fo,_l=t.isPreTag||F,bl=t.mustUseProp||F,wl=t.getTagNamespace||F;var n=t.isReservedTag||F;xl=function(e){return!!e.component||!n(e.tag)},ml=Lo(t.modules,"transformNode"),gl=Lo(t.modules,"preTransformNode"),yl=Lo(t.modules,"postTransformNode"),vl=t.delimiters;var i,r,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1,u=!1;function d(e,t){u||(u=!0,pl(e,t))}function h(e){if(f(e),l||e.processed||(e=Vl(e,t)),o.length||e===i||(i.if&&(e.elseif||e.else)?(p(e),Jl(i,{exp:e.elseif,block:e})):d("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),r&&!e.forbidden)if(e.elseif||e.else)Gl(e,r);else{if(e.slotScope){var n=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=e}r.children.push(e),e.parent=r}e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(l=!1),_l(e.tag)&&(c=!1);for(var a=0;a<yl.length;a++)yl[a](e,t)}function f(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function p(e){"slot"!==e.tag&&"template"!==e.tag||d("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&d("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return fl(e,{warn:pl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var d=r&&r.ns||wl(e);ne&&"svg"===d&&(n=uc(n));var f=Nl(e,n,r);d&&(f.ns=d),t.outputSourceRange&&(f.start=s,f.end=u,f.rawAttrsMap=f.attrsList.reduce((function(e,t){return e[t.name]=t,e}),{})),n.forEach((function(e){Fl.test(e.name)&&pl("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})})),sc(f)&&!ue()&&(f.forbidden=!0,pl("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:f.start}));for(var v=0;v<gl.length;v++)f=gl[v](f,t)||f;l||(Hl(f),f.pre&&(l=!0)),_l(f.tag)&&(c=!0),l?Wl(f):f.processed||(zl(f),ql(f),Kl(f)),i||p(i=f),a?h(f):(r=f,o.push(f))},end:function(e,n,i){var a=o[o.length-1];o.length-=1,r=o[o.length-1],t.outputSourceRange&&(a.end=i),h(a)},chars:function(n,i,o){if(r){if(!ne||"textarea"!==r.tag||r.attrsMap.placeholder!==n){var u,h,f=r.children;(n=c||n.trim()?ac(r)?n:Ll(n):f.length?s?"condense"===s&&El.test(n)?"":" ":a?" ":"":"")&&(c||"condense"!==s||(n=n.replace(Il," ")),!l&&" "!==n&&(u=$s(n,vl))?h={type:2,expression:u.expression,tokens:u.tokens,text:n}:" "===n&&f.length&&" "===f[f.length-1].text||(h={type:3,text:n}),h&&(t.outputSourceRange&&(h.start=i,h.end=o),f.push(h)))}}else n===e?d("Component template requires a root element, rather than just text.",{start:i}):(n=n.trim())&&d('text "'+n+'" outside root element will be ignored.',{start:i})},comment:function(e,n,i){if(r){var o={type:3,text:e,isComment:!0};t.outputSourceRange&&(o.start=n,o.end=i),r.children.push(o)}}}),i}function Hl(e){null!=zo(e,"v-pre")&&(e.pre=!0)}function Wl(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),r=0;r<n;r++)i[r]={name:t[r].name,value:JSON.stringify(t[r].value)},null!=t[r].start&&(i[r].start=t[r].start,i[r].end=t[r].end);else e.pre||(e.plain=!0)}function Vl(e,t){Bl(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,Yl(e),Zl(e),ec(e),tc(e);for(var n=0;n<ml.length;n++)e=ml[n](e,t)||e;return nc(e),e}function Bl(e){var t=Yo(e,"key");if(t){if("template"===e.tag&&pl("<template> cannot be keyed. Place the key on real elements instead.",Bo(e,"key")),e.for){var n=e.iterator2||e.iterator1,i=e.parent;n&&n===t&&i&&"transition-group"===i.tag&&pl("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",Bo(e,"key"),!0)}e.key=t}}function Yl(e){var t=Yo(e,"ref");t&&(e.ref=t,e.refInFor=ic(e))}function zl(e){var t;if(t=zo(e,"v-for")){var n=Ul(t);n?R(e,n):pl("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function Ul(e){var t=e.match(Cl);if(t){var n={};n.for=t[2].trim();var i=t[1].trim().replace(Ol,""),r=i.match(Ml);return r?(n.alias=i.replace(Ml,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}function ql(e){var t=zo(e,"v-if");if(t)e.if=t,Jl(e,{exp:t,block:e});else{null!=zo(e,"v-else")&&(e.else=!0);var n=zo(e,"v-else-if");n&&(e.elseif=n)}}function Gl(e,t){var n=Ql(t.children);n&&n.if?Jl(n,{exp:e.elseif,block:e}):pl("v-"+(e.elseif?'else-if="'+e.elseif+'"':"else")+" used on element <"+e.tag+"> without corresponding v-if.",e.rawAttrsMap[e.elseif?"v-else-if":"v-else"])}function Ql(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&pl('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}function Jl(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Kl(e){null!=zo(e,"v-once")&&(e.once=!0)}function Zl(e){var t;"template"===e.tag?((t=zo(e,"scope"))&&pl('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||zo(e,"slot-scope")):(t=zo(e,"slot-scope"))&&(e.attrsMap["v-for"]&&pl("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var n=Yo(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||No(e,"slot",n,Bo(e,"slot"))),"template"===e.tag){var i=Uo(e,Rl);if(i){(e.slotTarget||e.slotScope)&&pl("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!xl(e.parent)&&pl("<template v-slot> can only appear at the root level inside the receiving component",e);var r=Xl(i),o=r.name,a=r.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=i.value||$l}}else{var s=Uo(e,Rl);if(s){xl(e)||pl("v-slot can only be used on components or <template>.",s),(e.slotScope||e.slotTarget)&&pl("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&pl("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",s);var l=e.scopedSlots||(e.scopedSlots={}),c=Xl(s),u=c.name,d=c.dynamic,h=l[u]=Nl("template",[],e);h.slotTarget=u,h.slotTargetDynamic=d,h.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=h,!0})),h.slotScope=s.value||$l,e.children=[],e.plain=!1}}}function Xl(e){var t=e.name.replace(Rl,"");return t||("#"!==e.name[0]?t="default":pl("v-slot shorthand syntax requires a slot name.",e)),Al.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function ec(e){"slot"===e.tag&&(e.slotName=Yo(e,"name"),e.key&&pl("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",Bo(e,"key")))}function tc(e){var t;(t=Yo(e,"is"))&&(e.component=t),null!=zo(e,"inline-template")&&(e.inlineTemplate=!0)}function nc(e){var t,n,i,r,o,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(i=r=c[t].name,o=c[t].value,kl.test(i))if(e.hasBindings=!0,(a=rc(i.replace(kl,"")))&&(i=i.replace(Pl,"")),Dl.test(i))i=i.replace(Dl,""),o=Eo(o),(l=Al.test(i))&&(i=i.slice(1,-1)),0===o.trim().length&&pl('The value for a v-bind expression cannot be empty. Found in "v-bind:'+i+'"'),a&&(a.prop&&!l&&"innerHtml"===(i=k(i))&&(i="innerHTML"),a.camel&&!l&&(i=k(i)),a.sync&&(s=Qo(o,"$event"),l?Vo(e,'"update:"+('+i+")",s,null,!1,pl,c[t],!0):(Vo(e,"update:"+k(i),s,null,!1,pl,c[t]),O(i)!==k(i)&&Vo(e,"update:"+O(i),s,null,!1,pl,c[t])))),a&&a.prop||!e.component&&bl(e.tag,e.attrsMap.type,i)?$o(e,i,o,c[t],l):No(e,i,o,c[t],l);else if(Sl.test(i))i=i.replace(Sl,""),(l=Al.test(i))&&(i=i.slice(1,-1)),Vo(e,i,o,a,!1,pl,c[t],l);else{var u=(i=i.replace(kl,"")).match(Tl),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),Al.test(d)&&(d=d.slice(1,-1),l=!0)),Ho(e,i,r,o,d,l,a,c[t]),"model"===i&&dc(e,o)}else $s(o,vl)&&pl(i+'="'+o+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',c[t]),No(e,i,JSON.stringify(o),c[t]),!e.component&&"muted"===i&&bl(e.tag,e.attrsMap.type,i)&&$o(e,i,"true",c[t])}function ic(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function rc(e){var t=e.match(Pl);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function oc(e){for(var t={},n=0,i=e.length;n<i;n++)!t[e[n].name]||ne||re||pl("duplicate attribute: "+e[n].name,e[n]),t[e[n].name]=e[n].value;return t}function ac(e){return"script"===e.tag||"style"===e.tag}function sc(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}var lc=/^xmlns:NS\d+/,cc=/^NS\d+:/;function uc(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];lc.test(i.name)||(i.name=i.name.replace(cc,""),t.push(i))}return t}function dc(e,t){for(var n=e;n;)n.for&&n.alias===t&&pl("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function hc(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Yo(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=zo(e,"v-if",!0),o=r?"&&("+r+")":"",a=null!=zo(e,"v-else",!0),s=zo(e,"v-else-if",!0),l=fc(e);zl(l),jo(l,"type","checkbox"),Vl(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+o,Jl(l,{exp:l.if,block:l});var c=fc(e);zo(c,"v-for",!0),jo(c,"type","radio"),Vl(c,t),Jl(l,{exp:"("+n+")==='radio'"+o,block:c});var u=fc(e);return zo(u,"v-for",!0),jo(u,":type",n),Vl(u,t),Jl(l,{exp:r,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}function fc(e){return Nl(e.tag,e.attrsList.slice(),e.parent)}var pc=[Hs,Ys,{preTransformNode:hc}];function vc(e,t){t.value&&$o(e,"textContent","_s("+t.value+")",t)}function mc(e,t){t.value&&$o(e,"innerHTML","_s("+t.value+")",t)}var gc,yc,_c={expectHTML:!0,modules:pc,directives:{model:oa,text:vc,html:mc},isPreTag:Lr,isUnaryTag:Us,mustUseProp:gr,canBeLeftOpenTag:qs,isReservedTag:$r,getTagNamespace:Nr,staticKeys:$(pc)},bc=x(xc);function wc(e,t){e&&(gc=bc(t.staticKeys||""),yc=t.isReservedTag||F,Sc(e),kc(e,!1))}function xc(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}function Sc(e){if(e.static=Cc(e),1===e.type){if(!yc(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var i=e.children[t];Sc(i),i.static||(e.static=!1)}if(e.ifConditions)for(var r=1,o=e.ifConditions.length;r<o;r++){var a=e.ifConditions[r].block;Sc(a),a.static||(e.static=!1)}}}function kc(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,i=e.children.length;n<i;n++)kc(e.children[n],t||!!e.for);if(e.ifConditions)for(var r=1,o=e.ifConditions.length;r<o;r++)kc(e.ifConditions[r].block,t)}}function Cc(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!yc(e.tag)||Mc(e)||!Object.keys(e).every(gc))))}function Mc(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}var Oc=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ac=/\([^)]*?\);*$/,Tc=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Dc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Pc={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Rc=function(e){return"if("+e+")return null;"},Ec={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Rc("$event.target !== $event.currentTarget"),ctrl:Rc("!$event.ctrlKey"),shift:Rc("!$event.shiftKey"),alt:Rc("!$event.altKey"),meta:Rc("!$event.metaKey"),left:Rc("'button' in $event && $event.button !== 0"),middle:Rc("'button' in $event && $event.button !== 1"),right:Rc("'button' in $event && $event.button !== 2")};function Ic(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var a=Fc(e[o]);e[o]&&e[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Fc(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Fc(e)})).join(",")+"]";var t=Tc.test(e.value),n=Oc.test(e.value),i=Tc.test(e.value.replace(Ac,""));if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(Ec[s])o+=Ec[s],Dc[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=Rc(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(r+=Lc(a)),o&&(r+=o),"function($event){"+r+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Lc(e){return"if(!$event.type.indexOf('key')&&"+e.map($c).join("&&")+")return null;"}function $c(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Dc[e],i=Pc[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}function Nc(e,t){t.modifiers&&ve("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function jc(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}var Hc={on:Nc,bind:jc,cloak:I},Wc=function(e){this.options=e,this.warn=e.warn||Fo,this.transforms=Lo(e.modules,"transformCode"),this.dataGenFns=Lo(e.modules,"genData"),this.directives=R(R({},Hc),e.directives);var t=e.isReservedTag||F;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Vc(e,t){var n=new Wc(t);return{render:"with(this){return "+(e?Bc(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Bc(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Yc(e,t);if(e.once&&!e.onceProcessed)return zc(e,t);if(e.for&&!e.forProcessed)return Gc(e,t);if(e.if&&!e.ifProcessed)return Uc(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return lu(e,t);var n;if(e.component)n=cu(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Qc(e,t));var r=e.inlineTemplate?null:nu(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return nu(e,t)||"void 0"}function Yc(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Bc(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function zc(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Uc(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+Bc(e,t)+","+t.onceId+++","+n+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),Bc(e,t))}return Yc(e,t)}function Uc(e,t,n,i){return e.ifProcessed=!0,qc(e.ifConditions.slice(),t,n,i)}function qc(e,t,n,i){if(!e.length)return i||"_e()";var r=e.shift();return r.exp?"("+r.exp+")?"+o(r.block)+":"+qc(e,t,n,i):""+o(r.block);function o(e){return n?n(e,t):e.once?zc(e,t):Bc(e,t)}}function Gc(e,t,n,i){var r=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+o+" in "+r+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||Bc)(e,t)+"})"}function Qc(e,t){var n="{",i=Jc(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:"+uu(e.attrs)+","),e.props&&(n+="domProps:"+uu(e.props)+","),e.events&&(n+=Ic(e.events,!1)+","),e.nativeEvents&&(n+=Ic(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=Zc(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=Kc(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+uu(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Jc(e,t){var n=e.directives;if(n){var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}function Kc(e,t){var n=e.children[0];if(1===e.children.length&&1===n.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start}),n&&1===n.type){var i=Vc(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}function Zc(e,t,n){var i=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||eu(n)})),r=!!e.if;if(!i)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==$l||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(t).map((function(e){return tu(t[e],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+Xc(a):"")+")"}function Xc(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function eu(e){return 1===e.type&&("slot"===e.tag||e.children.some(eu))}function tu(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Uc(e,t,tu,"null");if(e.for&&!e.forProcessed)return Gc(e,t,tu);var i=e.slotScope===$l?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(nu(e,t)||"undefined")+":undefined":nu(e,t)||"undefined":Bc(e,t))+"}",o=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+o+"}"}function nu(e,t,n,i,r){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||Bc)(a,t)+s}var l=n?iu(o,t.maybeComponent):0,c=r||ou;return"["+o.map((function(e){return c(e,t)})).join(",")+"]"+(l?","+l:"")}}function iu(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(ru(r)||r.ifConditions&&r.ifConditions.some((function(e){return ru(e.block)}))){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}function ru(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ou(e,t){return 1===e.type?Bc(e,t):3===e.type&&e.isComment?su(e):au(e)}function au(e){return"_v("+(2===e.type?e.expression:du(JSON.stringify(e.text)))+")"}function su(e){return"_e("+JSON.stringify(e.text)+")"}function lu(e,t){var n=e.slotName||'"default"',i=nu(e,t),r="_t("+n+(i?","+i:""),o=e.attrs||e.dynamicAttrs?uu((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}function cu(e,t,n){var i=t.inlineTemplate?null:nu(t,n,!0);return"_c("+e+","+Qc(t,n)+(i?","+i:"")+")"}function uu(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],o=du(r.value);r.dynamic?n+=r.name+","+o+",":t+='"'+r.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function du(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var hu=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),fu=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),pu=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function vu(e,t){e&&mu(e,t)}function mu(e,t){if(1===e.type){for(var n in e.attrsMap)if(kl.test(n)){var i=e.attrsMap[n];if(i){var r=e.rawAttrsMap[n];"v-for"===n?yu(e,'v-for="'+i+'"',t,r):"v-slot"===n||"#"===n[0]?wu(i,n+'="'+i+'"',t,r):Sl.test(n)?gu(i,n+'="'+i+'"',t,r):bu(i,n+'="'+i+'"',t,r)}}if(e.children)for(var o=0;o<e.children.length;o++)mu(e.children[o],t)}else 2===e.type&&bu(e.expression,e.text,t,e)}function gu(e,t,n,i){var r=e.replace(pu,""),o=r.match(fu);o&&"$"!==r.charAt(o.index-1)&&n('avoid using JavaScript unary operator as property name: "'+o[0]+'" in expression '+t.trim(),i),bu(e,t,n,i)}function yu(e,t,n,i){bu(e.for||"",t,n,i),_u(e.alias,"v-for alias",t,n,i),_u(e.iterator1,"v-for iterator",t,n,i),_u(e.iterator2,"v-for iterator",t,n,i)}function _u(e,t,n,i,r){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(o){i("invalid "+t+' "'+e+'" in expression: '+n.trim(),r)}}function bu(e,t,n,i){try{new Function("return "+e)}catch(o){var r=e.replace(pu,"").match(hu);n(r?'avoid using JavaScript keyword as property name: "'+r[0]+'"\n  Raw expression: '+t.trim():"invalid expression: "+o.message+" in\n\n    "+e+"\n\n  Raw expression: "+t.trim()+"\n",i)}}function wu(e,t,n,i){try{new Function(e,"")}catch(r){n("invalid function parameter expression: "+r.message+" in\n\n    "+e+"\n\n  Raw expression: "+t.trim()+"\n",i)}}var xu=2;function Su(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=e.split(/\r?\n/),r=0,o=[],a=0;a<i.length;a++)if((r+=i[a].length+1)>=t){for(var s=a-xu;s<=a+xu||n>r;s++)if(!(s<0||s>=i.length)){o.push(""+(s+1)+ku(" ",3-String(s+1).length)+"|  "+i[s]);var l=i[s].length;if(s===a){var c=t-(r-l)+1,u=n>r?l-c:n-t;o.push("   |  "+ku(" ",c)+ku("^",u))}else if(s>a){if(n>r){var d=Math.min(n-r,l);o.push("   |  "+ku("^",d))}r+=l+1}}break}return o.join("\n")}function ku(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Cu(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),I}}function Mu(e){var t=Object.create(null);return function(n,i,r){var o=(i=R({},i)).warn||ve;delete i.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&o("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=i.delimiters?String(i.delimiters)+n:n;if(t[a])return t[a];var s=e(n,i);s.errors&&s.errors.length&&(i.outputSourceRange?s.errors.forEach((function(e){o("Error compiling template:\n\n"+e.msg+"\n\n"+Su(n,e.start,e.end),r)})):o("Error compiling template:\n\n"+n+"\n\n"+s.errors.map((function(e){return"- "+e})).join("\n")+"\n",r)),s.tips&&s.tips.length&&(i.outputSourceRange?s.tips.forEach((function(e){return me(e.msg,r)})):s.tips.forEach((function(e){return me(e,r)})));var l={},c=[];return l.render=Cu(s.render,c),l.staticRenderFns=s.staticRenderFns.map((function(e){return Cu(e,c)})),s.errors&&s.errors.length||!c.length||o("Failed to generate render function:\n\n"+c.map((function(e){var t=e.err,n=e.code;return t.toString()+" in\n\n"+n+"\n"})).join("\n"),r),t[a]=l}}function Ou(e){return function(t){function n(n,i){var r=Object.create(t),o=[],a=[],s=function(e,t,n){(n?a:o).push(e)};if(i){if(i.outputSourceRange){var l=n.match(/^\s*/)[0].length;s=function(e,t,n){var i={msg:e};t&&(null!=t.start&&(i.start=t.start+l),null!=t.end&&(i.end=t.end+l)),(n?a:o).push(i)}}for(var c in i.modules&&(r.modules=(t.modules||[]).concat(i.modules)),i.directives&&(r.directives=R(Object.create(t.directives||null),i.directives)),i)"modules"!==c&&"directives"!==c&&(r[c]=i[c])}r.warn=s;var u=e(n.trim(),r);return vu(u.ast,s),u.errors=o,u.tips=a,u}return{compile:n,compileToFunctions:Mu(n)}}}var Au,Tu=Ou((function(e,t){var n=jl(e.trim(),t);!1!==t.optimize&&wc(n,t);var i=Vc(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}}))(_c).compileToFunctions;function Du(e){return(Au=Au||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Au.innerHTML.indexOf("&#10;")>0}var Pu=!!Z&&Du(!1),Ru=!!Z&&Du(!0),Eu=x((function(e){var t=Vr(e);return t&&t.innerHTML})),Iu=tr.prototype.$mount;function Fu(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}return tr.prototype.$mount=function(e,t){if((e=e&&Vr(e))===document.body||e===document.documentElement)return ve("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&((i=Eu(i))||ve("Template element not found or is empty: "+n.template,this));else{if(!i.nodeType)return ve("invalid template option:"+i,this),this;i=i.innerHTML}else e&&(i=Fu(e));if(i){Y.performance&&kt&&kt("compile");var r=Tu(i,{outputSourceRange:!0,shouldDecodeNewlines:Pu,shouldDecodeNewlinesForHref:Ru,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a,Y.performance&&kt&&(kt("compile end"),Ct("vue "+this._name+" compile","compile","compile end"))}}return Iu.call(this,e,t)},tr.compile=Tu,tr}()}))),a=t(n((function(e,t){"undefined"!=typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(1),o=(i=r)&&i.__esModule?i:{default:i},a={install:function(e,t){e.component("vue-modaltor",o.default)}};t.default=a,"undefined"!=typeof window&&window.Vue&&window.Vue.use(a)},function(e,t,n){n(2);var i=n(7)(n(8),n(9),null,null);i.options.__file="e:\\fakor\\modaltor\\src\\vue-modaltor.vue",i.esModule&&Object.keys(i.esModule).some((function(e){return"default"!==e&&"__esModule"!==e}))&&console.error("named exports are not supported in *.vue files."),i.options.functional&&console.error("[vue-loader] vue-modaltor.vue: functional components are not supported with templates, they should use render functions."),e.exports=i.exports},function(e,t,n){var i=n(3);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(5)("b6523272",i,!1)},function(e,t,n){(e.exports=n(4)()).push([e.i,"\n.modal-vue-wrapper.modal-fade {\n  opacity: 0.1;\n  visibility: hidden;\n}\n.modal-vue-wrapper.modal-scale {\n  -webkit-transform: scale(-1, 1);\n  -ms-transform: scale(-1, 1);\n  -o-transform: scale(-1, 1);\n  transform: scale(-1, 1);\n}\n.modal-vue-wrapper {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100vw;\n  height: 100vh;\n  font-size: 14px;\n  -webkit-font-smoothing: antialiased;\n  z-index: 99;\n  -webkit-transform: translate3D(0, 0, 0);\n  -ms-transform: translate3D(0, 0, 0);\n  -o-transform: translate3D(0, 0, 0);\n  transform: translate3D(0, 0, 0);\n  transition: all 0.2s cubic-bezier(0.52, 0.02, 0.19, 1.02);\n}\n.modal-vue-wrapper .modal-vue-overlay {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100vw;\n  height: 100vh;\n  z-index: 9001;\n  font-size: 14px;\n  -webkit-font-smoothing: antialiased;\n  z-index: 999;\n}\n.modal-vue-wrapper .modal-vue-panel.modal-fade {\n  transform: scale(1) translate(0, -50%);\n}\n.modal-vue-wrapper .modal-vue-panel.modal-rotate {\n  transform: rotate(45deg) translate(0, -50%);\n}\n.modal-vue-wrapper .modal-vue-panel.modal-slide-right {\n  transform: translate(100px, -50%);\n}\n.modal-vue-wrapper .modal-vue-panel.modal-slide-left {\n  transform: translate(-100px, -50%);\n}\n.modal-vue-wrapper .modal-vue-panel.modal-slide-top {\n  transform: translate(0, -100%);\n}\n.modal-vue-wrapper .modal-vue-panel.modal-slide-bottom {\n  transform: translate(0, 100%);\n}\n.modal-vue-wrapper .modal-vue-panel {\n  z-index: 99999999999;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  background: #fff;\n  box-shadow: 0px 8px 46px rgba(0, 0, 0, 0.08), 0px 2px 6px rgba(0, 0, 0, 0.03);\n  position: absolute;\n  max-height: 100vh;\n  overflow-y: auto;\n  border-radius: 2px;\n  top: 50%;\n  left: 0;\n  right: 0;\n  margin: 0 auto;\n  opacity: 0;\n  transition-property: transform, opacity, width ;\n  transition-duration: 0.3s;\n  /* // 0.3s;  */\n  transition-delay: 0.05s;\n  transition-timing-function: cubic-bezier(0.52, 0.02, 0.19, 1.02);\n}\n.modal-vue-wrapper .modal-vue-panel::-webkit-scrollbar-track {\n  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n  background-color: #F5F5F5;\n}\n.modal-vue-wrapper .modal-vue-panel::-webkit-scrollbar {\n  width: 6px;\n  height: 5px;\n  background-color: #F5F5F5;\n}\n.modal-vue-wrapper .modal-vue-panel::-webkit-scrollbar-thumb {\n  background-color: #41b9d2;\n}\n.modal-vue-wrapper .modal-vue-panel .modal-vue-actions {\n  position: absolute;\n  top: 12px;\n  right: 12px;\n}\n.modal-vue-wrapper .modal-vue-panel .modal-vue-actions .modal-vue-action-close {\n  display: inline-block;\n  cursor: pointer;\n  color: #222C38;\n  text-align: center;\n  width: 42px;\n  height: 42px;\n  line-height: 42px;\n  border-radius: 50%;\n}\n.modal-vue-wrapper .modal-vue-panel .modal-vue-content {\n  display: flex;\n  align-items: center;\n  padding-left: 15px;\n  padding-right: 15px;\n  padding-top: 24px;\n  padding-bottom: 24px;\n  line-height: 1.5;\n}\n.modal-vue-wrapper .modal-vue-panel .modal-vue-content .modal-vue-content-panel {\n  display: block;\n  text-align: justify;\n  font-size: 16px;\n  padding-top: 5px;\n  padding-bottom: 10px;\n  flex-grow: 1;\n}\n.modal-vue-wrapper .modal-vue-show {\n  transform: translate(0, -50%) !important;\n  opacity: 1 !important;\n}\n.modal-vue-wrapper-show,\n.modal-vue-wrapper-show.modal-fade,\n.modal-vue-wrapper-show.modal-scale {\n  visibility: visible;\n  opacity: 1;\n  -webkit-transform: translate3D(0, 0, 0);\n  -ms-transform: translate3D(0, 0, 0);\n  -o-transform: translate3D(0, 0, 0);\n  transform: translate3D(0, 0, 0);\n}\n.img-mode img {\n  box-shadow: 0px 8px 46px rgba(0, 0, 0, 0.08), 0px 2px 6px rgba(0, 0, 0, 0.03);\n  width: auto;\n  height: auto;\n  max-width: 100%;\n  max-height: 100%;\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  margin: auto;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  z-index: 9999;\n}\n.modal-vue-actions-parent:before,\n.modal-vue-actions-parent:after {\n  content: '';\n  display: block;\n  width: 2px;\n  height: 30px;\n  position: absolute;\n  right: 30px;\n  top: 15px;\n  cursor: pointer;\n  z-index: 99;\n  background: #000;\n  border-radius: 100%;\n}\n.modal-vue-actions-parent:before {\n  transform: rotate(-45deg);\n}\n.modal-vue-actions-parent:after {\n  transform: rotate(45deg);\n}\n.modal-vue-actions-parent .modal-vue-action-close {\n  display: inline-block;\n  cursor: pointer;\n  color: #222C38;\n  text-align: center;\n  width: 42px;\n  height: 42px;\n  line-height: 42px;\n  border-radius: 50%;\n}\n",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(o(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function o(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(p)return v;i.parentNode.removeChild(i)}if(m){var o=f++;i=h||(h=r()),t=a.bind(null,i,o,!1),n=a.bind(null,i,o,!0)}else i=r(),t=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function a(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(6),u={},d=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){p=n;var r=c(e,t);return i(r),function(t){for(var n=[],o=0;o<r.length;o++){var a=r[o];(s=u[a.id]).refs--,n.push(s)}for(t?i(r=c(e,t)):r=[],o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete u[s.id]}}}};var g,y=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")})},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],a=o[0],s={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},function(e,t){e.exports=function(e,t,n,i){var r,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),i){var l=Object.create(s.computed||null);Object.keys(i).forEach((function(e){var t=i[e];l[e]=function(){return t}})),s.computed=l}return{esModule:r,exports:o,options:s}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"modal-vue-perfect",props:{visible:{type:Boolean,required:!1,default:!1},resizeWidth:{type:Object},animationPanel:{type:String,required:!1,default:"modal-fade"},bgOverlay:{type:String,required:!1,default:"rgba(255, 255, 255, 0.57)"},bgPanel:{type:String,required:!1,default:"#fff"},animationParent:{type:String,required:!1,default:"modal-fade"},imgMode:{type:Boolean,required:!1,default:!1},defaultWidth:{type:String,required:!1,default:"80%"},closeScroll:{type:Boolean,required:!1,default:!0}},data:function(){return{width:this.defaultWidth||"80%",open:!1,isOpen:!1,backups:{body:{height:null,overflow:null,paddingRight:null}}}},watch:{visible:function(e){var t=this;e?(this.isOpen=!0,setTimeout((function(){return t.open=!0}),30),this.closeScroll&&this._lockBody()):(this.closeScroll&&this._unlockBody(),this.open=!1,setTimeout((function(){return t.isOpen=!1}),300))}},beforeDestroy:function(){window.removeEventListener("resize",this.getWindowWidth),window.removeEventListener("resize",this.getWindowHeight)},destroyed:function(){var e=this;this.open&&(this.closeScroll&&this._unlockBody(),this.open=!1,setTimeout((function(){return e.isOpen=!1}),300))},mounted:function(){this.$nextTick((function(){window.addEventListener("resize",this.getWindowWidth),window.addEventListener("resize",this.getWindowHeight),this.getWindowWidth(),this.getWindowHeight()}))},methods:{getWindowHeight:function(e){this.windowHeight=document.documentElement.clientHeight},getWindowWidth:function(e){var t=this;if(this.resizeWidth&&Object.keys(this.resizeWidth).length>0){this.windowWidth=document.documentElement.clientWidth;var n=Object.keys(this.resizeWidth).find((function(e){return e>=t.windowWidth}));this.width=n?this.resizeWidth[n]:this.defaultWidth}},_lockBody:function(){this.backups.body.height=document.body.style.height,this.backups.body.overflow=document.body.style.overflow,document.body.style.paddingRight="15px",document.body.style.height="100%",document.body.style.overflow="hidden"},_unlockBody:function(){document.body.style.height=this.backups.body.height,document.body.style.overflow=this.backups.body.overflow,document.body.style.paddingRight=this.backups.body.paddingRight}}}},function(e,t,n){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"div"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"modal-vue-wrapper",class:[e.animationParent,{"modal-vue-wrapper-show":e.open}]},[n("div",{class:["modal-vue-overlay",{"modal-vue-actions-parent":e.imgMode}],style:{backgroundColor:e.bgOverlay},on:{click:function(t){e.$emit("hide")}}}),e._v(" "),e.imgMode?n("div",{staticClass:"img-mode"},[e._t("default")],2):e._e(),e._v(" "),e.imgMode?e._e():n("div",{class:["modal-vue-panel",e.animationPanel,{"modal-vue-show":e.open}],style:{width:e.width,backgroundColor:e.bgPanel}},[n("div",{staticClass:"modal-vue-content"},[e.imgMode?e._e():n("div",{class:{"modal-vue-actions":!e.imgMode}},[n("div",{staticClass:"modal-vue-action-close",on:{click:function(t){e.$emit("hide")}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#292c34"}})])])]),e._v(" "),n("div",{staticClass:"modal-vue-content-panel"},[e._t("default")],2)])])])])},staticRenderFns:[]},e.exports.render._withStripped=!0}])}))),s="undefined"!=typeof window&&"undefined"!=typeof document,l=["Edge","Trident","Firefox"],c=0,u=0;u<l.length;u+=1)if(s&&navigator.userAgent.indexOf(l[u])>=0){c=1;break}var d=s&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),c))}};function h(e){return e&&"[object Function]"==={}.toString.call(e)}function f(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function p(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function v(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=f(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:v(p(e))}var m=s&&!(!window.MSInputMethodContext||!document.documentMode),y=s&&/MSIE 10/.test(navigator.userAgent);function _(e){return 11===e?m:10===e?y:m||y}function w(e){if(!e)return document.documentElement;for(var t=_(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===f(n,"position")?w(n):n:e?e.ownerDocument.documentElement:document.documentElement}function x(e){return null!==e.parentNode?x(e.parentNode):e}function S(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(e!==l&&t!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&w(a.firstElementChild)!==a?w(l):l;var c=x(e);return c.host?S(c.host,t):S(e,x(t).host)}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||r;return o[n]}return e[n]}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=k(t,"top"),r=k(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function M(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function O(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],_(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function A(){var e=document.body,t=document.documentElement,n=_(10)&&getComputedStyle(t);return{height:O("Height",e,t,n),width:O("Width",e,t,n)}}var T=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},D=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),P=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function E(e){return R({},e,{right:e.left+e.width,bottom:e.top+e.height})}function I(e){var t={};try{if(_(10)){t=e.getBoundingClientRect();var n=k(e,"top"),i=k(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?A():{},a=o.width||e.clientWidth||r.right-r.left,s=o.height||e.clientHeight||r.bottom-r.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=f(e);l-=M(u,"x"),c-=M(u,"y"),r.width-=l,r.height-=c}return E(r)}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=_(10),r="HTML"===t.nodeName,o=I(e),a=I(t),s=v(e),l=f(t),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=E({top:o.top-a.top-c,left:o.left-a.left-u,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!i&&r){var h=parseFloat(l.marginTop,10),p=parseFloat(l.marginLeft,10);d.top-=c-h,d.bottom-=c-h,d.left-=u-p,d.right-=u-p,d.marginTop=h,d.marginLeft=p}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=C(d,t)),d}function L(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=F(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:k(n),s=t?0:k(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o};return E(l)}function $(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===f(e,"position")||$(p(e)))}function N(e){if(!e||!e.parentElement||_())return document.documentElement;for(var t=e.parentElement;t&&"none"===f(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?N(e):S(e,t);if("viewport"===i)o=L(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=v(p(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=F(s,a,r);if("HTML"!==s.nodeName||$(a))o=l;else{var c=A(),u=c.height,d=c.width;o.top+=l.top-l.marginTop,o.bottom=u+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function H(e){return e.width*e.height}function W(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(n,i,o,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return R({key:e},s[e],{area:H(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function V(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?N(t):S(t,n);return F(n,r,i)}function B(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function Y(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,n){n=n.split("-")[0];var i=B(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=t[a]+t[l]/2-i[l]/2,r[s]=n===s?t[s]-i[c]:t[Y(s)],r}function U(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function q(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=U(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&h(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function G(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=V(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=W(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=q(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Q(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function J(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function K(){return this.state.isDestroyed=!0,Q(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[J("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(e){var t=e.ownerDocument;return t?t.defaultView:window}function X(e,t,n,i){var r="BODY"===e.nodeName,o=r?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),r||X(v(o.parentNode),t,n,i),i.push(o)}function ee(e,t,n,i){n.updateBound=i,Z(e).addEventListener("resize",n.updateBound,{passive:!0});var r=v(e);return X(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function te(){this.state.eventsEnabled||(this.state=ee(this.reference,this.options,this.state,this.scheduleUpdate))}function ne(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return Z(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function ie(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function re(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&ie(t[n])&&(i="px"),e.style[n]=t[n]+i}))}function oe(e,t,n){var i=U(e,(function(e){return e.name===t})),r=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!r){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var ae=["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"],se=ae.slice(3);function le(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=se.indexOf(e),i=se.slice(n+1).concat(se.slice(0,n));return t?i.reverse():i}var ce="flip",ue="clockwise",de="counterclockwise";function he(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(U(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var r=(1===i?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return E(s)[t]/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}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){ie(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))}))})),r}var fe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:P({},l,o[l]),end:P({},l,o[l]+o[c]-a[c])};e.offsets.popper=R({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=ie(+n)?[+n,0]:he(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||w(e.instance.popper);e.instance.reference===n&&(n=w(n));var i=J("transform"),r=e.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=a,r[i]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),P({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),P({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=R({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[s])&&(e.offsets.popper[l]=o(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!oe(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",v=B(i)[c];s[p]-v<a[d]&&(e.offsets.popper[d]-=a[d]-(s[p]-v)),s[d]+v>a[p]&&(e.offsets.popper[d]+=s[d]+v-a[p]),e.offsets.popper=E(e.offsets.popper);var m=s[d]+s[c]/2-v/2,g=f(e.instance.popper),y=parseFloat(g["margin"+u],10),_=parseFloat(g["border"+u+"Width"],10),b=m-e.offsets.popper[d]-y-_;return b=Math.max(Math.min(a[c]-v,b),0),e.arrowElement=i,e.offsets.arrow=(P(n={},d,Math.round(b)),P(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Q(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=Y(i),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ce:a=[i,r];break;case ue:a=le(i);break;case de:a=le(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],r=Y(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),v=d(c.top)<d(n.top),m=d(c.bottom)>d(n.bottom),g="left"===i&&f||"right"===i&&p||"top"===i&&v||"bottom"===i&&m,y=-1!==["top","bottom"].indexOf(i),_=!!t.flipVariations&&(y&&"start"===o&&f||y&&"end"===o&&p||!y&&"start"===o&&v||!y&&"end"===o&&m);(h||g||_)&&(e.flipped=!0,(h||g)&&(i=a[l+1]),_&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=R({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=q(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),e.placement=Y(t),e.offsets.popper=E(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!oe(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=U(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=U(e.instance.modifiers,(function(e){return"applyStyle"===e.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:t.gpuAcceleration,s=I(w(e.instance.popper)),l={position:r.position},c={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},u="bottom"===n?"top":"bottom",d="right"===i?"left":"right",h=J("transform"),f=void 0,p=void 0;if(p="bottom"===u?-s.height+c.bottom:c.top,f="right"===d?-s.width+c.right:c.left,a&&h)l[h]="translate3d("+f+"px, "+p+"px, 0)",l[u]=0,l[d]=0,l.willChange="transform";else{var v="bottom"===u?-1:1,m="right"===d?-1:1;l[u]=p*v,l[d]=f*m,l.willChange=u+", "+d}var g={"x-placement":e.placement};return e.attributes=R({},g,e.attributes),e.styles=R({},l,e.styles),e.arrowStyles=R({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return re(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&re(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,r){var o=V(r,t,e,n.positionFixed),a=W(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),re(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},pe=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=d(this.update.bind(this)),this.options=R({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(R({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){i.options.modifiers[t]=R({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return R({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&h(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return D(e,[{key:"update",value:function(){return G.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return te.call(this)}},{key:"disableEventListeners",value:function(){return ne.call(this)}}]),e}();pe.Utils=("undefined"!=typeof window?window:global).PopperUtils,pe.placements=ae,pe.Defaults=fe;var ve=function(){};function me(e){return"string"==typeof e&&(e=e.split(" ")),e}function ge(e,t){var n=me(t),i=void 0;i=e.className instanceof ve?me(e.className.baseVal):me(e.className),n.forEach((function(e){-1===i.indexOf(e)&&i.push(e)})),e instanceof SVGElement?e.setAttribute("class",i.join(" ")):e.className=i.join(" ")}function ye(e,t){var n=me(t),i=void 0;i=e.className instanceof ve?me(e.className.baseVal):me(e.className),n.forEach((function(e){var t=i.indexOf(e);-1!==t&&i.splice(t,1)})),e instanceof SVGElement?e.setAttribute("class",i.join(" ")):e.className=i.join(" ")}"undefined"!=typeof window&&(ve=window.SVGAnimatedString);var _e=!1;if("undefined"!=typeof window){_e=!1;try{var be=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",null,be)}catch(e){}}var we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ke={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},Ce=[],Me=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Oe.call(this),n=Se({},ke,n),t.jquery&&(t=t[0]),this.reference=t,this.options=n,this._isOpen=!1,this._init()}return xe(e,[{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||Le.options.defaultClass;this._classes!==n&&(this.setClasses(n),t=!0),e=Pe(e);var i=!1,r=!1;for(var o in this.options.offset===e.offset&&this.options.placement===e.placement||(i=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(r=!0),e)this.options[o]=e[o];if(this._tooltipNode)if(r){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else i&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),this._setEventListeners(this.reference,e,this.options)}},{key:"_create",value:function(e,t){var n=window.document.createElement("div");n.innerHTML=t.trim();var i=n.childNodes[0];return i.id="tooltip_"+Math.random().toString(36).substr(2,10),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",this.hide),i.addEventListener("click",this.hide)),i}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then((function(){n.popperInstance.update()}))}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise((function(i,r){var o=t.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===e.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(e)}}else{if("function"==typeof e){var l=e();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,t.loadingClass&&ge(a,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),l.then((function(e){return t.loadingClass&&ye(a,t.loadingClass),n._applyContent(e,t)})).then(i).catch(r)):n._applyContent(l,t).then(i).catch(r))}o?s.innerHTML=e:s.innerText=e}i()}}))}},{key:"_show",value:function(e,t){if(t&&"string"==typeof t.container&&!document.querySelector(t.container))return;clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(ge(this._tooltipNode,this._classes),n=!1);var i=this._ensureShown(e,t);return n&&this._tooltipNode&&ge(this._tooltipNode,this._classes),ge(e,["v-tooltip-open"]),i}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Ce.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var i=e.getAttribute("title")||t.title;if(!i)return this;var r=this._create(e,t.template);this._tooltipNode=r,this._setContent(i,t),e.setAttribute("aria-describedby",r.id);var o=this._findContainer(t.container,e);this._append(r,o);var a=Se({},t.popperOptions,{placement:t.placement});return a.modifiers=Se({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new pe(e,r,a),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var e=Ce.indexOf(this);-1!==e&&Ce.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=Le.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout((function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._tooltipNode.parentNode.removeChild(e._tooltipNode),e._tooltipNode=null)}),t)),ye(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this._events.forEach((function(t){var n=t.func,i=t.event;e.reference.removeEventListener(i,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var i=this,r=[],o=[];t.forEach((function(e){switch(e){case"hover":r.push("mouseenter"),o.push("mouseleave"),i.options.hideOnTargetClick&&o.push("click");break;case"focus":r.push("focus"),o.push("blur"),i.options.hideOnTargetClick&&o.push("click");break;case"click":r.push("click"),o.push("click")}})),r.forEach((function(t){var r=function(t){!0!==i._isOpen&&(t.usedByTooltip=!0,i._scheduleShow(e,n.delay,n,t))};i._events.push({event:t,func:r}),e.addEventListener(t,r)})),o.forEach((function(t){var r=function(t){!0!==t.usedByTooltip&&i._scheduleHide(e,n.delay,n,t)};i._events.push({event:t,func:r}),e.addEventListener(t,r)}))}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var i=this,r=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return i._show(e,n)}),r)}},{key:"_scheduleHide",value:function(e,t,n,i){var r=this,o=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==r._isOpen&&document.body.contains(r._tooltipNode)){if("mouseleave"===i.type)if(r._setTooltipNodeEvent(i,e,t,n))return;r._hide(e,n)}}),o)}}]),e}(),Oe=function(){var e=this;this.show=function(){e._show(e.reference,e.options)},this.hide=function(){e._hide()},this.dispose=function(){e._dispose()},this.toggle=function(){return e._isOpen?e.hide():e.show()},this._events=[],this._setTooltipNodeEvent=function(t,n,i,r){var o=t.relatedreference||t.toElement||t.relatedTarget;return!!e._tooltipNode.contains(o)&&(e._tooltipNode.addEventListener(t.type,(function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;e._tooltipNode.removeEventListener(t.type,i),n.contains(a)||e._scheduleHide(n,r.delay,r,o)})),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",(function(e){for(var t=0;t<Ce.length;t++)Ce[t]._onDocumentTouch(e)}),!_e||{passive:!0,capture:!0});var Ae={enabled:!0},Te=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],De={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function Pe(e){var t={placement:void 0!==e.placement?e.placement:Le.options.defaultPlacement,delay:void 0!==e.delay?e.delay:Le.options.defaultDelay,html:void 0!==e.html?e.html:Le.options.defaultHtml,template:void 0!==e.template?e.template:Le.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:Le.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:Le.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:Le.options.defaultTrigger,offset:void 0!==e.offset?e.offset:Le.options.defaultOffset,container:void 0!==e.container?e.container:Le.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:Le.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:Le.options.autoHide,hideOnTargetClick:void 0!==e.hideOnTargetClick?e.hideOnTargetClick:Le.options.defaultHideOnTargetClick,loadingClass:void 0!==e.loadingClass?e.loadingClass:Le.options.defaultLoadingClass,loadingContent:void 0!==e.loadingContent?e.loadingContent:Le.options.defaultLoadingContent,popperOptions:Se({},void 0!==e.popperOptions?e.popperOptions:Le.options.defaultPopperOptions)};if(t.offset){var n=we(t.offset),i=t.offset;("number"===n||"string"===n&&-1===i.indexOf(","))&&(i="0, "+i),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:i}}return t.trigger&&-1!==t.trigger.indexOf("click")&&(t.hideOnTargetClick=!1),t}function Re(e,t){for(var n=e.placement,i=0;i<Te.length;i++){var r=Te[i];t[r]&&(n=r)}return n}function Ee(e){var t=void 0===e?"undefined":we(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function Ie(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip,delete e._tooltipOldShow),e._tooltipTargetClasses&&(ye(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function Fe(e,t){var n=t.value,i=(t.oldValue,t.modifiers),r=Ee(n);if(r&&Ae.enabled){var o=void 0;e._tooltip?((o=e._tooltip).setContent(r),o.setOptions(Se({},n,{placement:Re(n,i)}))):o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Ee(t),r=void 0!==t.classes?t.classes:Le.options.defaultClass,o=Se({title:i},Pe(Se({},t,{placement:Re(t,n)}))),a=e._tooltip=new Me(e,o);a.setClasses(r),a._vueEl=e;var s=void 0!==t.targetClasses?t.targetClasses:Le.options.defaultTargetClass;return e._tooltipTargetClasses=s,ge(e,s),a}(e,n,i),void 0!==n.show&&n.show!==e._tooltipOldShow&&(e._tooltipOldShow=n.show,n.show?o.show():o.hide())}else Ie(e)}var Le={options:De,bind:Fe,update:Fe,unbind:function(e){Ie(e)}};function $e(e){e.addEventListener("click",je),e.addEventListener("touchstart",He,!!_e&&{passive:!0})}function Ne(e){e.removeEventListener("click",je),e.removeEventListener("touchstart",He),e.removeEventListener("touchend",We),e.removeEventListener("touchcancel",Ve)}function je(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function He(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",We),t.addEventListener("touchcancel",Ve)}}function We(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ve(e){e.currentTarget.$_vclosepopover_touch=!1}var Be={bind:function(e,t){var n=t.value,i=t.modifiers;e.$_closePopoverModifiers=i,(void 0===n||n)&&$e(e)},update:function(e,t){var n=t.value,i=t.oldValue,r=t.modifiers;e.$_closePopoverModifiers=r,n!==i&&(void 0===n||n?$e(e):Ne(e))},unbind:function(e){Ne(e)}};var Ye=void 0;function ze(){ze.init||(ze.init=!0,Ye=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}())}var Ue={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Ye&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var e=this;ze(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Ye&&this.$el.appendChild(t),t.data="about:blank",Ye||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}};var qe={version:"0.4.4",install:function(e){e.component("resize-observer",Ue)}},Ge=null;function Qe(e){var t=Le.options.popover[e];return void 0===t?Le.options[e]:t}"undefined"!=typeof window?Ge=window.Vue:"undefined"!=typeof global&&(Ge=global.Vue),Ge&&Ge.use(qe);var Je=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(Je=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Ke=[],Ze=function(){};"undefined"!=typeof window&&(Ze=window.Element);var Xe={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popover",class:e.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":e.popoverId,tabindex:-1!==e.trigger.indexOf("focus")?0:-1}},[e._t("default")],2),e._v(" "),n("div",{ref:"popover",class:[e.popoverBaseClass,e.popoverClass,e.cssClass],style:{visibility:e.isOpen?"visible":"hidden"},attrs:{id:e.popoverId,"aria-hidden":e.isOpen?"false":"true"}},[n("div",{class:e.popoverWrapperClass},[n("div",{ref:"inner",class:e.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[e._t("popover")],2),e._v(" "),e.handleResize?n("ResizeObserver",{on:{notify:e.$_handleResize}}):e._e()],1),e._v(" "),n("div",{ref:"arrow",class:e.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:Ue},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return Qe("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return Qe("defaultDelay")}},offset:{type:[String,Number],default:function(){return Qe("defaultOffset")}},trigger:{type:String,default:function(){return Qe("defaultTrigger")}},container:{type:[String,Object,Ze,Boolean],default:function(){return Qe("defaultContainer")}},boundariesElement:{type:[String,Ze],default:function(){return Qe("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return Qe("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return Qe("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return Le.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return Le.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return Le.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return Le.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return Le.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return Le.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(e){e?this.show():this.hide()},disabled:function(e,t){e!==t&&(e?this.hide():this.open&&this.show())},container:function(e){if(this.isOpen&&this.popperInstance){var t=this.$refs.popover,n=this.$refs.trigger,i=this.$_findContainer(this.container,n);if(!i)return void console.warn("No container for popover",this);i.appendChild(t),this.popperInstance.scheduleUpdate()}},trigger:function(e){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(e){var t=this;this.$_updatePopper((function(){t.popperInstance.options.placement=e}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.event,i=(t.skipDelay,t.force),r=void 0!==i&&i;!r&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){e.$_beingShowed=!1}))},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay;this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,t);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var r=Se({},this.popperOptions,{placement:this.placement});if(r.modifiers=Se({},r.modifiers,{arrow:Se({},r.modifiers&&r.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();r.modifiers.offset=Se({},r.modifiers&&r.modifiers.offset,{offset:o})}this.boundariesElement&&(r.modifiers.preventOverflow=Se({},r.modifiers&&r.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new pe(t,n,r),requestAnimationFrame((function(){!e.$_isDisposed&&e.popperInstance?(e.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){e.$_isDisposed?e.dispose():e.isOpen=!0}))):e.dispose()}))}var a=this.openGroup;if(a)for(var s=void 0,l=0;l<Ke.length;l++)(s=Ke[l]).openGroup!==a&&(s.hide(),s.$emit("close-group"));Ke.push(this),this.$emit("apply-show")}},$_hide:function(){var e=this;if(this.isOpen){var t=Ke.indexOf(this);-1!==t&&Ke.splice(t,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=Le.options.popover.disposeTimeout||Le.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout((function(){var t=e.$refs.popover;t&&(t.parentNode&&t.parentNode.removeChild(t),e.$_mounted=!1)}),n)),this.$emit("apply-hide")}},$_findContainer:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e},$_getOffset:function(){var e=we(this.offset),t=this.offset;return("number"===e||"string"===e&&-1===t.indexOf(","))&&(t="0, "+t),t},$_addEventListeners:function(){var e=this,t=this.$refs.trigger,n=[],i=[];("string"==typeof this.trigger?this.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})):[]).forEach((function(e){switch(e){case"hover":n.push("mouseenter"),i.push("mouseleave");break;case"focus":n.push("focus"),i.push("blur");break;case"click":n.push("click"),i.push("click")}})),n.forEach((function(n){var i=function(t){e.isOpen||(t.usedByTooltip=!0,!e.$_preventOpen&&e.show({event:t}))};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)})),i.forEach((function(n){var i=function(t){t.usedByTooltip||e.hide({event:t})};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)}))},$_scheduleShow:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var i=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(e.isOpen){if(t&&"mouseleave"===t.type)if(e.$_setTooltipNodeEvent(t))return;e.$_hide()}}),i)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,i=this.$refs.popover,r=e.relatedreference||e.toElement||e.relatedTarget;return!!i.contains(r)&&(i.addEventListener(e.type,(function r(o){var a=o.relatedreference||o.toElement||o.relatedTarget;i.removeEventListener(e.type,r),n.contains(a)||t.hide({event:o})})),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach((function(t){var n=t.func,i=t.event;e.removeEventListener(i,n)})),this.$_events=[]},$_updatePopper:function(e){this.popperInstance&&(e(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),e&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){t.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function et(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame((function(){for(var n=void 0,i=0;i<Ke.length;i++)if((n=Ke[i]).$refs.popover){var r=n.$refs.popover.contains(e.target);(e.closeAllPopover||e.closePopover&&r||n.autoHide&&!r)&&n.$_handleGlobalClose(e,t)}}))}"undefined"!=typeof document&&"undefined"!=typeof window&&(Je?document.addEventListener("touchend",(function(e){et(e,!0)}),!_e||{passive:!0,capture:!0}):window.addEventListener("click",(function(e){et(e)}),!0));var tt="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var nt,it=(function(e,t){var n="__lodash_hash_undefined__",i=9007199254740991,r="[object Arguments]",o="[object Function]",a="[object Object]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[r]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[o]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u="object"==typeof tt&&tt&&tt.Object===Object&&tt,d="object"==typeof self&&self&&self.Object===Object&&self,h=u||d||Function("return this")(),f=t&&!t.nodeType&&t,p=f&&e&&!e.nodeType&&e,v=p&&p.exports===f,m=v&&u.process,g=function(){try{return m&&m.binding&&m.binding("util")}catch(e){}}(),y=g&&g.isTypedArray;function _(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function b(e,t){return"__proto__"==t?void 0:e[t]}var w,x=Array.prototype,S=Function.prototype,k=Object.prototype,C=h["__core-js_shared__"],M=S.toString,O=k.hasOwnProperty,A=(w=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",T=k.toString,D=M.call(Object),P=RegExp("^"+M.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=v?h.Buffer:void 0,E=h.Symbol,I=h.Uint8Array,F=R?R.allocUnsafe:void 0,L=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),$=Object.create,N=k.propertyIsEnumerable,j=x.splice,H=E?E.toStringTag:void 0,W=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=R?R.isBuffer:void 0,B=Math.max,Y=Date.now,z=he(h,"Map"),U=he(Object,"create"),q=function(){function e(){}return function(t){if(!Se(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function K(e){var t=this.__data__=new Q(e);this.size=t.size}function Z(e,t){var n=ye(e),i=!n&&ge(e),r=!n&&!i&&be(e),o=!n&&!i&&!r&&Ce(e),a=n||i||r||o,s=a?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],l=s.length;for(var c in e)!t&&!O.call(e,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||fe(c,l))||s.push(c);return s}function X(e,t,n){(void 0!==n&&!me(e[t],n)||void 0===n&&!(t in e))&&ne(e,t,n)}function ee(e,t,n){var i=e[t];O.call(e,t)&&me(i,n)&&(void 0!==n||t in e)||ne(e,t,n)}function te(e,t){for(var n=e.length;n--;)if(me(e[n][0],t))return n;return-1}function ne(e,t,n){"__proto__"==t&&W?W(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}G.prototype.clear=function(){this.__data__=U?U(null):{},this.size=0},G.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},G.prototype.get=function(e){var t=this.__data__;if(U){var i=t[e];return i===n?void 0:i}return O.call(t,e)?t[e]:void 0},G.prototype.has=function(e){var t=this.__data__;return U?void 0!==t[e]:O.call(t,e)},G.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=U&&void 0===t?n:t,this},Q.prototype.clear=function(){this.__data__=[],this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=te(t,e);return!(n<0||(n==t.length-1?t.pop():j.call(t,n,1),--this.size,0))},Q.prototype.get=function(e){var t=this.__data__,n=te(t,e);return n<0?void 0:t[n][1]},Q.prototype.has=function(e){return te(this.__data__,e)>-1},Q.prototype.set=function(e,t){var n=this.__data__,i=te(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},J.prototype.clear=function(){this.size=0,this.__data__={hash:new G,map:new(z||Q),string:new G}},J.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},J.prototype.get=function(e){return de(this,e).get(e)},J.prototype.has=function(e){return de(this,e).has(e)},J.prototype.set=function(e,t){var n=de(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},K.prototype.clear=function(){this.__data__=new Q,this.size=0},K.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Q){var i=n.__data__;if(!z||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new J(i)}return n.set(e,t),this.size=n.size,this};var ie,re=function(e,t,n){for(var i=-1,r=Object(e),o=n(e),a=o.length;a--;){var s=o[ie?a:++i];if(!1===t(r[s],s,r))break}return e};function oe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=O.call(e,H),n=e[H];try{e[H]=void 0;var i=!0}catch(e){}var r=T.call(e);return i&&(t?e[H]=n:delete e[H]),r}(e):function(e){return T.call(e)}(e)}function ae(e){return ke(e)&&oe(e)==r}function se(e){return!(!Se(e)||function(e){return!!A&&A in e}(e))&&(we(e)?P:s).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(e){if(!Se(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=pe(e),n=[];for(var i in e)("constructor"!=i||!t&&O.call(e,i))&&n.push(i);return n}function ce(e,t,n,i,r){e!==t&&re(t,(function(o,s){if(Se(o))r||(r=new K),function(e,t,n,i,r,o,s){var l=b(e,n),c=b(t,n),u=s.get(c);if(u)X(e,n,u);else{var d,h,f,p,v,m=o?o(l,c,n+"",e,t,s):void 0,g=void 0===m;if(g){var y=ye(c),_=!y&&be(c),w=!y&&!_&&Ce(c);m=c,y||_||w?ye(l)?m=l:ke(v=l)&&_e(v)?m=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}(l):_?(g=!1,m=function(e,t){if(t)return e.slice();var n=e.length,i=F?F(n):new e.constructor(n);return e.copy(i),i}(c,!0)):w?(g=!1,f=(d=c).buffer,p=new f.constructor(f.byteLength),new I(p).set(new I(f)),h=p,m=new d.constructor(h,d.byteOffset,d.length)):m=[]:function(e){if(!ke(e)||oe(e)!=a)return!1;var t=L(e);if(null===t)return!0;var n=O.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&M.call(n)==D}(c)||ge(c)?(m=l,ge(l)?m=function(e){return function(e,t,n,i){var r=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?ne(n,s,l):ee(n,s,l)}return n}(e,Me(e))}(l):(!Se(l)||i&&we(l))&&(m=function(e){return"function"!=typeof e.constructor||pe(e)?{}:q(L(e))}(c))):g=!1}g&&(s.set(c,m),r(m,c,i,o,s),s.delete(c)),X(e,n,m)}}(e,t,s,n,ce,i,r);else{var l=i?i(b(e,s),o,s+"",e,t,r):void 0;void 0===l&&(l=o),X(e,s,l)}}),Me)}function ue(e,t){return ve(function(e,t,n){return t=B(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,o=B(i.length-t,0),a=Array(o);++r<o;)a[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=n(a),_(e,this,s)}}(e,t,Te),e+"")}function de(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return se(n)?n:void 0}function fe(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}var ve=function(e){var t=0,n=0;return function(){var i=Y(),r=16-(i-n);if(n=i,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(W?function(e,t){return W(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Te);function me(e,t){return e===t||e!=e&&t!=t}var ge=ae(function(){return arguments}())?ae:function(e){return ke(e)&&O.call(e,"callee")&&!N.call(e,"callee")},ye=Array.isArray;function _e(e){return null!=e&&xe(e.length)&&!we(e)}var be=V||function(){return!1};function we(e){if(!Se(e))return!1;var t=oe(e);return t==o||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Se(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ke(e){return null!=e&&"object"==typeof e}var Ce=y?function(e){return function(t){return e(t)}}(y):function(e){return ke(e)&&xe(e.length)&&!!c[oe(e)]};function Me(e){return _e(e)?Z(e,!0):le(e)}var Oe,Ae=(Oe=function(e,t,n){ce(e,t,n)},ue((function(e,t){var n=-1,i=t.length,r=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=Oe.length>3&&"function"==typeof r?(i--,r):void 0,o&&function(e,t,n){if(!Se(n))return!1;var i=typeof t;return!!("number"==i?_e(n)&&fe(t,n.length):"string"==i&&t in n)&&me(n[t],e)}(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++n<i;){var a=t[n];a&&Oe(e,a,n,r)}return e})));function Te(e){return e}e.exports=Ae}(nt={exports:{}},nt.exports),nt.exports);var rt={install:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.installed){e.installed=!0;var i={};it(i,De,n),rt.options=i,Le.options=i,t.directive("tooltip",Le),t.directive("close-popover",Be),t.component("v-popover",Xe)}},get enabled(){return Ae.enabled},set enabled(e){Ae.enabled=e}},ot=null;"undefined"!=typeof window?ot=window.Vue:"undefined"!=typeof global&&(ot=global.Vue),ot&&ot.use(rt);var at=t(n((function(e,t){"undefined"!=typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(e,t,n){var i="v-collapse",r={prefix:i,basename:"collapse",togglerClassDefault:i+"-toggler",contentClassDefault:i+"-content",contentClassEnd:i+"-content-end"},o=function(e,t){e.classList.toggle(t.contentClassEnd)},a=function(e,t){e.classList.remove(t.contentClassEnd)},s=function(e,t){e.classList.add(t.contentClassEnd)};e.exports={defaults:r,toggleElement:o,closeElement:a,openElement:s}},function(e,t){e.exports=function(e,t,n,i,r,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:a,exports:s,options:u}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.default={data:function(){return{nodes:{},status:!1}},props:["active"],watch:{active:function(e){null!=e&&(this.status=e)},status:function(e,t){if(this.$emit("onStatusChange",{vm:this,status:e,old_status:t}),!1===this.$parent.onlyOneActive)(0,i.toggleElement)(this.nodes.content,this.$options.$vc.settings);else if(!0===e&&!1===t){var n=this.$parent.$children.filter((function(e){return!0===e.status}));n.length>1&&n.forEach(function(e){e.close(),(0,i.closeElement)(e.nodes.content,this.$options.$vc.settings)}.bind(this)),(0,i.openElement)(this.nodes.content,this.$options.$vc.settings),this.open()}else!0===t&&!1===e&&((0,i.closeElement)(this.nodes.content,this.$options.$vc.settings),this.close())}},methods:{toggle:function(){this.$emit("beforeToggle",this),this.status=!this.status,this.$emit("afterToggle",this)},close:function(){this.$emit("beforeClose",this),this.status=!1,this.$emit("afterClose",this)},open:function(){this.$emit("beforeOpen",this),this.status=!0,this.$emit("afterOpen",this)}},mounted:function(){var e=this;this.nodes.toggle=this.$el.querySelector("."+this.$options.$vc.settings.togglerClassDefault),this.nodes.content=this.$el.querySelector("."+this.$options.$vc.settings.contentClassDefault),this.$emit("afterNodesBinding",{vm:this,nodes:this.nodes}),null!==this.nodes.toggle&&this.nodes.toggle.addEventListener("click",(function(){e.toggle()})),null!=this.active&&(this.status=this.active)}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n(0),t.default={data:function(){return{}},props:{onlyOneActive:{default:!1,type:Boolean}},computed:{elements:function(){return this.$children},elements_count:function(){return this.$children.length},active_elements:function(){return this.$children.filter((function(e){return!0===e.status}))}},methods:{closeAll:function(){this.$children.forEach((function(e){e.close()}))},openAll:function(){this.$children.forEach((function(e){e.open()}))}}}},function(e,t,n){function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(5)),o=i(n(8)),a=n(0),s={install:function(e,t){var n=Object.assign(a.defaults,t);e.component(n.prefix+"-wrapper",r.default),e.component(n.prefix+"-group",o.default),e.mixin({created:function(){this.$options.$vc={settings:n}}}),e.directive(n.basename+"-content",{bind:function(e,t,n,i){n.elm.classList.add(n.context.$options.$vc.settings.contentClassDefault)}}),e.directive(n.basename+"-toggle",{bind:function(e,t,n,i){n.elm.classList.add(n.context.$options.$vc.settings.togglerClassDefault)},inserted:function(e,t,n,i){null!=t.value&&n.elm.addEventListener("click",function(){n.context.$refs[t.value].status=!n.context.$refs[t.value].status}.bind(this))}})}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(s),t.default=s},function(e,t,n){function i(e){n(6)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var s=n(7),l=i,c=n(1)(o.a,s.a,!1,l,null,null);t.default=c.exports},function(e,t){},function(e,t,n){var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:"vc-"+e.$options.$vc.settings.basename},[e._t("default")],2)},staticRenderFns:[]};t.a=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n(9),s=n(1)(r.a,a.a,!1,null,null,null);t.default=s.exports},function(e,t,n){var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"v-collapse-group"},[e._t("default")],2)},staticRenderFns:[]};t.a=i}])})));const st={install:function(e,t){const n=["rgba(69,170,242,1)","rgba(252,92,101,1)","rgba(165,94,234,1)","rgba(38,222,129,1)","rgba(253,150,68,1)","rgba(254,211,48,1)","rgba(43,203,186,1)","rgba(75,123,236,1)","rgba(209,216,224,1)","rgba(119,140,163,1)","rgba(45,152,218,1)","rgba(235,59,90,1)","rgba(136,84,208,1)","rgba(250,130,49,1)","rgba(32,191,107,1)","rgba(247,183,49,1)","rgba(15,185,177,1)","rgba(56,103,214,1)","rgba(165,177,194,1)","rgba(75,101,132,1)","rgba(54, 162, 235, 1)","rgba(255, 99, 132, 1)","rgba(153, 102, 255, 1)","rgba(255, 159, 64, 1)","rgba(75, 192, 192, 1)","rgba(201, 203, 207, 1)"];e.SearchwpMetricsGetColor=function(e,t=1,i=1){for(;e>n.length-1;)e-=n.length;let r=n[e].replace("1)",t+")"),o=r.split(","),a=parseInt(o[0].replace("rgba(",""),10)*i,s=parseInt(o[1])*i,l=parseInt(o[2])*i;if(1!==i){let e=.5,t=.3*a+.6*s+.1*l;a=a+e*(t-a),s=s+e*(t-s),l=l+e*(t-l)}return r="rgba("+a+","+s+","+l+","+o[3],r}}},lt={install:function(e,t){e.SearchwpMetricsFormatForChart=function(t,n={}){return t=e.SearchwpMetricsFormatForChartjs(t,n)},e.SearchwpMetricsFormatForChartjs=function(t,n={}){let i={labels:t.labels,datasets:[]};for(let r=0;r<t.datasets.length;r++){let o=t.datasets[r],a={label:o.engine,borderColor:e.SearchwpMetricsGetColor(r),backgroundColor:e.SearchwpMetricsGetColor(r,.15,1.35),data:o.dataset};i.datasets.push({...n,...a})}return i}}};var ct=function(e){return"object"==typeof e&&null!==e},ut=Array.isArray,dt=Object.prototype.toString,ht=ut||function(e){return!!e&&"[object Array]"==dt.call(e)},ft=function(e){var t=pt.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},pt=Object.prototype.toString;var vt=n((function(t){
/*!
	 *   keyfinder - v1.0.0
	 *   Deep search for keys in objects and arrays and pluck their respective values.
	 *   https://github.com/simon-johansson/keyfinder
	 *   by Simon Johansson <mail@simon-johansson.com>
	 *   MIT License
	 */
(function(){var e,n,i,r,o;o=ct,i=ht,r=ft,e=function(e){var t,n;for(t in n=[],e)n.push(t);return n},n=function(t,a,s){var l,c,u,d,h;if(null==s&&(s=[]),a&&o(t)){a in t&&s.push(t[a]);for(u=0,d=(h=e(t)).length;u<d;u++)c=t[l=h[u]],r(a)&&a(l,c,i(t)?"array":"object"),o(c)&&n(c,a,s)}return s},t.exports=function(e,t){return n(e,t)}}).call(e)})),mt=n((function(e,t){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=66)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(12)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(10),r=n(43),o=n(31),a=Object.defineProperty;t.f=n(1)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(77),r=n(21);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(9),r=n(52),o=n(18),a=n(55),s=n(53),l=function(e,t,n){var c,u,d,h,f=e&l.F,p=e&l.G,v=e&l.S,m=e&l.P,g=e&l.B,y=p?i:v?i[t]||(i[t]={}):(i[t]||{}).prototype,_=p?r:r[t]||(r[t]={}),b=_.prototype||(_.prototype={});for(c in p&&(n=t),n)d=((u=!f&&y&&void 0!==y[c])?y:n)[c],h=g&&u?s(d,i):m&&"function"==typeof d?s(Function.call,d):d,y&&a(y,c,d,e&l.U),_[c]!=d&&o(_,c,h),m&&b[c]!=d&&(b[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(3),r=n(15);e.exports=n(1)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(29)("wks"),r=n(16),o=n(0).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var i=n(13);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(48),r=n(22);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var i=n(109),r=n(110);e.exports=n(35)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(8);e.exports=function(e,t){return!!e&&i((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(0),r=n(11),o=n(74),a=n(6),s=function(e,t,n){var l,c,u,d=e&s.F,h=e&s.G,f=e&s.S,p=e&s.P,v=e&s.B,m=e&s.W,g=h?r:r[t]||(r[t]={}),y=g.prototype,_=h?i:f?i[t]:(i[t]||{}).prototype;for(l in h&&(n=t),n)(c=!d&&_&&void 0!==_[l])&&l in g||(u=c?_[l]:n[l],g[l]=h&&"function"!=typeof _[l]?n[l]:v&&c?o(u,i):m&&_[l]==u?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):p&&"function"==typeof u?o(Function.call,u):u,p&&((g.virtual||(g.virtual={}))[l]=u,e&s.R&&y&&!y[l]&&a(y,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports={}},function(e,t){e.exports=!0},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(3).f,r=n(2),o=n(7)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(29)("keys"),r=n(16);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(13);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(0),r=n(11),o=n(25),a=n(33),s=n(3).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(7)},function(e,t,n){var i=n(53),r=n(36),o=n(57),a=n(37),s=n(104);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var v,m,g=o(t),y=r(g),_=i(s,p,3),b=a(y.length),w=0,x=n?f(t,b):l?f(t,0):void 0;b>w;w++)if((h||w in y)&&(m=_(v=y[w],w,g),e))if(n)x[w]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(u)return!1;return d?-1:c||u?u:x}}},function(e,t,n){e.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(51);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(56),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(111)("wks"),r=n(58),o=n(9).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){function i(e){return!(0===e||(!Array.isArray(e)||0!==e.length)&&e)}function r(e){return function(){return!e.apply(void 0,arguments)}}function o(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}function a(e,t,n,i){return e.filter((function(e){return o(i(e,n),t)}))}function s(e){return e.filter((function(e){return!e.$isLabel}))}function l(e,t){return function(n){return n.reduce((function(n,i){return i[e]&&i[e].length?(n.push({$groupLabel:i[t],$isLabel:!0}),n.concat(i[e])):n}),[])}}function c(e,t,n,i,r){return function(o){return o.map((function(o){var s;if(!o[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=a(o[n],e,t,r);return l.length?(s={},v()(s,i,o[i]),v()(s,n,l),s):[]}))}}var u=n(65),d=n.n(u),h=n(59),f=(n.n(h),n(122)),p=(n.n(f),n(64)),v=n.n(p),m=n(120),g=(n.n(m),n(121)),y=(n.n(g),n(117)),_=(n.n(y),n(123)),b=(n.n(_),n(118)),w=(n.n(b),n(119)),x=(n.n(w),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}});t.a={data:function(){return{search:"",isOpen:!1,prefferedOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(e,t){return i(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){this.multiple||this.clearOnSelect||console.warn("[Vue-Multiselect warn]: ClearOnSelect and Multiple props can’t be both set to false."),!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,t,this.label):a(n,t,this.label,this.customLabel):this.groupValues?l(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(r(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map((function(t){return t[e.trackBy]})):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(t){return e.customLabel(t,e.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(e,t,n){return x(c(t,n,this.groupValues,this.groupLabel,this.customLabel),l(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return x(l(this.groupValues,this.groupLabel),s)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},getOptionLabel:function(e){if(i(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return i(t)?"":t},select:function(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.$emit("select",e,this.id),this.multiple?this.$emit("input",this.internalValue.concat([e]),this.id):this.$emit("input",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(e){var t=this,n=this.options.find((function(n){return n[t.groupLabel]===e.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var i=this.internalValue.filter((function(e){return-1===n[t.groupValues].indexOf(e)}));this.$emit("input",i,this.id)}else{var o=n[this.groupValues].filter(r(this.isSelected));this.$emit("select",o,this.id),this.$emit("input",this.internalValue.concat(o),this.id)}},wholeGroupSelected:function(e){return e[this.groupValues].every(this.isSelected)},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var n="object"===d()(e)?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.$emit("remove",e,this.id),this.multiple){var i=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return e.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.prefferedOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.prefferedOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t,n){var i=n(59);n.n(i),t.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight:function(e,t){var n=this;if(!this.groupSelect)return["multiselect__option--disabled"];var i=this.options.find((function(e){return e[n.groupLabel]===t.$groupLabel}));return[this.groupSelect?"multiselect__option--group":"multiselect__option--disabled",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]},addPointerElement:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(13),r=n(0).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){e.exports=!n(1)&&!n(12)((function(){return 7!=Object.defineProperty(n(42)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(25),r=n(23),o=n(49),a=n(6),s=n(2),l=n(24),c=n(79),u=n(27),d=n(86),h=n(7)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,m,g,y){c(n,t,v);var _,b,w,x=function(e){if(!f&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",k="values"==m,C=!1,M=e.prototype,O=M[h]||M["@@iterator"]||m&&M[m],A=O||x(m),T=m?k?x("entries"):A:void 0,D="Array"==t&&M.entries||O;if(D&&(w=d(D.call(new e)))!==Object.prototype&&(u(w,S,!0),i||s(w,h)||a(w,h,p)),k&&O&&"values"!==O.name&&(C=!0,A=function(){return O.call(this)}),i&&!y||!f&&!C&&M[h]||a(M,h,A),l[t]=A,l[S]=p,m)if(_={values:k?A:x("values"),keys:g?A:x("keys"),entries:T},y)for(b in _)b in M||o(M,b,_[b]);else r(r.P+r.F*(f||C),t,_);return _}},function(e,t,n){var i=n(10),r=n(83),o=n(22),a=n(28)("IE_PROTO"),s=function(){},l=function(){var e,t=n(42)("iframe"),i=o.length;for(t.style.display="none",n(76).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(48),r=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(2),r=n(4),o=n(73)(!1),a=n(28)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){e.exports=n(6)},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(50);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(51);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(9),r=n(18),o=n(107),a=n(58)("src"),s=Function.toString,l=(""+s).split("toString");n(52).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(17);e.exports=function(e){return Object(i(e))}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(5),r=n(34)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(99)("find")},function(e,t,n){function i(e){n(124)}var r=n(67),o=n(126),a=i,s=n(125)(r.a,o.a,!1,a,null,null);t.a=s.exports},function(e,t,n){e.exports=n(68)},function(e,t,n){e.exports=n(69)},function(e,t,n){e.exports=n(70)},function(e,t,n){function i(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r=n(61);e.exports=i},function(e,t,n){function i(e){return(i="function"==typeof a&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof a&&e.constructor===a&&e!==a.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof a&&"symbol"===i(o)?e.exports=r=function(e){return i(e)}:e.exports=r=function(e){return e&&"function"==typeof a&&e.constructor===a&&e!==a.prototype?"symbol":i(e)},r(t)}var o=n(63),a=n(62);e.exports=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(60),r=n(39),o=n(40);n.d(t,"Multiselect",(function(){return i.a})),n.d(t,"multiselectMixin",(function(){return r.a})),n.d(t,"pointerMixin",(function(){return o.a})),t.default=i.a},function(e,t,n){var i=n(39),r=n(40);t.a={name:"vue-multiselect",mixins:[i.a,r.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(e){return"and ".concat(e," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return this.singleValue&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"auto"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.prefferedOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(e,t,n){n(92);var i=n(11).Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},function(e,t,n){n(95),n(93),n(96),n(97),e.exports=n(11).Symbol},function(e,t,n){n(94),n(98),e.exports=n(33).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var i=n(4),r=n(89),o=n(88);e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(71);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(14),r=n(47),o=n(26);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){e.exports=n(0).document&&document.documentElement},function(e,t,n){var i=n(41);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(41);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(45),r=n(15),o=n(27),a={};n(6)(a,n(7)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(14),r=n(4);e.exports=function(e,t){for(var n,o=r(e),a=i(o),s=a.length,l=0;s>l;)if(o[n=a[l++]]===t)return n}},function(e,t,n){var i=n(16)("meta"),r=n(13),o=n(2),a=n(3).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(12)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},f=function(e){return c&&p.NEED&&l(e)&&!o(e,i)&&u(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},function(e,t,n){var i=n(3),r=n(10),o=n(14);e.exports=n(1)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),s=a.length,l=0;s>l;)i.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var i=n(26),r=n(15),o=n(4),a=n(31),s=n(2),l=n(43),c=Object.getOwnPropertyDescriptor;t.f=n(1)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(4),r=n(46).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},function(e,t,n){var i=n(2),r=n(90),o=n(28)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var i=n(30),r=n(21);e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var i=n(30),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(30),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(21);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(72),r=n(80),o=n(24),a=n(4);e.exports=n(44)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(23);i(i.S+i.F*!n(1),"Object",{defineProperty:n(3).f})},function(e,t){},function(e,t,n){var i=n(87)(!0);n(44)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var i=n(0),r=n(2),o=n(1),a=n(23),s=n(49),l=n(82).KEY,c=n(12),u=n(29),d=n(27),h=n(16),f=n(7),p=n(33),v=n(32),m=n(81),g=n(75),y=n(78),_=n(10),b=n(4),w=n(31),x=n(15),S=n(45),k=n(85),C=n(84),M=n(3),O=n(14),A=C.f,T=M.f,D=k.f,P=i.Symbol,R=i.JSON,E=R&&R.stringify,I=f("_hidden"),F=f("toPrimitive"),L={}.propertyIsEnumerable,$=u("symbol-registry"),N=u("symbols"),j=u("op-symbols"),H=Object.prototype,W="function"==typeof P,V=i.QObject,B=!V||!V.prototype||!V.prototype.findChild,Y=o&&c((function(){return 7!=S(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=A(H,t);i&&delete H[t],T(e,t,n),i&&e!==H&&T(H,t,i)}:T,z=function(e){var t=N[e]=S(P.prototype);return t._k=e,t},U=W&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},q=function(e,t,n){return e===H&&q(j,t,n),_(e),t=w(t,!0),_(n),r(N,t)?(n.enumerable?(r(e,I)&&e[I][t]&&(e[I][t]=!1),n=S(n,{enumerable:x(0,!1)})):(r(e,I)||T(e,I,x(1,{})),e[I][t]=!0),Y(e,t,n)):T(e,t,n)},G=function(e,t){_(e);for(var n,i=g(t=b(t)),r=0,o=i.length;o>r;)q(e,n=i[r++],t[n]);return e},Q=function(e,t){return void 0===t?S(e):G(S(e),t)},J=function(e){var t=L.call(this,e=w(e,!0));return!(this===H&&r(N,e)&&!r(j,e))&&(!(t||!r(this,e)||!r(N,e)||r(this,I)&&this[I][e])||t)},K=function(e,t){if(e=b(e),t=w(t,!0),e!==H||!r(N,t)||r(j,t)){var n=A(e,t);return!n||!r(N,t)||r(e,I)&&e[I][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=D(b(e)),i=[],o=0;n.length>o;)r(N,t=n[o++])||t==I||t==l||i.push(t);return i},X=function(e){for(var t,n=e===H,i=D(n?j:b(e)),o=[],a=0;i.length>a;)!r(N,t=i[a++])||n&&!r(H,t)||o.push(N[t]);return o};W||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(j,n),r(this,I)&&r(this[I],e)&&(this[I][e]=!1),Y(this,e,x(1,n))};return o&&B&&Y(H,e,{configurable:!0,set:t}),z(e)}).prototype,"toString",(function(){return this._k})),C.f=K,M.f=q,n(46).f=k.f=Z,n(26).f=J,n(47).f=X,o&&!n(25)&&s(H,"propertyIsEnumerable",J,!0),p.f=function(e){return z(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:P});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)f(ee[te++]);for(ee=O(f.store),te=0;ee.length>te;)v(ee[te++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=P(e)},keyFor:function(e){if(U(e))return m($,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){B=!0},useSimple:function(){B=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:q,defineProperties:G,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:X}),R&&a(a.S+a.F*(!W||c((function(){var e=P();return"[null]"!=E([e])||"{}"!=E({a:e})||"{}"!=E(Object(e))}))),"JSON",{stringify:function(e){if(void 0!==e&&!U(e)){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);return"function"==typeof(t=i[1])&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!U(t))return t}),i[1]=t,E.apply(R,i)}}}),P.prototype[F]||n(6)(P.prototype,F,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,n){n(32)("asyncIterator")},function(e,t,n){n(32)("observable")},function(e,t,n){n(91);for(var i=n(0),r=n(6),o=n(24),a=n(7)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var c=s[l],u=i[c],d=u&&u.prototype;d&&!d[a]&&r(d,a,c),o[c]=o.Array}},function(e,t,n){var i=n(38)("unscopables"),r=Array.prototype;null==r[i]&&n(18)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(19);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var i=n(115),r=n(37),o=n(114);e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(50),r=n(57),o=n(36),a=n(37);e.exports=function(e,t,n,s,l){i(t);var c=r(e),u=o(c),d=a(c.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in u){s=u[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in u&&(s=t(s,u[h],h,c));return s}},function(e,t,n){var i=n(19),r=n(54),o=n(38)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(103);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(19),r=n(9).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(18),r=n(55),o=n(8),a=n(17),s=n(38);e.exports=function(e,t,n){var l=s(e),c=n(a,l,""[e]),u=c[0],d=c[1];o((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)}))&&(r(String.prototype,e,u),i(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){e.exports=!n(35)&&!n(8)((function(){return 7!=Object.defineProperty(n(105)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(100),r=n(108),o=n(116),a=Object.defineProperty;t.f=n(35)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(9),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,n){var i=n(5),r=n(17),o=n(8),a=n(113),s="["+a+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var r={},s=o((function(){return!!a[e]()||l[e]()!=l})),c=r[e]=s?t(h):a[e];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},h=d.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var i=n(56),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(36),r=n(17);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(19);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(5),r=n(34)(2);i(i.P+i.F*!n(20)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(5),r=n(101)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(20)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(5);i(i.S,"Array",{isArray:n(54)})},function(e,t,n){var i=n(5),r=n(34)(1);i(i.P+i.F*!n(20)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(5),r=n(102);i(i.P+i.F*!n(20)([].reduce,!0),"Array",{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){n(106)("search",1,(function(e,t,n){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},n]}))},function(e,t,n){n(112)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t){},function(e,t){e.exports=function(e,t,n,i,r,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:a,exports:s,options:u}}},function(e,t,n){var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiselect",class:{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(t){e.activate()},blur:function(t){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,"ArrowDown")?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,"ArrowUp")?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t))}],keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()}}},[e._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValues,(function(t){return[e._t("tag",[n("span",{staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keydown:function(n){if(!("button"in n)&&e._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),e.removeElement(t)},mousedown:function(n){n.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]}))],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[e._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})])]:e._e(),e._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:e.isOpen&&e.searchable,expression:"isOpen && searchable"}],ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"off",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.search},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,"ArrowDown"))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,"ArrowUp"))return null;t.preventDefault(),e.pointerBackward()},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete"]))return null;t.stopPropagation(),e.removeLastElement()}]}}),e._v(" "),e.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("singleLabel",[[e._v(e._s(e.currentOptionLabel))]],{option:e.singleValue})],2):e._e(),e._v(" "),e.isPlaceholderVisible?n("span",{on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("placeholder",[n("span",{staticClass:"multiselect__single"},[e._v("\n            "+e._s(e.placeholder)+"\n          ")])])],2):e._e()],2),e._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,(function(t,i){return n("li",{key:i,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():n("span",{staticClass:"multiselect__option",class:e.optionHighlight(i,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(n){n.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(i)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?n("span",{staticClass:"multiselect__option",class:e.groupHighlight(i,t),attrs:{"data-select":e.groupSelect&&e.selectGroupLabelText,"data-deselect":e.groupSelect&&e.deselectGroupLabelText},on:{mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.groupSelect&&e.pointerSet(i)},mousedown:function(n){n.preventDefault(),e.selectGroup(t)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])})):e._e(),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},staticRenderFns:[]};t.a=i}])})),gt=t(mt);mt.VueMultiselect;function yt(e,t,n,i,r,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);const u="function"==typeof n?n.options:n;let d;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,r&&(u.functional=!0)),i&&(u._scopeId=i),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(u.functional){const e=u.render;u.render=function(t,n){return d.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,d):[d]}return n}const _t=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datepicker",class:{"datepicker-range":e.range,datepicker__clearable:e.clearable&&e.text&&!e.disabled}},["inline"!==e.type?n("input",{class:[e.show?"focus":"",e.inputClass],attrs:{readonly:"",disabled:e.disabled,placeholder:e.placeholder,name:e.name},domProps:{value:e.text}}):e._e(),e._v(" "),n("a",{staticClass:"datepicker-close",on:{click:function(t){return t.stopPropagation(),e.cls(t)}}}),e._v(" "),n("transition",{attrs:{name:"datepicker-anim"}},[e.show||"inline"===e.type?n("div",{staticClass:"datepicker-popup",class:[e.popupClass,{"datepicker-inline":"inline"===e.type}],attrs:{tabindex:"-1"}},[e.range?[n("vue-datepicker-local-calendar",{attrs:{left:!0},model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}}),e._v(" "),n("vue-datepicker-local-calendar",{attrs:{right:!0},model:{value:e.dates[1],callback:function(t){e.$set(e.dates,1,t)},expression:"dates[1]"}})]:[n("vue-datepicker-local-calendar",{model:{value:e.dates[0],callback:function(t){e.$set(e.dates,0,t)},expression:"dates[0]"}})],e._v(" "),e.showButtons?n("div",{staticClass:"datepicker__buttons"},[n("button",{staticClass:"datepicker__button-cancel",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.cancel(t)}}},[e._v(e._s(this.local.cancelTip))]),e._v(" "),n("button",{staticClass:"datepicker__button-select",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.submit(t)}}},[e._v(e._s(this.local.submitTip))])]):e._e()],2):e._e()])],1)},staticRenderFns:[]},undefined,{name:"VueDatepickerLocal",components:{VueDatepickerLocalCalendar:yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:""+e.pre},[n("div",{class:e.pre+"-head"},[n("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-prev-decade-btn",on:{click:function(t){e.year-=10}}},[e._v("«")]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-prev-year-btn",on:{click:function(t){e.year--}}},[e._v("«")]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-prev-month-btn",on:{click:e.pm}},[e._v("‹")]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-year-select"},[e._v(e._s(e.ys+"-"+e.ye))]),e._v(" "),e.local.yearSuffix?[n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year)+e._s(e.local.yearSuffix))]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))])]:[n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-month-select",on:{click:function(t){e.showMonths=!e.showMonths}}},[e._v(e._s(e.local.monthsHead[e.month]))]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-year-select",on:{click:function(t){e.showYears=!e.showYears}}},[e._v(e._s(e.year))])],e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears&&!e.showMonths,expression:"!showYears&&!showMonths"}],class:e.pre+"-next-month-btn",on:{click:e.nm}},[e._v("›")]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showYears,expression:"!showYears"}],class:e.pre+"-next-year-btn",on:{click:function(t){e.year++}}},[e._v("»")]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-next-decade-btn",on:{click:function(t){e.year+=10}}},[e._v("»")])],2),e._v(" "),n("div",{class:e.pre+"-body"},[n("div",{class:e.pre+"-days"},[e._l(e.local.weeks,(function(t){return n("a",{key:t,class:e.pre+"-week"},[e._v(e._s(t))])})),e._v(" "),e._l(e.days,(function(t,i){return n("a",{key:i,class:[t.p||t.n?e.pre+"-date-out":"",e.status(t.y,t.m,t.i,e.hour,e.minute,e.second,"YYYYMMDD")],on:{click:function(n){e.is(n)&&(e.day=t.i,e.ok(t))}}},[e._v(e._s(t.i))])}))],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonths,expression:"showMonths"}],class:e.pre+"-months"},e._l(e.local.months,(function(t,i){return n("a",{key:i,class:[e.status(e.year,i,e.day,e.hour,e.minute,e.second,"YYYYMM")],on:{click:function(t){e.is(t)&&(e.showMonths="M"===e.m,e.month=i,"M"===e.m&&e.ok())}}},[e._v(e._s(t))])})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showYears,expression:"showYears"}],class:e.pre+"-years"},e._l(e.years,(function(t,i){return n("a",{key:i,class:[0===i||11===i?e.pre+"-date-out":"",e.status(t,e.month,e.day,e.hour,e.minute,e.second,"YYYY")],on:{click:function(n){e.is(n)&&(e.showYears="Y"===e.m,e.year=t,"Y"===e.m&&e.ok())}}},[e._v(e._s(t))])})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showHours,expression:"showHours"}],class:e.pre+"-hours"},[n("div",{class:e.pre+"-title"},[e._v(e._s(e.local.hourTip))]),e._v(" "),e._l(24,(function(t,i){return n("a",{key:i,class:[e.status(e.year,e.month,e.day,i,e.minute,e.second,"YYYYMMDDHH")],on:{click:function(t){e.is(t)&&(e.showHours=!1,e.hour=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showMinutes,expression:"showMinutes"}],class:e.pre+"-minutes"},[n("div",{class:e.pre+"-title"},[e._v(e._s(e.local.minuteTip))]),e._v(" "),e._l(60,(function(t,i){return n("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,i,e.second,"YYYYMMDDHHmm")],on:{click:function(t){e.is(t)&&(e.showMinutes=!1,e.minute=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],class:e.pre+"-seconds"},[n("div",{class:e.pre+"-title"},[e._v(e._s(e.local.secondTip))]),e._v(" "),e._l(60,(function(t,i){return n("a",{key:i,class:[e.status(e.year,e.month,e.day,e.hour,e.minute,i,"YYYYMMDDHHmmss")],on:{click:function(t){e.is(t)&&(e.showSeconds=!1,e.second=i,e.ok("h"))}}},[e._v(e._s(i))])}))],2)]),e._v(" "),"H"===e.m?n("div",{class:e.pre+"-foot"},[n("div",{class:e.pre+"-hour"},[n("a",{class:{on:e.showHours},attrs:{title:e.local.hourTip},on:{click:function(t){e.showHours=!e.showHours,e.showMinutes=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.hour)))]),e._v(" "),n("span",[e._v(":")]),e._v(" "),n("a",{class:{on:e.showMinutes},attrs:{title:e.local.minuteTip},on:{click:function(t){e.showMinutes=!e.showMinutes,e.showHours=e.showSeconds=!1}}},[e._v(e._s(e._f("dd")(e.minute)))]),e._v(" "),n("span",[e._v(":")]),e._v(" "),n("a",{class:{on:e.showSeconds},attrs:{title:e.local.secondTip},on:{click:function(t){e.showSeconds=!e.showSeconds,e.showHours=e.showMinutes=!1}}},[e._v(e._s(e._f("dd")(e.second)))])])]):e._e()])},staticRenderFns:[]},undefined,{name:"VueDatepickerLocalCalendar",props:{value:null,left:!1,right:!1},data(){const e=this.get(this.value);return{pre:"calendar",m:"D",showYears:!1,showMonths:!1,showHours:!1,showMinutes:!1,showSeconds:!1,year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second}},watch:{value(e){const t=this,n=t.get(e);t.year=n.year,t.month=n.month,t.day=n.day,t.hour=n.hour,t.minute=n.minute,t.second=n.second}},computed:{local(){return this.$parent.local},format(){return this.$parent.format},start(){return this.parse(this.$parent.dates[0])},end(){return this.parse(this.$parent.dates[1])},ys(){return 10*parseInt(this.year/10)},ye(){return this.ys+10},years(){const e=[];let t=this.ys-1;for(;e.length<12;)e.push(t++);return e},days(){const e=[],t=this,n=t.year,i=t.month,r=new Date(n,i,1),o=t.local.dow||7;r.setDate(0);let a=r.getDate();const s=r.getDay()||7;let l=o<=s?s-o+1:s+(7-o+1);for(;l>0;)e.push({i:a-l+1,y:i>0?n:n-1,m:i>0?i-1:11,p:!0}),l--;r.setMonth(r.getMonth()+2,0),a=r.getDate();let c=1;for(c=1;c<=a;c++)e.push({i:c,y:n,m:i});for(c=1;e.length<42;c++)e.push({i:c,y:i<11?n:n+1,m:i<11?i+1:0,n:!0});return e}},filters:{dd:e=>("0"+e).slice(-2)},methods:{get:e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()}),parse:e=>parseInt(e/1e3),status(e,t,n,i,r,o,a){const s=this,l=new Date(e,t+1,0).getDate(),c=new Date(e,t,n>l?l:n,i,r,o),u=s.parse(c),d=s.$parent.tf,h={};let f=!1;return f="YYYY"===a?e===s.year:"YYYYMM"===a?t===s.month:d(s.value,a)===d(c,a),h[`${s.pre}-date`]=!0,h[`${s.pre}-date-disabled`]=s.right&&u<s.start||s.left&&u>s.end||s.$parent.disabledDate(c,a),h[`${s.pre}-date-on`]=s.left&&u>s.start||s.right&&u<s.end,h[`${s.pre}-date-selected`]=f,h},nm(){this.month<11?this.month++:(this.month=0,this.year++)},pm(){this.month>0?this.month--:(this.month=11,this.year--)},is(e){return-1===e.target.className.indexOf(`${this.pre}-date-disabled`)},ok(e){const t=this;let n="",i="";if(e&&e.n&&t.nm(),e&&e.p&&t.pm(),"h"===e){const e=t.get(this.value);n=e.year,i=e.month}t.$emit("input",new Date(n||t.year,i||t.month,t.day,t.hour,t.minute,t.second)),t.$parent.ok("h"===e)}},mounted(){const e=this,t=t=>-1!==e.format.indexOf(t);t("s")&&t("m")&&(t("h")||t("H"))?e.m="H":t("D")?e.m="D":t("M")?(e.m="M",e.showMonths=!0):t("Y")&&(e.m="Y",e.showYears=!0)}},undefined,false,undefined,!1,void 0,void 0,void 0)},props:{name:[String],inputClass:[String],popupClass:[String],value:[Date,Array,String],disabled:[Boolean],type:{type:String,default:"normal"},rangeSeparator:{type:String,default:"~"},clearable:{type:Boolean,default:!1},placeholder:[String],disabledDate:{type:Function,default:()=>!1},format:{type:String,default:"YYYY-MM-DD"},local:{type:Object,default:()=>({dow:1,hourTip:"选择小时",minuteTip:"选择分钟",secondTip:"选择秒数",yearSuffix:"年",monthsHead:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),weeks:"一_二_三_四_五_六_日".split("_"),cancelTip:"取消",submitTip:"确定"})},showButtons:{type:Boolean,default:!1},dateRangeSelect:[Function]},data(){return{show:!1,dates:this.vi(this.value)}},computed:{range(){return 2===this.dates.length},text(){const e=this.value,t=this.dates.map((e=>this.tf(e))).join(` ${this.rangeSeparator} `);return Array.isArray(e)?e.length>1?t:"":e?t:""}},watch:{value(e){this.dates=this.vi(this.value)}},methods:{get(){return Array.isArray(this.value)?this.dates:this.dates[0]},cls(){this.$emit("input",this.range?[]:"")},vi:e=>Array.isArray(e)?e.length>1?e.map((e=>new Date(e))):[new Date,new Date]:e?new Array(new Date(e)):[new Date],ok(e){const t=this;t.$emit("input",t.get()),!e&&!t.showButtons&&setTimeout((()=>{t.show=t.range}))},tf(e,t){const n=e.getFullYear(),i=e.getMonth(),r=e.getDate(),o=e.getHours(),a=o%12==0?12:o%12,s=e.getMinutes(),l=e.getSeconds(),c=e.getMilliseconds(),u=e=>("0"+e).slice(-2),d={YYYY:n,MM:u(i+1),MMM:this.local.months[i],MMMM:this.local.monthsHead[i],M:i+1,DD:u(r),D:r,HH:u(o),H:o,hh:u(a),h:a,mm:u(s),m:s,ss:u(l),s:l,S:c};return(t||this.format).replace(/Y+|M+|D+|H+|h+|m+|s+|S+/g,(e=>d[e]))},dc(e){this.show=this.$el.contains(e.target)&&!this.disabled},submit(){this.$emit("confirm",this.get()),this.show=!1},cancel(){this.show=!1}},mounted(){document.addEventListener("click",this.dc,!0)},beforeDestroy(){document.removeEventListener("click",this.dc,!0)}},undefined,false,undefined,!1,void 0,void 0,void 0);function bt(e){e.component(_t.name,_t)}_t.install=bt,"undefined"!=typeof window&&window.Vue&&bt(window.Vue);const wt=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"searchwp-tooltip"},[n("span",[e._t("default")],2),e._v(" "),n("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.content,expression:"content"}],staticClass:"dashicons dashicons-editor-help"})])},staticRenderFns:[]},undefined,{props:{content:String},data:()=>({})},undefined,false,undefined,!1,void 0,void 0,void 0);var xt,St={noop:function(){},uid:(xt=0,function(){return xt++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return St.valueOrDefault(St.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var r,o,a;if(St.isArray(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if(St.isObject(e))for(o=(a=Object.keys(e)).length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])},arrayEquals:function(e,t){var n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!St.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(e){if(St.isArray(e))return e.map(St.clone);if(St.isObject(e)){for(var t={},n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=St.clone(e[n[r]]);return t}return e},_merger:function(e,t,n,i){var r=t[e],o=n[e];St.isObject(r)&&St.isObject(o)?St.merge(r,o,i):t[e]=St.clone(o)},_mergerIf:function(e,t,n){var i=t[e],r=n[e];St.isObject(i)&&St.isObject(r)?St.mergeIf(i,r):t.hasOwnProperty(e)||(t[e]=St.clone(r))},merge:function(e,t,n){var i,r,o,a,s,l=St.isArray(t)?t:[t],c=l.length;if(!St.isObject(e))return e;for(i=(n=n||{}).merger||St._merger,r=0;r<c;++r)if(t=l[r],St.isObject(t))for(s=0,a=(o=Object.keys(t)).length;s<a;++s)i(o[s],e,t,n);return e},mergeIf:function(e,t){return St.merge(e,t,{merger:St._mergerIf})},extend:function(e){for(var t=function(t,n){e[n]=t},n=1,i=arguments.length;n<i;++n)St.each(arguments[n],t);return e},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=St.inherits,e&&St.extend(n.prototype,e),n.__super__=t.prototype,n}},kt=St;St.callCallback=St.callback,St.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},St.getValueOrDefault=St.valueOrDefault,St.getValueAtIndexOrDefault=St.valueAtIndexOrDefault;var Ct={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t,n=0;return 0===e?0:1===e?1:(n||(n=.3),t=n/(2*Math.PI)*Math.asin(1),-1*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t,n=0;return 0===e?0:1===e?1:(n||(n=.3),t=n/(2*Math.PI)*Math.asin(1),1*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t,n=0;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),t=n/(2*Math.PI)*Math.asin(1),e<1?1*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:1*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-Ct.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*Ct.easeInBounce(2*e):.5*Ct.easeOutBounce(2*e-1)+.5}},Mt={effects:Ct};kt.easingEffects=Ct;var Ot=n((function(e){var t=e.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,o){if(o){var a=Math.min(o,i/2),s=Math.min(o,r/2);e.moveTo(t+a,n),e.lineTo(t+i-a,n),e.quadraticCurveTo(t+i,n,t+i,n+s),e.lineTo(t+i,n+r-s),e.quadraticCurveTo(t+i,n+r,t+i-a,n+r),e.lineTo(t+a,n+r),e.quadraticCurveTo(t,n+r,t,n+r-s),e.lineTo(t,n+s),e.quadraticCurveTo(t,n,t+a,n)}else e.rect(t,n,i,r)},drawPoint:function(e,t,n,i,r){var o,a,s,l,c,u;if(!t||"object"!=typeof t||"[object HTMLImageElement]"!==(o=t.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(t){default:e.beginPath(),e.arc(i,r,n,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),c=(a=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(i-a/2,r+c/3),e.lineTo(i+a/2,r+c/3),e.lineTo(i,r-2*c/3),e.closePath(),e.fill();break;case"rect":u=1/Math.SQRT2*n,e.beginPath(),e.fillRect(i-u,r-u,2*u,2*u),e.strokeRect(i-u,r-u,2*u,2*u);break;case"rectRounded":var d=n/Math.SQRT2,h=i-d,f=r-d,p=Math.SQRT2*n;e.beginPath(),this.roundedRect(e,h,f,p,p,n/2),e.closePath(),e.fill();break;case"rectRot":u=1/Math.SQRT2*n,e.beginPath(),e.moveTo(i-u,r),e.lineTo(i,r+u),e.lineTo(i+u,r),e.lineTo(i,r-u),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,r+n),e.lineTo(i,r-n),e.moveTo(i-n,r),e.lineTo(i+n,r),e.closePath();break;case"crossRot":e.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i-s,r+l),e.lineTo(i+s,r-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,r+n),e.lineTo(i,r-n),e.moveTo(i-n,r),e.lineTo(i+n,r),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i-s,r+l),e.lineTo(i+s,r-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-n,r),e.lineTo(i+n,r),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,r),e.lineTo(i+n,r),e.closePath()}e.stroke()}}else e.drawImage(t,i-t.width/2,r-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}};kt.clear=t.clear,kt.drawRoundedRectangle=function(e){e.beginPath(),t.roundedRect.apply(t,arguments),e.closePath()}})),At=(Ot.clear,Ot.roundedRect,Ot.drawPoint,Ot.clipArea,Ot.unclipArea,Ot.lineTo,{toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,r;return kt.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,r=+e.left||0):t=n=i=r=+e||0,{top:t,right:n,bottom:i,left:r,height:t+i,width:r+n}},resolve:function(e,t,n){var i,r,o;for(i=0,r=e.length;i<r;++i)if(void 0!==(o=e[i])&&(void 0!==t&&"function"==typeof o&&(o=o(t)),void 0!==n&&kt.isArray(o)&&(o=o[n]),void 0!==o))return o}}),Tt=kt,Dt=Mt,Pt=Ot,Rt=At;Tt.easing=Dt,Tt.canvas=Pt,Tt.options=Rt;var Et={_set:function(e,t){return Tt.merge(this[e]||(this[e]={}),t)}};Et._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}});var It={rgb2hsl:Ft,rgb2hsv:Lt,rgb2hwb:$t,rgb2cmyk:Nt,rgb2keyword:jt,rgb2xyz:Ht,rgb2lab:Wt,rgb2lch:function(e){return Qt(Wt(e))},hsl2rgb:Vt,hsl2hsv:function(e){var t=e[0],n=e[1]/100,i=e[2]/100;if(0===i)return[0,0,0];return[t,100*(2*(n*=(i*=2)<=1?i:2-i)/(i+n)),100*((i+n)/2)]},hsl2hwb:function(e){return $t(Vt(e))},hsl2cmyk:function(e){return Nt(Vt(e))},hsl2keyword:function(e){return jt(Vt(e))},hsv2rgb:Bt,hsv2hsl:function(e){var t,n,i=e[0],r=e[1]/100,o=e[2]/100;return t=r*o,[i,100*(t=(t/=(n=(2-r)*o)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return $t(Bt(e))},hsv2cmyk:function(e){return Nt(Bt(e))},hsv2keyword:function(e){return jt(Bt(e))},hwb2rgb:Yt,hwb2hsl:function(e){return Ft(Yt(e))},hwb2hsv:function(e){return Lt(Yt(e))},hwb2cmyk:function(e){return Nt(Yt(e))},hwb2keyword:function(e){return jt(Yt(e))},cmyk2rgb:zt,cmyk2hsl:function(e){return Ft(zt(e))},cmyk2hsv:function(e){return Lt(zt(e))},cmyk2hwb:function(e){return $t(zt(e))},cmyk2keyword:function(e){return jt(zt(e))},keyword2rgb:Zt,keyword2hsl:function(e){return Ft(Zt(e))},keyword2hsv:function(e){return Lt(Zt(e))},keyword2hwb:function(e){return $t(Zt(e))},keyword2cmyk:function(e){return Nt(Zt(e))},keyword2lab:function(e){return Wt(Zt(e))},keyword2xyz:function(e){return Ht(Zt(e))},xyz2rgb:Ut,xyz2lab:qt,xyz2lch:function(e){return Qt(qt(e))},lab2xyz:Gt,lab2rgb:Jt,lab2lch:Qt,lch2lab:Kt,lch2xyz:function(e){return Gt(Kt(e))},lch2rgb:function(e){return Jt(Kt(e))}};function Ft(e){var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return s==a?t=0:i==s?t=(r-o)/l:r==s?t=2+(o-i)/l:o==s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]}function Lt(e){var t,n,i=e[0],r=e[1],o=e[2],a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return n=0==s?0:l/s*1e3/10,s==a?t=0:i==s?t=(r-o)/l:r==s?t=2+(o-i)/l:o==s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function $t(e){var t=e[0],n=e[1],i=e[2];return[Ft(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(i=1-1/255*Math.max(t,Math.max(n,i)))]}function Nt(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]}function jt(e){return en[JSON.stringify(e)]}function Ht(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]}function Wt(e){var t=Ht(e),n=t[0],i=t[1],r=t[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function Vt(e){var t,n,i,r,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var c=0;c<3;c++)(i=a+1/3*-(c-1))<0&&i++,i>1&&i--,o=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[c]=255*o;return r}function Bt(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,o=t-Math.floor(t),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));i*=255;switch(r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}}function Yt(e){var t,n,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),i=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(i=1-i),o=s+i*((n=1-l)-s),t){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function zt(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]}function Ut(e){var t,n,i,r=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,t=(t=3.2406*r+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function qt(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function Gt(e){var t,n,i,r,o=e[0],a=e[1],s=e[2];return o<=8?r=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),r=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+r-16/116)/7.787:95.047*Math.pow(a/500+r,3),n,i=i/108.883<=.008859?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3)]}function Qt(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]}function Jt(e){return Ut(Gt(e))}function Kt(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]}function Zt(e){return Xt[e]}var Xt={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]},en={};for(var tn in Xt)en[JSON.stringify(Xt[tn])]=tn;var nn=function(){return new ln};for(var rn in It){nn[rn+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),It[e](t)}}(rn);var on=/(\w+)2(\w+)/.exec(rn),an=on[1],sn=on[2];(nn[an]=nn[an]||{})[sn]=nn[rn]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=It[e](t);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}}(rn)}var ln=function(){this.convs={}};ln.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},ln.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},ln.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,i=this.convs[n];t=nn[n][e](i),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach((function(e){ln.prototype[e]=function(t){return this.routeSpace(e,arguments)}}));var cn=nn,un={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]},dn={getRgba:hn,getHsla:fn,getRgb:function(e){var t=hn(e);return t&&t.slice(0,3)},getHsl:function(e){var t=fn(e);return t&&t.slice(0,3)},getHwb:pn,getAlpha:function(e){var t=hn(e);if(t)return t[3];if(t=fn(e))return t[3];if(t=pn(e))return t[3]},hexString:function(e){return"#"+_n(e[0])+_n(e[1])+_n(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return vn(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:vn,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return mn(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:mn,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return gn(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:gn,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return bn[e.slice(0,3)]}};function hn(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var r=0;r<t.length;r++)t[r]=parseInt(i[r]+i[r],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(r=0;r<t.length;r++)t[r]=parseInt(i.slice(2*r,2*r+2),16)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=parseInt(i[r+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=Math.round(2.55*parseFloat(i[r+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=un[i[1]]))return}for(r=0;r<t.length;r++)t[r]=yn(t[r],0,255);return n=n||0==n?yn(n,0,1):1,t[3]=n,t}}function fn(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[yn(parseInt(t[1]),0,360),yn(parseFloat(t[2]),0,100),yn(parseFloat(t[3]),0,100),yn(isNaN(n)?1:n,0,1)]}}}function pn(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[yn(parseInt(t[1]),0,360),yn(parseFloat(t[2]),0,100),yn(parseFloat(t[3]),0,100),yn(isNaN(n)?1:n,0,1)]}}}function vn(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function mn(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function gn(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function yn(e,t,n){return Math.min(Math.max(t,e),n)}function _n(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var bn={};for(var wn in un)bn[un[wn]]=wn;var xn=function(e){return e instanceof xn?e:this instanceof xn?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=dn.getRgba(e))?this.setValues("rgb",t):(t=dn.getHsla(e))?this.setValues("hsl",t):(t=dn.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new xn(e);var t};xn.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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return dn.hexString(this.values.rgb)},rgbString:function(){return dn.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return dn.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return dn.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return dn.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return dn.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return dn.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return dn.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,r=void 0===t?.5:t,o=2*r-1,a=n.alpha()-i.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new xn,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(e=i[o],"[object Array]"===(t={}.toString.call(e))?r[o]=e.slice(0):"[object Number]"===t?r[o]=e:console.error("unexpected color value:",e));return n}},xn.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},xn.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},xn.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},xn.prototype.setValues=function(e,t){var n,i,r=this.values,o=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)r[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)r[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[o[e][0]]){var l=o[e];for(n=0;n<e.length;n++)r[e][n]=t[l[n]];s=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(a[e][n],r[e][n])),r[e][n]=Math.round(i);for(var c in o)c!==e&&(r[c]=cn[e][c](r[e]));return!0},xn.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},xn.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n===i[t]||(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=xn);var Sn=xn;var kn=function(e){Tt.extend(this,e),this.initialize.apply(this,arguments)};Tt.extend(kn.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=Tt.clone(e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,r=t._view;return n&&1!==e?(r||(r=t._view={}),i||(i=t._start={}),function(e,t,n,i){var r,o,a,s,l,c,u,d,h,f=Object.keys(n);for(r=0,o=f.length;r<o;++r)if(c=n[a=f[r]],t.hasOwnProperty(a)||(t[a]=c),(s=t[a])!==c&&"_"!==a[0]){if(e.hasOwnProperty(a)||(e[a]=s),(u=typeof c)==typeof(l=e[a]))if("string"===u){if((d=Sn(l)).valid&&(h=Sn(c)).valid){t[a]=h.mix(d,i).rgbString();continue}}else if("number"===u&&isFinite(l)&&isFinite(c)){t[a]=l+(c-l)*i;continue}t[a]=c}}(i,r,n,e),t):(t._view=n,t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Tt.isNumber(this._model.x)&&Tt.isNumber(this._model.y)}}),kn.extend=Tt.inherits;var Cn=kn;Et._set("global",{elements:{arc:{backgroundColor:Et.global.defaultColor,borderColor:"#fff",borderWidth:2}}});var Mn=Cn.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=Tt.getAngleFromPoint(n,{x:e,y:t}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=2*Math.PI;for(;r>s;)r-=2*Math.PI;for(;r<a;)r+=2*Math.PI;var l=r>=a&&r<=s,c=o>=n.innerRadius&&o<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,i=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,i),e.arc(t.x,t.y,t.innerRadius,i,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}}),On=Et.global;Et._set("global",{elements:{line:{tension:.4,backgroundColor:On.defaultColor,borderWidth:3,borderColor:On.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var An=Cn.extend({draw:function(){var e,t,n,i,r=this,o=r._view,a=r._chart.ctx,s=o.spanGaps,l=r._children.slice(),c=On.elements.line,u=-1;for(r._loop&&l.length&&l.push(l[0]),a.save(),a.lineCap=o.borderCapStyle||c.borderCapStyle,a.setLineDash&&a.setLineDash(o.borderDash||c.borderDash),a.lineDashOffset=o.borderDashOffset||c.borderDashOffset,a.lineJoin=o.borderJoinStyle||c.borderJoinStyle,a.lineWidth=o.borderWidth||c.borderWidth,a.strokeStyle=o.borderColor||On.defaultColor,a.beginPath(),u=-1,e=0;e<l.length;++e)t=l[e],n=Tt.previousItem(l,e),i=t._view,0===e?i.skip||(a.moveTo(i.x,i.y),u=e):(n=-1===u?n:l[u],i.skip||(u!==e-1&&!s||-1===u?a.moveTo(i.x,i.y):Tt.canvas.lineTo(a,n._view,t._view),u=e));a.stroke(),a.restore()}}),Tn=Et.global.defaultColor;function Dn(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}Et._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Tn,borderColor:Tn,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Pn=Cn.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:Dn,inXRange:Dn,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._model,i=this._chart.ctx,r=t.pointStyle,o=t.radius,a=t.x,s=t.y,l=Tt.color,c=1.01,u=0;t.skip||(i.strokeStyle=t.borderColor||Tn,i.lineWidth=Tt.valueOrDefault(t.borderWidth,Et.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||Tn,void 0!==e&&(n.x<e.left||e.right*c<n.x||n.y<e.top||e.bottom*c<n.y)&&(n.x<e.left?u=(a-n.x)/(e.left-n.x):e.right*c<n.x?u=(n.x-a)/(n.x-e.right):n.y<e.top?u=(s-n.y)/(e.top-n.y):e.bottom*c<n.y&&(u=(n.y-s)/(n.y-e.bottom)),u=Math.round(100*u)/100,i.strokeStyle=l(i.strokeStyle).alpha(u).rgbString(),i.fillStyle=l(i.fillStyle).alpha(u).rgbString()),Tt.canvas.drawPoint(i,r,o,a,s))}});function Rn(e){return void 0!==e._view.width}function En(e){var t,n,i,r,o=e._view;if(Rn(e)){var a=o.width/2;t=o.x-a,n=o.x+a,i=Math.min(o.y,o.base),r=Math.max(o.y,o.base)}else{var s=o.height/2;t=Math.min(o.x,o.base),n=Math.max(o.x,o.base),i=o.y-s,r=o.y+s}return{left:t,top:i,right:n,bottom:r}}Et._set("global",{elements:{rectangle:{backgroundColor:Et.global.defaultColor,borderColor:Et.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}});var In=Cn.extend({draw:function(){var e,t,n,i,r,o,a,s=this._chart.ctx,l=this._view,c=l.borderWidth;if(l.horizontal?(e=l.base,t=l.x,n=l.y-l.height/2,i=l.y+l.height/2,r=t>e?1:-1,o=1,a=l.borderSkipped||"left"):(e=l.x-l.width/2,t=l.x+l.width/2,n=l.y,r=1,o=(i=l.base)>n?1:-1,a=l.borderSkipped||"bottom"),c){var u=Math.min(Math.abs(e-t),Math.abs(n-i)),d=(c=c>u?u:c)/2,h=e+("left"!==a?d*r:0),f=t+("right"!==a?-d*r:0),p=n+("top"!==a?d*o:0),v=i+("bottom"!==a?-d*o:0);h!==f&&(n=p,i=v),p!==v&&(e=h,t=f)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=c;var m=[[e,i],[e,n],[t,n],[t,i]],g=["bottom","left","top","right"].indexOf(a,0);function y(e){return m[(g+e)%4]}-1===g&&(g=0);var _=y(0);s.moveTo(_[0],_[1]);for(var b=1;b<4;b++)_=y(b),s.lineTo(_[0],_[1]);s.fill(),c&&s.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var i=En(this);n=e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return n},inLabelRange:function(e,t){var n=this;if(!n._view)return!1;var i=En(n);return Rn(n)?e>=i.left&&e<=i.right:t>=i.top&&t<=i.bottom},inXRange:function(e){var t=En(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=En(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return Rn(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Fn={},Ln=Mn,$n=An,Nn=Pn,jn=In;function Hn(e,t){return e.native?{x:e.x,y:e.y}:Tt.getRelativePosition(e,t)}function Wn(e,t){var n,i,r,o,a;for(i=0,o=e.data.datasets.length;i<o;++i)if(e.isDatasetVisible(i))for(r=0,a=(n=e.getDatasetMeta(i)).data.length;r<a;++r){var s=n.data[r];s._view.skip||t(s)}}function Vn(e,t){var n=[];return Wn(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function Bn(e,t,n,i){var r=Number.POSITIVE_INFINITY,o=[];return Wn(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=i(t,a);s<r?(o=[e],r=s):s===r&&o.push(e)}})),o}function Yn(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,i){var r=t?Math.abs(e.x-i.x):0,o=n?Math.abs(e.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function zn(e,t,n){var i=Hn(t,e);n.axis=n.axis||"x";var r=Yn(n.axis),o=n.intersect?Vn(e,i):Bn(e,i,!1,r),a=[];return o.length?(e.data.datasets.forEach((function(t,n){if(e.isDatasetVisible(n)){var i=e.getDatasetMeta(n).data[o[0]._index];i&&!i._view.skip&&a.push(i)}})),a):[]}Fn.Arc=Ln,Fn.Line=$n,Fn.Point=Nn,Fn.Rectangle=jn;var Un={modes:{single:function(e,t){var n=Hn(t,e),i=[];return Wn(e,(function(e){if(e.inRange(n.x,n.y))return i.push(e),i})),i.slice(0,1)},label:zn,index:zn,dataset:function(e,t,n){var i=Hn(t,e);n.axis=n.axis||"xy";var r=Yn(n.axis),o=n.intersect?Vn(e,i):Bn(e,i,!1,r);return o.length>0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return zn(e,t,{intersect:!1})},point:function(e,t){return Vn(e,Hn(t,e))},nearest:function(e,t,n){var i=Hn(t,e);n.axis=n.axis||"xy";var r=Yn(n.axis),o=Bn(e,i,n.intersect,r);return o.length>1&&o.sort((function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n})),o.slice(0,1)},x:function(e,t,n){var i=Hn(t,e),r=[],o=!1;return Wn(e,(function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r},y:function(e,t,n){var i=Hn(t,e),r=[],o=!1;return Wn(e,(function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r}}};function qn(e,t){return Tt.where(e,(function(e){return e.position===t}))}function Gn(e,t){e.forEach((function(e,t){return e._tmpIndex_=t,e})),e.sort((function(e,n){var i=t?n:e,r=t?e:n;return i.weight===r.weight?i._tmpIndex_-r._tmpIndex_:i.weight-r.weight})),e.forEach((function(e){delete e._tmpIndex_}))}var Qn={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)i=r[a],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(e,t,n){if(e){var i=e.options.layout||{},r=Tt.options.toPadding(i.padding),o=r.left,a=r.right,s=r.top,l=r.bottom,c=qn(e.boxes,"left"),u=qn(e.boxes,"right"),d=qn(e.boxes,"top"),h=qn(e.boxes,"bottom"),f=qn(e.boxes,"chartArea");Gn(c,!0),Gn(u,!1),Gn(d,!0),Gn(h,!1);var p=t-o-a,v=n-s-l,m=v/2,g=(t-p/2)/(c.length+u.length),y=(n-m)/(d.length+h.length),_=p,b=v,w=[];Tt.each(c.concat(u,d,h),(function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?p:_,y),b-=t.height):(t=e.update(g,b),_-=t.width),w.push({horizontal:n,minSize:t,box:e})}));var x=0,S=0,k=0,C=0;Tt.each(d.concat(h),(function(e){if(e.getPadding){var t=e.getPadding();x=Math.max(x,t.left),S=Math.max(S,t.right)}})),Tt.each(c.concat(u),(function(e){if(e.getPadding){var t=e.getPadding();k=Math.max(k,t.top),C=Math.max(C,t.bottom)}}));var M=o,O=a,A=s,T=l;Tt.each(c.concat(u),L),Tt.each(c,(function(e){M+=e.width})),Tt.each(u,(function(e){O+=e.width})),Tt.each(d.concat(h),L),Tt.each(d,(function(e){A+=e.height})),Tt.each(h,(function(e){T+=e.height})),Tt.each(c.concat(u),(function(e){var t=Tt.findNextWhere(w,(function(t){return t.box===e})),n={left:0,right:0,top:A,bottom:T};t&&e.update(t.minSize.width,b,n)})),M=o,O=a,A=s,T=l,Tt.each(c,(function(e){M+=e.width})),Tt.each(u,(function(e){O+=e.width})),Tt.each(d,(function(e){A+=e.height})),Tt.each(h,(function(e){T+=e.height}));var D=Math.max(x-M,0);M+=D,O+=Math.max(S-O,0);var P=Math.max(k-A,0);A+=P,T+=Math.max(C-T,0);var R=n-A-T,E=t-M-O;E===_&&R===b||(Tt.each(c,(function(e){e.height=R})),Tt.each(u,(function(e){e.height=R})),Tt.each(d,(function(e){e.fullWidth||(e.width=E)})),Tt.each(h,(function(e){e.fullWidth||(e.width=E)})),b=R,_=E);var I=o+D,F=s+P;Tt.each(c.concat(d),$),I+=_,F+=b,Tt.each(u,$),Tt.each(h,$),e.chartArea={left:M,top:A,right:M+_,bottom:A+b},Tt.each(f,(function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(_,b)}))}function L(e){var t=Tt.findNextWhere(w,(function(t){return t.box===e}));if(t)if(e.isHorizontal()){var n={left:Math.max(M,x),right:Math.max(O,S),top:0,bottom:0};e.update(e.fullWidth?p:_,v/2,n)}else e.update(t.minSize.width,b)}function $(e){e.isHorizontal()?(e.left=e.fullWidth?o:M,e.right=e.fullWidth?t-a:M+_,e.top=F,e.bottom=F+e.height,F=e.bottom):(e.left=I,e.right=I+e.width,e.top=A,e.bottom=A+b,I=e.right)}}},Jn="chartjs-render-monitor",Kn="chartjs-render-animation",Zn=["animationstart","webkitAnimationStart"],Xn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ei(e,t){var n=Tt.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ti=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function ni(e,t,n){e.addEventListener(t,n,ti)}function ii(e,t,n){e.removeEventListener(t,n,ti)}function ri(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function oi(e,t,n){var i=e.$chartjs||(e.$chartjs={}),r=i.resizer=function(e){var t=document.createElement("div"),n="chartjs-size-monitor",i=1e6,r="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=r,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+r+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+r+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var o=t.childNodes[0],a=t.childNodes[1];t._reset=function(){o.scrollLeft=i,o.scrollTop=i,a.scrollLeft=i,a.scrollTop=i};var s=function(){t._reset(),e()};return ni(o,"scroll",s.bind(o,"expand")),ni(a,"scroll",s.bind(a,"shrink")),t}(function(e,t){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,Tt.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,i)})))}}((function(){if(i.resizer)return t(ri("resize",n))})));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),i=n.renderProxy=function(e){e.animationName===Kn&&t()};Tt.each(Zn,(function(t){ni(e,t,i)})),n.reflow=!!e.offsetParent,e.classList.add(Jn)}(e,(function(){if(i.resizer){var t=e.parentNode;t&&t!==r.parentNode&&t.insertBefore(r,t.firstChild),r._reset()}}))}function ai(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(Tt.each(Zn,(function(t){ii(e,t,n)})),delete t.renderProxy),e.classList.remove(Jn)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var si={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e="from{opacity:0.99}to{opacity:1}";!function(e,t){var n=e._style||document.createElement("style");e._style||(e._style=n,t="/* Chart.js */\n"+t,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))}(this,"@-webkit-keyframes chartjs-render-animation{"+e+"}@keyframes "+Kn+"{"+e+"}."+Jn+"{-webkit-animation:"+Kn+" 0.001s;animation:"+Kn+" 0.001s;}")},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=ei(e,"width");void 0!==o&&(e.width=o)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=ei(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];Tt.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),Tt.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=n.$chartjs||(n.$chartjs={});ni(i,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=Xn[e.type]||e.type,i=Tt.getRelativePosition(e,t);return ri(n,t,i.x,i.y,e)}(t,e))})}else oi(i,n,e)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];r&&ii(i,t,r)}else ai(i)}};Tt.addEvent=ni,Tt.removeEvent=ii;var li=si._enabled?si:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},ci=Tt.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},li);Et._set("global",{plugins:{}});var ui={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,r,o,a,s,l=this.descriptors(e),c=l.length;for(i=0;i<c;++i)if("function"==typeof(s=(o=(r=l[i]).plugin)[t])&&((a=[e].concat(n||[])).push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],i=[],r=e&&e.config||{},o=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,r=o[t];!1!==r&&(!0===r&&(r=Tt.clone(Et.global.plugins[t])),n.push(e),i.push({plugin:e,options:r||{}}))}})),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},di={formatters:{values:function(e){return Tt.isArray(e)?e:""+e},linear:function(e,t,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=Tt.log10(Math.abs(i)),o="";if(0!==e){var a=-1*Math.floor(r);a=Math.max(Math.min(a,20),0),o=e.toFixed(a)}else o="0";return o},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(Tt.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}};Et._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Tt.noop,onComplete:Tt.noop}});function hi(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(e[t].label);return i}function fi(e,t,n){var i=e.getPixelForTick(t);return n&&(i-=0===t?(e.getPixelForTick(1)-i)/2:(i-e.getPixelForTick(t-1))/2),i}Et._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:di.formatters.values,minor:{},major:{}}});Et._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Tt.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(e.length>0){var o=e[0];o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:Tt.noop,beforeBody:Tt.noop,beforeLabel:Tt.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+=e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Tt.noop,afterBody:Tt.noop,beforeFooter:Tt.noop,footer:Tt.noop,afterFooter:Tt.noop}}});var pi=n((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function v(e,t,n,i){return qn(e,t,n,i,!0).utc()}function m(){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 g(e){return null==e._pf&&(e._pf=m()),e._pf}function y(e){if(null==e._isValid){var t=g(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function _(e){var t=v(NaN);return null!=e?p(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var b=r.momentProperties=[];function w(e,t){var n,i,r;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(r=t[i=b[n]])||(e[i]=r);return e}var x=!1;function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,r.updateOffset(this),x=!1)}function k(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function C(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=C(t)),n}function O(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&M(e[i])!==M(t[i]))&&a++;return a+o}function A(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}A(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var D,P={};function R(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),P[e]||(A(t),P[e]=!0)}function E(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e){var t,n;for(n in e)E(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function F(e,t){var n,i=p({},e);for(n in t)f(t,n)&&(s(e[n])&&s(t[n])?(i[n]={},p(i[n],e[n]),p(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&s(e[n])&&(i[n]=p({},i[n]));return i}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};var $={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return E(i)?i.call(t,n):i}var j={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"};function H(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var W="Invalid date";function V(){return this._invalidDate}var B="%d",Y=/\d{1,2}/;function z(e){return this._ordinal.replace("%d",e)}var U={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"};function q(e,t,n,i){var r=this._relativeTime[n];return E(r)?r(e,t,n,i):r.replace(/%d/i,e)}function G(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var Q={};function J(e,t){var n=e.toLowerCase();Q[n]=Q[n+"s"]=Q[t]=e}function K(e){return"string"==typeof e?Q[e]||Q[e.toLowerCase()]:void 0}function Z(e){var t,n,i={};for(n in e)f(e,n)&&(t=K(n))&&(i[t]=e[n]);return i}var X={};function ee(e,t){X[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:X[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var ie=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(ae[e]=r),t&&(ae[t[0]]=function(){return ne(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function le(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ce(e){var t,n,i=e.match(ie);for(t=0,n=i.length;t<n;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=le(i[t]);return function(t){var r,o="";for(r=0;r<n;r++)o+=E(i[r])?i[r].call(t,e):i[r];return o}}function ue(e,t){return e.isValid()?(t=de(t,e.localeData()),oe[t]=oe[t]||ce(t),oe[t](e)):e.localeData().invalidDate()}function de(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;n>=0&&re.test(e);)e=e.replace(re,i),re.lastIndex=0,n-=1;return e}var he=/\d/,fe=/\d\d/,pe=/\d{3}/,ve=/\d{4}/,me=/[+-]?\d{6}/,ge=/\d\d?/,ye=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,be=/\d{1,3}/,we=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Se=/\d+/,ke=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[+-]?\d+(\.\d{1,3})?/,Ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Te={};function De(e,t,n){Te[e]=E(t)?t:function(e,i){return e&&n?n:t}}function Pe(e,t){return f(Te,e)?Te[e](t._strict,t._locale):new RegExp(Re(e))}function Re(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r})))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ie={};function Fe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=M(e)}),n=0;n<e.length;n++)Ie[e[n]]=i}function Le(e,t){Fe(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function $e(e,t,n){null!=t&&f(Ie,e)&&Ie[e](t,n._a,n,e)}var Ne=0,je=1,He=2,We=3,Ve=4,Be=5,Ye=6,ze=7,Ue=8;function qe(e){return Ge(e)?366:365}function Ge(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),J("year","y"),ee("year",1),De("Y",ke),De("YY",ge,fe),De("YYYY",we,ve),De("YYYYY",xe,me),De("YYYYYY",xe,me),Fe(["YYYYY","YYYYYY"],Ne),Fe("YYYY",(function(e,t){t[Ne]=2===e.length?r.parseTwoDigitYear(e):M(e)})),Fe("YY",(function(e,t){t[Ne]=r.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[Ne]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var Qe,Je=Ze("FullYear",!0);function Ke(){return Ge(this.year())}function Ze(e,t){return function(n){return null!=n?(et(this,e,n),r.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),rt(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return E(this[e=K(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(E(this[e=K(e)]))return this[e](t);return this}function it(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=it(t,12);return e+=(t-n)/12,1===n?Ge(e)?29:28:31-n%7%2}Qe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),J("month","M"),ee("month",8),De("M",ge),De("MM",ge,fe),De("MMM",(function(e,t){return t.monthsShortRegex(e)})),De("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[je]=M(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[je]=r:g(n).invalidMonth=e}));var ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}var lt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ct(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=v([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Qe.call(this._shortMonthsParse,a))?r:null:-1!==(r=Qe.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=Qe.call(this._shortMonthsParse,a))||-1!==(r=Qe.call(this._longMonthsParse,a))?r:null:-1!==(r=Qe.call(this._longMonthsParse,a))||-1!==(r=Qe.call(this._shortMonthsParse,a))?r:null}function dt(e,t,n){var i,r,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=v([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ht(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),rt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ft(e){return null!=e?(ht(this,e),r.updateOffset(this,!0),this):Xe(this,"Month")}function pt(){return rt(this.year(),this.month())}var vt=Ae;function mt(e){return this._monthsParseExact?(f(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=vt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var gt=Ae;function yt(e){return this._monthsParseExact?(f(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=gt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=v([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=Ee(i[t]),r[t]=Ee(r[t]);for(t=0;t<24;t++)o[t]=Ee(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function bt(e,t,n,i,r,o,a){var s=new Date(e,t,n,i,r,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xt(e,t,n){var i=7+t-n;return-(7+wt(e,0,i).getUTCDay()-t)%7+i-1}function St(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+xt(e,i,r);return s<=0?a=qe(o=e-1)+s:s>qe(e)?(o=e+1,a=s-qe(e)):(o=e,a=s),{year:o,dayOfYear:a}}function kt(e,t,n){var i,r,o=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+Ct(r=e.year()-1,t,n):a>Ct(e.year(),t,n)?(i=a-Ct(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Ct(e,t,n){var i=xt(e,t,n),r=xt(e+1,t,n);return(qe(e)-i+r)/7}function Mt(e){return kt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),ee("week",5),ee("isoWeek",5),De("w",ge),De("ww",ge,fe),De("W",ge),De("WW",ge,fe),Le(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=M(e)}));var Ot={dow:0,doy:6};function At(){return this._week.dow}function Tt(){return this._week.doy}function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Rt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Et(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),De("d",ge),De("e",ge),De("E",ge),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),Le(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e})),Le(["d","e","E"],(function(e,t,n,i){t[i]=M(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Ft(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function $t(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function jt(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=v([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Qe.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Qe.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Qe.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=Qe.call(this._weekdaysParse,a))||-1!==(r=Qe.call(this._shortWeekdaysParse,a))||-1!==(r=Qe.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Qe.call(this._shortWeekdaysParse,a))||-1!==(r=Qe.call(this._weekdaysParse,a))||-1!==(r=Qe.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Qe.call(this._minWeekdaysParse,a))||-1!==(r=Qe.call(this._weekdaysParse,a))||-1!==(r=Qe.call(this._shortWeekdaysParse,a))?r:null}function Wt(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=v([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Rt(e,this.localeData()),this.add(e-t,"d")):t}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Yt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var zt=Ae;function Ut(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=zt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var qt=Ae;function Gt(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Qt=Ae;function Jt(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=v([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=Ee(s[t]),l[t]=Ee(l[t]),c[t]=Ee(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Zt),se("k",["kk",2],0,Xt),se("hmm",0,0,(function(){return""+Zt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Zt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),J("hour","h"),ee("hour",13),De("a",tn),De("A",tn),De("H",ge),De("h",ge),De("k",ge),De("HH",ge,fe),De("hh",ge,fe),De("kk",ge,fe),De("hmm",ye),De("hmmss",_e),De("Hmm",ye),De("Hmmss",_e),Fe(["H","HH"],We),Fe(["k","kk"],(function(e,t,n){var i=M(e);t[We]=24===i?0:i})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[We]=M(e),g(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var i=e.length-2;t[We]=M(e.substr(0,i)),t[Ve]=M(e.substr(i)),g(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[We]=M(e.substr(0,i)),t[Ve]=M(e.substr(i,2)),t[Be]=M(e.substr(r)),g(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var i=e.length-2;t[We]=M(e.substr(0,i)),t[Ve]=M(e.substr(i))})),Fe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[We]=M(e.substr(0,i)),t[Ve]=M(e.substr(i,2)),t[Be]=M(e.substr(r))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Ze("Hours",!0),ln={calendar:$,longDateFormat:j,invalidDate:W,ordinal:B,dayOfMonthOrdinalParse:Y,relativeTime:U,months:at,monthsShort:lt,week:Ot,weekdays:It,weekdaysMin:Nt,weekdaysShort:Lt,meridiemParse:rn},cn={},un={};function dn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=dn(e[o]).split("-")).length,n=(n=dn(e[o+1]))?n.split("-"):null;t>0;){if(i=fn(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&O(r,n,!0)>=t-1)break;t--}o++}return an}function fn(t){var n=null;if(!cn[t]&&e&&e.exports)try{n=an._abbr,i(),pn(n)}catch(e){}return cn[t]}function pn(e,t){var n;return e&&((n=c(t)?gn(e):vn(e,t))?an=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,i=ln;if(t.abbr=e,null!=cn[e])R("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])i=cn[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;i=n._config}return cn[e]=new L(F(i,t)),un[e]&&un[e].forEach((function(e){vn(e.name,e.config)})),pn(e),cn[e]}return delete cn[e],null}function mn(e,t){if(null!=t){var n,i,r=ln;null!=(i=fn(e))&&(r=i._config),(n=new L(t=F(r,t))).parentLocale=cn[e],cn[e]=n,pn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?cn[e]=cn[e].parentLocale:null!=cn[e]&&delete cn[e]);return cn[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=fn(e))return t;e=[e]}return hn(e)}function yn(){return D(cn)}function _n(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[He]<1||n[He]>rt(n[Ne],n[je])?He:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Ve]||0!==n[Be]||0!==n[Ye])?We:n[Ve]<0||n[Ve]>59?Ve:n[Be]<0||n[Be]>59?Be:n[Ye]<0||n[Ye]>999?Ye:-1,g(e)._overflowDayOfYear&&(t<Ne||t>He)&&(t=He),g(e)._overflowWeeks&&-1===t&&(t=ze),g(e)._overflowWeekday&&-1===t&&(t=Ue),g(e).overflow=t),e}function bn(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function xn(e){var t,n,i,r,o,a=[];if(!e._d){for(i=wn(e),e._w&&null==e._a[He]&&null==e._a[je]&&Sn(e),null!=e._dayOfYear&&(o=bn(e._a[Ne],i[Ne]),(e._dayOfYear>qe(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[je]=n.getUTCMonth(),e._a[He]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[We]&&0===e._a[Ve]&&0===e._a[Be]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?wt:bt).apply(null,a),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Sn(e){var t,n,i,r,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=bn(t.GG,e._a[Ne],kt(Gn(),1,4).year),i=bn(t.W,1),((r=bn(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=kt(Gn(),o,a);n=bn(t.gg,e._a[Ne],c.year),i=bn(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>Ct(n,o,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=St(n,i,r,o,a),e._a[Ne]=s.year,e._dayOfYear=s.dayOfYear)}var kn=/^\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)?)?$/,Cn=/^\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)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,On=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],An=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((\-?\d+)/i;function Dn(e){var t,n,i,r,o,a,s=e._i,l=kn.exec(s)||Cn.exec(s);if(l){for(g(e).iso=!0,t=0,n=On.length;t<n;t++)if(On[t][1].exec(l[1])){r=On[t][0],i=!1!==On[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=An.length;t<n;t++)if(An[t][1].exec(l[3])){o=(l[2]||" ")+An[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Mn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),Hn(e)}else e._isValid=!1}var Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Rn(e,t,n,i,r,o){var a=[En(e),lt.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}function En(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Fn(e,t,n){return!e||Lt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Ln={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $n(e,t,n){if(e)return Ln[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}function Nn(e){var t=Pn.exec(In(e._i));if(t){var n=Rn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Fn(t[1],n,e))return;e._a=n,e._tzm=$n(t[8],t[9],t[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function jn(e){var t=Tn.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Hn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;var t,n,i,o,a,s=""+e._i,l=s.length,c=0;for(i=de(e._f,e._locale).match(ie)||[],t=0;t<i.length;t++)o=i[t],(n=(s.match(Pe(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),$e(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=l-c,s.length>0&&g(e).unusedInput.push(s),e._a[We]<=12&&!0===g(e).bigHour&&e._a[We]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[We]=Wn(e._locale,e._a[We],e._meridiem),xn(e),_n(e)}else Nn(e);else Dn(e)}function Wn(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Vn(e){var t,n,i,r,o;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Hn(t),y(t)&&(o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,(null==i||o<i)&&(i=o,n=t));p(e,n||t)}function Bn(e){if(!e._d){var t=Z(e._i);e._a=h([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),xn(e)}}function Yn(e){var t=new S(_n(zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new S(_n(t)):(d(t)?e._d=t:a(n)?Vn(e):n?Hn(e):Un(e),y(e)||(e._d=null),e))}function Un(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?jn(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),xn(e)):s(t)?Bn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function qn(e,t,n,i,r){var o={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,Yn(o)}function Gn(e,t,n,i){return qn(e,t,n,i,!1)}r.createFromInputFallback=T("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Qn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Jn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Kn(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Gn();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function Zn(){return Kn("isBefore",[].slice.call(arguments,0))}function Xn(){return Kn("isAfter",[].slice.call(arguments,0))}var ei=function(){return Date.now?Date.now():+new Date},ti=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ni(e){for(var t in e)if(-1===Qe.call(ti,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<ti.length;++i)if(e[ti[i]]){if(n)return!1;parseFloat(e[ti[i]])!==M(e[ti[i]])&&(n=!0)}return!0}function ii(){return this._isValid}function ri(){return Mi(NaN)}function oi(e){var t=Z(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ni(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=gn(),this._bubble()}function ai(e){return e instanceof oi}function si(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function li(e,t){se(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ne(~~(e/60),2)+t+ne(~~e%60,2)}))}li("Z",":"),li("ZZ",""),De("Z",Me),De("ZZ",Me),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=ui(Me,e)}));var ci=/([\+\-]|\d\d)/gi;function ui(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(ci)||["-",0,0],r=60*i[1]+M(i[2]);return 0===r?0:"+"===i[0]?r:-r}function di(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(k(e)||d(e)?e.valueOf():Gn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Gn(e).local()}function hi(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function fi(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=ui(Me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=hi(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Pi(this,Mi(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:hi(this)}function pi(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vi(e){return this.utcOffset(0,e)}function mi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hi(this),"m")),this}function gi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=ui(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yi(e){return!!this.isValid()&&(e=e?Gn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _i(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bi(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=zn(e))._a){var t=e._isUTC?v(e._a):Gn(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wi(){return!!this.isValid()&&!this._isUTC}function xi(){return!!this.isValid()&&this._isUTC}function Si(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var ki=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Mi(e,t){var n,i,r,o=e,a=null;return ai(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=ki.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:M(a[He])*n,h:M(a[We])*n,m:M(a[Ve])*n,s:M(a[Be])*n,ms:M(si(1e3*a[Ye]))*n}):(a=Ci.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Oi(a[2],n),M:Oi(a[3],n),w:Oi(a[4],n),d:Oi(a[5],n),h:Oi(a[6],n),m:Oi(a[7],n),s:Oi(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Ti(Gn(o.from),Gn(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new oi(o),ai(e)&&f(e,"_locale")&&(i._locale=e._locale),i}function Oi(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ai(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ti(e,t){var n;return e.isValid()&&t.isValid()?(t=di(t,e),e.isBefore(t)?n=Ai(e,t):((n=Ai(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Di(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(R(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Pi(this,Mi(n="string"==typeof n?+n:n,i),e),this}}function Pi(e,t,n,i){var o=t._milliseconds,a=si(t._days),s=si(t._months);e.isValid()&&(i=null==i||i,s&&ht(e,Xe(e,"Month")+s*n),a&&et(e,"Date",Xe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Mi.fn=oi.prototype,Mi.invalid=ri;var Ri=Di(1,"add"),Ei=Di(-1,"subtract");function Ii(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Fi(e,t){var n=e||Gn(),i=di(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Gn(n)))}function Li(){return new S(this)}function $i(e,t){var n=k(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=K(c(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ni(e,t){var n=k(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=K(c(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function ji(e,t,n,i){return("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Hi(e,t){var n,i=k(e)?e:Gn(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=K(t||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Wi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Vi(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Bi(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=di(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=K(t)){case"year":o=Yi(this,i)/12;break;case"month":o=Yi(this,i);break;case"quarter":o=Yi(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:C(o)}function Yi(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function zi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ui(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?ue(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ue(n,"Z")):ue(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function qi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+i+r+o)}function Gi(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=ue(this,e);return this.localeData().postformat(t)}function Qi(e,t){return this.isValid()&&(k(e)&&e.isValid()||Gn(e).isValid())?Mi({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ji(e){return this.from(Gn(),e)}function Ki(e,t){return this.isValid()&&(k(e)&&e.isValid()||Gn(e).isValid())?Mi({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Zi(e){return this.to(Gn(),e)}function Xi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var er=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tr(){return this._locale}function nr(e){switch(e=K(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ir(e){return void 0===(e=K(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function rr(){return this._d.valueOf()-6e4*(this._offset||0)}function or(){return Math.floor(this.valueOf()/1e3)}function ar(){return new Date(this.valueOf())}function sr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function lr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function cr(){return this.isValid()?this.toISOString():null}function ur(){return y(this)}function dr(){return p({},g(this))}function hr(){return g(this).overflow}function fr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function pr(e,t){se(0,[e,e.length],0,t)}function vr(e){return _r.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function mr(e){return _r.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function gr(){return Ct(this.year(),1,4)}function yr(){var e=this.localeData()._week;return Ct(this.year(),e.dow,e.doy)}function _r(e,t,n,i,r){var o;return null==e?kt(this,i,r).year:(t>(o=Ct(e,i,r))&&(t=o),br.call(this,e,t,n,i,r))}function br(e,t,n,i,r){var o=St(e,t,n,i,r),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pr("gggg","weekYear"),pr("ggggg","weekYear"),pr("GGGG","isoWeekYear"),pr("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),De("G",ke),De("g",ke),De("GG",ge,fe),De("gg",ge,fe),De("GGGG",we,ve),De("gggg",we,ve),De("GGGGG",xe,me),De("ggggg",xe,me),Le(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=M(e)})),Le(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),J("quarter","Q"),ee("quarter",7),De("Q",he),Fe("Q",(function(e,t){t[je]=3*(M(e)-1)})),se("D",["DD",2],"Do","date"),J("date","D"),ee("date",9),De("D",ge),De("DD",ge,fe),De("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],He),Fe("Do",(function(e,t){t[He]=M(e.match(ge)[0])}));var xr=Ze("Date",!0);function Sr(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),ee("dayOfYear",4),De("DDD",be),De("DDDD",pe),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=M(e)})),se("m",["mm",2],0,"minute"),J("minute","m"),ee("minute",14),De("m",ge),De("mm",ge,fe),Fe(["m","mm"],Ve);var kr=Ze("Minutes",!1);se("s",["ss",2],0,"second"),J("second","s"),ee("second",15),De("s",ge),De("ss",ge,fe),Fe(["s","ss"],Be);var Cr,Mr=Ze("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),ee("millisecond",16),De("S",be,he),De("SS",be,fe),De("SSS",be,pe),Cr="SSSS";Cr.length<=9;Cr+="S")De(Cr,Se);function Or(e,t){t[Ye]=M(1e3*("0."+e))}for(Cr="S";Cr.length<=9;Cr+="S")Fe(Cr,Or);var Ar=Ze("Milliseconds",!1);function Tr(){return this._isUTC?"UTC":""}function Dr(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pr=S.prototype;function Rr(e){return Gn(1e3*e)}function Er(){return Gn.apply(null,arguments).parseZone()}function Ir(e){return e}Pr.add=Ri,Pr.calendar=Fi,Pr.clone=Li,Pr.diff=Bi,Pr.endOf=ir,Pr.format=Gi,Pr.from=Qi,Pr.fromNow=Ji,Pr.to=Ki,Pr.toNow=Zi,Pr.get=tt,Pr.invalidAt=hr,Pr.isAfter=$i,Pr.isBefore=Ni,Pr.isBetween=ji,Pr.isSame=Hi,Pr.isSameOrAfter=Wi,Pr.isSameOrBefore=Vi,Pr.isValid=ur,Pr.lang=er,Pr.locale=Xi,Pr.localeData=tr,Pr.max=Jn,Pr.min=Qn,Pr.parsingFlags=dr,Pr.set=nt,Pr.startOf=nr,Pr.subtract=Ei,Pr.toArray=sr,Pr.toObject=lr,Pr.toDate=ar,Pr.toISOString=Ui,Pr.inspect=qi,Pr.toJSON=cr,Pr.toString=zi,Pr.unix=or,Pr.valueOf=rr,Pr.creationData=fr,Pr.year=Je,Pr.isLeapYear=Ke,Pr.weekYear=vr,Pr.isoWeekYear=mr,Pr.quarter=Pr.quarters=wr,Pr.month=ft,Pr.daysInMonth=pt,Pr.week=Pr.weeks=Dt,Pr.isoWeek=Pr.isoWeeks=Pt,Pr.weeksInYear=yr,Pr.isoWeeksInYear=gr,Pr.date=xr,Pr.day=Pr.days=Vt,Pr.weekday=Bt,Pr.isoWeekday=Yt,Pr.dayOfYear=Sr,Pr.hour=Pr.hours=sn,Pr.minute=Pr.minutes=kr,Pr.second=Pr.seconds=Mr,Pr.millisecond=Pr.milliseconds=Ar,Pr.utcOffset=fi,Pr.utc=vi,Pr.local=mi,Pr.parseZone=gi,Pr.hasAlignedHourOffset=yi,Pr.isDST=_i,Pr.isLocal=wi,Pr.isUtcOffset=xi,Pr.isUtc=Si,Pr.isUTC=Si,Pr.zoneAbbr=Tr,Pr.zoneName=Dr,Pr.dates=T("dates accessor is deprecated. Use date instead.",xr),Pr.months=T("months accessor is deprecated. Use month instead",ft),Pr.years=T("years accessor is deprecated. Use year instead",Je),Pr.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",pi),Pr.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",bi);var Fr=L.prototype;function Lr(e,t,n,i){var r=gn(),o=v().set(i,t);return r[n](o,e)}function $r(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Lr(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Lr(e,i,n,"month");return r}function Nr(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,o=gn(),a=e?o._week.dow:0;if(null!=n)return Lr(t,(n+a)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=Lr(t,(r+a)%7,i,"day");return s}function jr(e,t){return $r(e,t,"months")}function Hr(e,t){return $r(e,t,"monthsShort")}function Wr(e,t,n){return Nr(e,t,n,"weekdays")}function Vr(e,t,n){return Nr(e,t,n,"weekdaysShort")}function Br(e,t,n){return Nr(e,t,n,"weekdaysMin")}Fr.calendar=N,Fr.longDateFormat=H,Fr.invalidDate=V,Fr.ordinal=z,Fr.preparse=Ir,Fr.postformat=Ir,Fr.relativeTime=q,Fr.pastFuture=G,Fr.set=I,Fr.months=st,Fr.monthsShort=ct,Fr.monthsParse=dt,Fr.monthsRegex=yt,Fr.monthsShortRegex=mt,Fr.week=Mt,Fr.firstDayOfYear=Tt,Fr.firstDayOfWeek=At,Fr.weekdays=Ft,Fr.weekdaysMin=jt,Fr.weekdaysShort=$t,Fr.weekdaysParse=Wt,Fr.weekdaysRegex=Ut,Fr.weekdaysShortRegex=Gt,Fr.weekdaysMinRegex=Jt,Fr.isPM=nn,Fr.meridiem=on,pn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=T("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=T("moment.langData is deprecated. Use moment.localeData instead.",gn);var Yr=Math.abs;function zr(){var e=this._data;return this._milliseconds=Yr(this._milliseconds),this._days=Yr(this._days),this._months=Yr(this._months),e.milliseconds=Yr(e.milliseconds),e.seconds=Yr(e.seconds),e.minutes=Yr(e.minutes),e.hours=Yr(e.hours),e.months=Yr(e.months),e.years=Yr(e.years),this}function Ur(e,t,n,i){var r=Mi(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function qr(e,t){return Ur(this,e,t,1)}function Gr(e,t){return Ur(this,e,t,-1)}function Qr(e){return e<0?Math.floor(e):Math.ceil(e)}function Jr(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Qr(Zr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=C(o/1e3),l.seconds=e%60,t=C(e/60),l.minutes=t%60,n=C(t/60),l.hours=n%24,a+=C(n/24),s+=r=C(Kr(a)),a-=Qr(Zr(r)),i=C(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function Kr(e){return 4800*e/146097}function Zr(e){return 146097*e/4800}function Xr(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=K(e))||"year"===e)return t=this._days+i/864e5,n=this._months+Kr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Zr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),io=to("s"),ro=to("m"),oo=to("h"),ao=to("d"),so=to("w"),lo=to("M"),co=to("y");function uo(){return Mi(this)}function ho(e){return e=K(e),this.isValid()?this[e+"s"]():NaN}function fo(e){return function(){return this.isValid()?this._data[e]:NaN}}var po=fo("milliseconds"),vo=fo("seconds"),mo=fo("minutes"),go=fo("hours"),yo=fo("days"),_o=fo("months"),bo=fo("years");function wo(){return C(this.days()/7)}var xo=Math.round,So={ss:44,s:45,m:45,h:22,d:26,M:11};function ko(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Co(e,t,n){var i=Mi(e).abs(),r=xo(i.as("s")),o=xo(i.as("m")),a=xo(i.as("h")),s=xo(i.as("d")),l=xo(i.as("M")),c=xo(i.as("y")),u=r<=So.ss&&["s",r]||r<So.s&&["ss",r]||o<=1&&["m"]||o<So.m&&["mm",o]||a<=1&&["h"]||a<So.h&&["hh",a]||s<=1&&["d"]||s<So.d&&["dd",s]||l<=1&&["M"]||l<So.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,ko.apply(null,u)}function Mo(e){return void 0===e?xo:"function"==typeof e&&(xo=e,!0)}function Oo(e,t){return void 0!==So[e]&&(void 0===t?So[e]:(So[e]=t,"s"===e&&(So.ss=t-1),!0))}function Ao(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Co(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var To=Math.abs;function Do(e){return(e>0)-(e<0)||+e}function Po(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=To(this._milliseconds)/1e3,i=To(this._days),r=To(this._months);e=C(n/60),t=C(e/60),n%=60,e%=60;var o=C(r/12),a=r%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Do(this._months)!==Do(d)?"-":"",p=Do(this._days)!==Do(d)?"-":"",v=Do(this._milliseconds)!==Do(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||c||u?"T":"")+(l?v+l+"H":"")+(c?v+c+"M":"")+(u?v+u+"S":"")}var Ro=oi.prototype;return Ro.isValid=ii,Ro.abs=zr,Ro.add=qr,Ro.subtract=Gr,Ro.as=Xr,Ro.asMilliseconds=no,Ro.asSeconds=io,Ro.asMinutes=ro,Ro.asHours=oo,Ro.asDays=ao,Ro.asWeeks=so,Ro.asMonths=lo,Ro.asYears=co,Ro.valueOf=eo,Ro._bubble=Jr,Ro.clone=uo,Ro.get=ho,Ro.milliseconds=po,Ro.seconds=vo,Ro.minutes=mo,Ro.hours=go,Ro.days=yo,Ro.weeks=wo,Ro.months=_o,Ro.years=bo,Ro.humanize=Ao,Ro.toISOString=Po,Ro.toString=Po,Ro.toJSON=Po,Ro.locale=Xi,Ro.localeData=tr,Ro.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Ro.lang=er,se("X",0,0,"unix"),se("x",0,0,"valueOf"),De("x",ke),De("X",Oe),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),Fe("x",(function(e,t,n){n._d=new Date(M(e))})),r.version="2.22.2",o(Gn),r.fn=Pr,r.min=Zn,r.max=Xn,r.now=ei,r.utc=v,r.unix=Rr,r.months=jr,r.isDate=d,r.locale=pn,r.invalid=_,r.duration=Mi,r.isMoment=k,r.weekdays=Wr,r.parseZone=Er,r.localeData=gn,r.isDuration=ai,r.monthsShort=Hr,r.weekdaysMin=Br,r.defineLocale=vn,r.updateLocale=mn,r.locales=yn,r.weekdaysShort=Vr,r.normalizeUnits=K,r.relativeTimeRounding=Mo,r.relativeTimeThreshold=Oo,r.calendarFormat=Ii,r.prototype=Pr,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r}()}));pi="function"==typeof pi?pi:window.moment;var vi=Number.MIN_SAFE_INTEGER||-9007199254740991,mi=Number.MAX_SAFE_INTEGER||9007199254740991,gi={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},yi=Object.keys(gi);function _i(e,t){return e-t}function bi(e){var t,n,i,r={},o=[];for(t=0,n=e.length;t<n;++t)r[i=e[t]]||(r[i]=!0,o.push(i));return o}function wi(e,t,n,i){var r=function(e,t,n){for(var i,r,o,a=0,s=e.length-1;a>=0&&a<=s;){if(r=e[(i=a+s>>1)-1]||null,o=e[i],!r)return{lo:null,hi:o};if(o[t]<n)a=i+1;else{if(!(r[t]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}(e,t,n),o=r.lo?r.hi?r.lo:e[e.length-2]:e[0],a=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=a[t]-o[t],l=s?(n-o[t])/s:0,c=(a[i]-o[i])*l;return o[i]+c}function xi(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?pi(e,i):(e instanceof pi||(e=pi(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function Si(e,t){if(Tt.isNullOrUndef(e))return null;var n=t.options.time,i=xi(t.getRightValue(e),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function ki(e){for(var t=yi.indexOf(e)+1,n=yi.length;t<n;++t)if(gi[yi[t]].common)return yi[t]}function Ci(e,t,n,i){var r,o=i.time,a=o.unit||function(e,t,n,i){var r,o,a,s=yi.length;for(r=yi.indexOf(e);r<s-1;++r)if(a=(o=gi[yi[r]]).steps?o.steps[o.steps.length-1]:mi,o.common&&Math.ceil((n-t)/(a*o.size))<=i)return yi[r];return yi[s-1]}(o.minUnit,e,t,n),s=ki(a),l=Tt.valueOrDefault(o.stepSize,o.unitStepSize),c="week"===a&&o.isoWeekday,u=i.ticks.major.enabled,d=gi[a],h=pi(e),f=pi(t),p=[];for(l||(l=function(e,t,n,i){var r,o,a,s=t-e,l=gi[n],c=l.size,u=l.steps;if(!u)return Math.ceil(s/(i*c));for(r=0,o=u.length;r<o&&(a=u[r],!(Math.ceil(s/(c*a))<=i));++r);return a}(e,t,a,n)),c&&(h=h.isoWeekday(c),f=f.isoWeekday(c)),h=h.startOf(c?"day":a),(f=f.startOf(c?"day":a))<t&&f.add(1,a),r=pi(h),u&&s&&!c&&!o.round&&(r.startOf(s),r.add(~~((h-r)/(d.size*l))*l,a));r<f;r.add(l,a))p.push(+r);return p.push(+r),p}Et._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),Et._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}});Et._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}});Et._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o<i[0].data.length;++o)t.push('<li><span style="background-color:'+i[0].backgroundColor[o]+'"></span>'),r[o]&&t.push(r[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=t.datasets[0],a=r.data[i],s=a&&a.custom||{},l=Tt.valueAtIndexOrDefault,c=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,i,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,i,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,i,c.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return Tt.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),Et._set("pie",Tt.clone(Et.doughnut)),Et._set("pie",{cutoutPercentage:0});Et._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});Et._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o<i[0].data.length;++o)t.push('<li><span style="background-color:'+i[0].backgroundColor[o]+'"></span>'),r[o]&&t.push(r[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=t.datasets[0],a=r.data[i].custom||{},s=Tt.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:a.backgroundColor?a.backgroundColor:s(o.backgroundColor,i,l.backgroundColor),strokeStyle:a.borderColor?a.borderColor:s(o.borderColor,i,l.borderColor),lineWidth:a.borderWidth?a.borderWidth:s(o.borderWidth,i,l.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});Et._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}});Et._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}});Et._set("global",{plugins:{filler:{propagate:!0}}});var Mi={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],o=r.length||0;return o?function(e,t){return t<o&&r[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};function Oi(e,t,n){var i,r=e._model||{},o=r.fill;if(void 0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=t+i),!(i===t||i<0||i>=n)&&i;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 Ai(e){var t,n=e.el._model||{},i=e.el._scale||{},r=e.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePosition?o=i.getBasePosition():i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(t=i.isHorizontal())?o:null,y:t?null:o}}return null}function Ti(e,t,n){var i,r=e[t].fill,o=[t];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=e[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function Di(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),Mi[n](e))}function Pi(e){return e&&!e.skip}function Ri(e,t,n,i,r){var o;if(i&&r){for(e.moveTo(t[0].x,t[0].y),o=1;o<i;++o)Tt.canvas.lineTo(e,t[o-1],t[o]);for(e.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)Tt.canvas.lineTo(e,n[o],n[o-1],!0)}}var Ei={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,r,o,a=(e.data.datasets||[]).length,s=t.propagate,l=[];for(i=0;i<a;++i)o=null,(r=(n=e.getDatasetMeta(i)).dataset)&&r._model&&r instanceof Fn.Line&&(o={visible:e.isDatasetVisible(i),fill:Oi(r,i,a),chart:e,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=Ti(l,i,s),o.boundary=Ai(o),o.mapper=Di(o))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var i=e.ctx,r=n.el,o=r._view,a=r._children||[],s=n.mapper,l=o.backgroundColor||Et.global.defaultColor;s&&l&&a.length&&(Tt.canvas.clipArea(i,e.chartArea),function(e,t,n,i,r,o){var a,s,l,c,u,d,h,f=t.length,p=i.spanGaps,v=[],m=[],g=0,y=0;for(e.beginPath(),a=0,s=f+!!o;a<s;++a)u=n(c=t[l=a%f]._view,l,i),d=Pi(c),h=Pi(u),d&&h?(g=v.push(c),y=m.push(u)):g&&y&&(p?(d&&v.push(c),h&&m.push(u)):(Ri(e,v,m,g,y),g=y=0,v=[],m=[]));Ri(e,v,m,g,y),e.closePath(),e.fillStyle=r,e.fill()}(i,a,s,o,l,r._loop),Tt.canvas.unclipArea(i))}}},Ii=Tt.noop;function Fi(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}Et._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data;return Tt.isArray(t.datasets)?t.datasets.map((function(t,n){return{text:t.label,fillStyle:Tt.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!e.isDatasetVisible(n),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:n}}),this):[]}}},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}});var Li=Cn.extend({initialize:function(e){Tt.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:Ii,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ii,beforeSetDimensions:Ii,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ii,beforeBuildLabels:Ii,buildLabels:function(){var e=this,t=e.options.labels||{},n=Tt.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:Ii,beforeFit:Ii,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,r=e.ctx,o=Et.global,a=Tt.valueOrDefault,s=a(n.fontSize,o.defaultFontSize),l=a(n.fontStyle,o.defaultFontStyle),c=a(n.fontFamily,o.defaultFontFamily),u=Tt.fontString(s,l,c),d=e.legendHitBoxes=[],h=e.minSize,f=e.isHorizontal();if(f?(h.width=e.maxWidth,h.height=i?10:0):(h.width=i?10:0,h.height=e.maxHeight),i)if(r.font=u,f){var p=e.lineWidths=[0],v=e.legendItems.length?s+n.padding:0;r.textAlign="left",r.textBaseline="top",Tt.each(e.legendItems,(function(t,i){var o=Fi(n,s)+s/2+r.measureText(t.text).width;p[p.length-1]+o+n.padding>=e.width&&(v+=s+n.padding,p[p.length]=e.left),d[i]={left:0,top:0,width:o,height:s},p[p.length-1]+=o+n.padding})),h.height+=v}else{var m=n.padding,g=e.columnWidths=[],y=n.padding,_=0,b=0,w=s+m;Tt.each(e.legendItems,(function(e,t){var i=Fi(n,s)+s/2+r.measureText(e.text).width;b+w>h.height&&(y+=_+n.padding,g.push(_),_=0,b=0),_=Math.max(_,i),b+=w,d[t]={left:0,top:0,width:i,height:s}})),y+=_,g.push(_),h.width+=y}e.width=h.width,e.height=h.height},afterFit:Ii,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=Et.global,r=i.elements.line,o=e.width,a=e.lineWidths;if(t.display){var s,l=e.ctx,c=Tt.valueOrDefault,u=c(n.fontColor,i.defaultFontColor),d=c(n.fontSize,i.defaultFontSize),h=c(n.fontStyle,i.defaultFontStyle),f=c(n.fontFamily,i.defaultFontFamily),p=Tt.fontString(d,h,f);l.textAlign="left",l.textBaseline="middle",l.lineWidth=.5,l.strokeStyle=u,l.fillStyle=u,l.font=p;var v=Fi(n,d),m=e.legendHitBoxes,g=e.isHorizontal();s=g?{x:e.left+(o-a[0])/2,y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+n.padding,line:0};var y=d+n.padding;Tt.each(e.legendItems,(function(u,h){var f=l.measureText(u.text).width,p=v+d/2+f,_=s.x,b=s.y;g?_+p>=o&&(b=s.y+=y,s.line++,_=s.x=e.left+(o-a[s.line])/2):b+y>e.bottom&&(_=s.x=_+e.columnWidths[s.line]+n.padding,b=s.y=e.top+n.padding,s.line++),function(e,n,o){if(!(isNaN(v)||v<=0)){l.save(),l.fillStyle=c(o.fillStyle,i.defaultColor),l.lineCap=c(o.lineCap,r.borderCapStyle),l.lineDashOffset=c(o.lineDashOffset,r.borderDashOffset),l.lineJoin=c(o.lineJoin,r.borderJoinStyle),l.lineWidth=c(o.lineWidth,r.borderWidth),l.strokeStyle=c(o.strokeStyle,i.defaultColor);var a=0===c(o.lineWidth,r.borderWidth);if(l.setLineDash&&l.setLineDash(c(o.lineDash,r.borderDash)),t.labels&&t.labels.usePointStyle){var s=d*Math.SQRT2/2,u=s/Math.SQRT2,h=e+u,f=n+u;Tt.canvas.drawPoint(l,o.pointStyle,s,h,f)}else a||l.strokeRect(e,n,v,d),l.fillRect(e,n,v,d);l.restore()}}(_,b,u),m[h].left=_,m[h].top=b,function(e,t,n,i){var r=d/2,o=v+r+e,a=t+r;l.fillText(n.text,o,a),n.hidden&&(l.beginPath(),l.lineWidth=2,l.moveTo(o,a),l.lineTo(o+i,a),l.stroke())}(_,b,u,f),g?s.x+=p+n.padding:s.y+=y}))}},handleEvent:function(e){var t=this,n=t.options,i="mouseup"===e.type?"click":e.type,r=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=e.x,a=e.y;if(o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom)for(var s=t.legendHitBoxes,l=0;l<s.length;++l){var c=s[l];if(o>=c.left&&o<=c.left+c.width&&a>=c.top&&a<=c.top+c.height){if("click"===i){n.onClick.call(t,e.native,t.legendItems[l]),r=!0;break}if("mousemove"===i){n.onHover.call(t,e.native,t.legendItems[l]),r=!0;break}}}return r}});function $i(e,t){var n=new Li({ctx:e.ctx,options:t,chart:e});Qn.configure(e,n,t),Qn.addBox(e,n),e.legend=n}var Ni={id:"legend",_element:Li,beforeInit:function(e){var t=e.options.legend;t&&$i(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(Tt.mergeIf(t,Et.global.legend),n?(Qn.configure(e,n,t),n.options=t):$i(e,t)):n&&(Qn.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},ji=Tt.noop;Et._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var Hi=Cn.extend({initialize:function(e){Tt.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:ji,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:ji,beforeSetDimensions:ji,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:ji,beforeBuildLabels:ji,buildLabels:ji,afterBuildLabels:ji,beforeFit:ji,fit:function(){var e=this,t=Tt.valueOrDefault,n=e.options,i=n.display,r=t(n.fontSize,Et.global.defaultFontSize),o=e.minSize,a=Tt.isArray(n.text)?n.text.length:1,s=Tt.options.toLineHeight(n.lineHeight,r),l=i?a*s+2*n.padding:0;e.isHorizontal()?(o.width=e.maxWidth,o.height=l):(o.width=l,o.height=e.maxHeight),e.width=o.width,e.height=o.height},afterFit:ji,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=Tt.valueOrDefault,i=e.options,r=Et.global;if(i.display){var o,a,s,l=n(i.fontSize,r.defaultFontSize),c=n(i.fontStyle,r.defaultFontStyle),u=n(i.fontFamily,r.defaultFontFamily),d=Tt.fontString(l,c,u),h=Tt.options.toLineHeight(i.lineHeight,l),f=h/2+i.padding,p=0,v=e.top,m=e.left,g=e.bottom,y=e.right;t.fillStyle=n(i.fontColor,r.defaultFontColor),t.font=d,e.isHorizontal()?(a=m+(y-m)/2,s=v+f,o=y-m):(a="left"===i.position?m+f:y-f,s=v+(g-v)/2,o=g-v,p=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(a,s),t.rotate(p),t.textAlign="center",t.textBaseline="middle";var _=i.text;if(Tt.isArray(_))for(var b=0,w=0;w<_.length;++w)t.fillText(_[w],0,b,o),b+=h;else t.fillText(_,0,0,o);t.restore()}}});function Wi(e,t){var n=new Hi({ctx:e.ctx,options:t,chart:e});Qn.configure(e,n,t),Qn.addBox(e,n),e.titleBlock=n}var Vi={},Bi=Ei,Yi=Ni,zi={id:"title",_element:Hi,beforeInit:function(e){var t=e.options.title;t&&Wi(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(Tt.mergeIf(t,Et.global.title),n?(Qn.configure(e,n,t),n.options=t):Wi(e,t)):n&&(Qn.removeBox(e,n),delete e.titleBlock)}};Vi.filler=Bi,Vi.legend=Yi,Vi.title=zi;var Ui=function(){var e=function(e,t){return this.construct(e,t),this};return e.Chart=e,e}();for(var qi in Ui.helpers=Tt,function(e){function t(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function n(e){return null!=e&&"none"!==e}function i(e,i,r){var o=document.defaultView,a=e.parentNode,s=o.getComputedStyle(e)[i],l=o.getComputedStyle(a)[i],c=n(s),u=n(l),d=Number.POSITIVE_INFINITY;return c||u?Math.min(c?t(s,e,r):d,u?t(l,a,r):d):"none"}Tt.configMerge=function(){return Tt.merge(Tt.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,n,i,r){var o=n[t]||{},a=i[t];"scales"===t?n[t]=Tt.scaleMerge(o,a):"scale"===t?n[t]=Tt.merge(o,[e.scaleService.getScaleDefaults(a.type),a]):Tt._merger(t,n,i,r)}})},Tt.scaleMerge=function(){return Tt.merge(Tt.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,n,i,r){if("xAxes"===t||"yAxes"===t){var o,a,s,l=i[t].length;for(n[t]||(n[t]=[]),o=0;o<l;++o)s=i[t][o],a=Tt.valueOrDefault(s.type,"xAxes"===t?"category":"linear"),o>=n[t].length&&n[t].push({}),!n[t][o].type||s.type&&s.type!==n[t][o].type?Tt.merge(n[t][o],[e.scaleService.getScaleDefaults(a),s]):Tt.merge(n[t][o],s)}else Tt._merger(t,n,i,r)}})},Tt.where=function(e,t){if(Tt.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return Tt.each(e,(function(e){t(e)&&n.push(e)})),n},Tt.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},Tt.findNextWhere=function(e,t,n){Tt.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},Tt.findPreviousWhere=function(e,t,n){Tt.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;i>=0;i--){var r=e[i];if(t(r))return r}},Tt.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},Tt.almostEquals=function(e,t,n){return Math.abs(e-t)<n},Tt.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&n+t>e},Tt.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},Tt.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},Tt.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},Tt.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},Tt.toRadians=function(e){return e*(Math.PI/180)},Tt.toDegrees=function(e){return e*(180/Math.PI)},Tt.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},Tt.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Tt.aliasPixel=function(e){return e%2==0?0:.5},Tt.splineCurve=function(e,t,n,i){var r=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),c=s/(s+l),u=l/(s+l),d=i*(c=isNaN(c)?0:c),h=i*(u=isNaN(u)?0:u);return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}},Tt.EPSILON=Number.EPSILON||1e-14,Tt.splineCurveMonotone=function(e){var t,n,i,r,o,a,s,l,c,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t<d;++t)if(!(i=u[t]).model.skip){if(n=t>0?u[t-1]:null,(r=t<d-1?u[t+1]:null)&&!r.model.skip){var h=r.model.x-i.model.x;i.deltaK=0!==h?(r.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<d-1;++t)i=u[t],r=u[t+1],i.model.skip||r.model.skip||(Tt.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(o=i.mK/i.deltaK,a=r.mK/i.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),i.mK=o*s*i.deltaK,r.mK=a*s*i.deltaK)));for(t=0;t<d;++t)(i=u[t]).model.skip||(n=t>0?u[t-1]:null,r=t<d-1?u[t+1]:null,n&&!n.model.skip&&(c=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-c,i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(c=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+c,i.model.controlPointNextY=i.model.y+c*i.mK))},Tt.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},Tt.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},Tt.niceNum=function(e,t){var n=Math.floor(Tt.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},Tt.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},Tt.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,o=e.currentTarget||e.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(Tt.getStyle(o,"padding-left")),c=parseFloat(Tt.getStyle(o,"padding-top")),u=parseFloat(Tt.getStyle(o,"padding-right")),d=parseFloat(Tt.getStyle(o,"padding-bottom")),h=a.right-a.left-l-u,f=a.bottom-a.top-c-d;return{x:n=Math.round((n-a.left-l)/h*o.width/t.currentDevicePixelRatio),y:i=Math.round((i-a.top-c)/f*o.height/t.currentDevicePixelRatio)}},Tt.getConstraintWidth=function(e){return i(e,"max-width","clientWidth")},Tt.getConstraintHeight=function(e){return i(e,"max-height","clientHeight")},Tt.getMaximumWidth=function(e){var t=e.parentNode;if(!t)return e.clientWidth;var n=parseInt(Tt.getStyle(t,"padding-left"),10),i=parseInt(Tt.getStyle(t,"padding-right"),10),r=t.clientWidth-n-i,o=Tt.getConstraintWidth(e);return isNaN(o)?r:Math.min(r,o)},Tt.getMaximumHeight=function(e){var t=e.parentNode;if(!t)return e.clientHeight;var n=parseInt(Tt.getStyle(t,"padding-top"),10),i=parseInt(Tt.getStyle(t,"padding-bottom"),10),r=t.clientHeight-n-i,o=Tt.getConstraintHeight(e);return isNaN(o)?r:Math.min(r,o)},Tt.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},Tt.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,o=e.width;i.height=r*n,i.width=o*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},Tt.fontString=function(e,t,n){return t+" "+e+"px "+n},Tt.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var a=0;Tt.each(n,(function(t){null!=t&&!0!==Tt.isArray(t)?a=Tt.measureText(e,r,o,a,t):Tt.isArray(t)&&Tt.each(t,(function(t){null==t||Tt.isArray(t)||(a=Tt.measureText(e,r,o,a,t))}))}));var s=o.length/2;if(s>n.length){for(var l=0;l<s;l++)delete r[o[l]];o.splice(0,s)}return a},Tt.measureText=function(e,t,n,i,r){var o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),o>i&&(i=o),i},Tt.numberOfLabelLines=function(e){var t=1;return Tt.each(e,(function(e){Tt.isArray(e)&&e.length>t&&(t=e.length)})),t},Tt.color=Sn?function(e){return e instanceof CanvasGradient&&(e=Et.global.defaultColor),Sn(e)}:function(e){return console.error("Color.js not found!"),e},Tt.getHoverColor=function(e){return e instanceof CanvasPattern?e:Tt.color(e).saturate(.5).darken(.1).rgbString()}}(Ui),Ui.defaults=Et,Ui.Element=Cn,Ui.elements=Fn,Ui.Interaction=Un,Ui.layouts=Qn,Ui.platform=ci,Ui.plugins=ui,Ui.Ticks=di,function(e){e.Animation=Cn.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,i){var r,o,a=this.animations;for(t.chart=e,i||(e.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===e)return void(a[r]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=Tt.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=Tt.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var i=Date.now();e.dropFrames+=(i-t)/e.frameDuration,e.animations.length>0&&e.requestAnimationFrame()},advance:function(e){for(var t,n,i=this.animations,r=0;r<i.length;)n=(t=i[r]).chart,t.currentStep=(t.currentStep||0)+e,t.currentStep=Math.min(t.currentStep,t.numSteps),Tt.callback(t.render,[n,t],n),Tt.callback(t.onAnimationProgress,[t],n),t.currentStep>=t.numSteps?(Tt.callback(t.onAnimationComplete,[t],n),n.animating=!1,i.splice(r,1)):++r}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}(Ui),function(e){function t(t){var n=t.options;Tt.each(t.scales,(function(e){Qn.removeBox(t,e)})),n=Tt.configMerge(e.defaults.global,e.defaults[t.config.type],n),t.options=t.config.options=n,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=n.tooltips,t.tooltip.initialize()}function n(e){return"top"===e||"bottom"===e}e.types={},e.instances={},e.controllers={},Tt.extend(e.prototype,{construct:function(t,n){var i=this;n=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Tt.configMerge(Et.global,Et[e.type],e.options||{}),e}(n);var r=ci.acquireContext(t,n),o=r&&r.canvas,a=o&&o.height,s=o&&o.width;i.id=Tt.uid(),i.ctx=r,i.canvas=o,i.config=n,i.width=s,i.height=a,i.aspectRatio=a?s/a:null,i.options=n.options,i._bufferedRender=!1,i.chart=i,i.controller=i,e.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),r&&o?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return ui.notify(e,"beforeInit"),Tt.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),ui.notify(e,"afterInit"),e},clear:function(){return Tt.canvas.clear(this),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(Tt.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:Tt.getMaximumHeight(i)));if((t.width!==o||t.height!==a)&&(i.width=t.width=o,i.height=t.height=a,i.style.width=o+"px",i.style.height=a+"px",Tt.retinaScale(t,n.devicePixelRatio),!e)){var s={width:o,height:a};ui.notify(t,"resize",[s]),t.options.onResize&&t.options.onResize(t,s),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;Tt.each(t.xAxes,(function(e,t){e.id=e.id||"x-axis-"+t})),Tt.each(t.yAxes,(function(e,t){e.id=e.id||"y-axis-"+t})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,i=t.options,r=t.scales||{},o=[],a=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{});i.scales&&(o=o.concat((i.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(i.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),i.scale&&o.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Tt.each(o,(function(i){var o=i.options,s=o.id,l=Tt.valueOrDefault(o.type,i.dtype);n(o.position)!==n(i.dposition)&&(o.position=i.dposition),a[s]=!0;var c=null;if(s in r&&r[s].type===l)(c=r[s]).options=o,c.ctx=t.ctx,c.chart=t;else{var u=e.scaleService.getScaleConstructor(l);if(!u)return;c=new u({id:s,type:l,options:o,ctx:t.ctx,chart:t}),r[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(t.scale=c)})),Tt.each(a,(function(e,t){e||delete r[t]})),t.scales=r,e.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,n=[],i=[];return Tt.each(t.data.datasets,(function(r,o){var a=t.getDatasetMeta(o),s=r.type||t.config.type;if(a.type&&a.type!==s&&(t.destroyDatasetMeta(o),a=t.getDatasetMeta(o)),a.type=s,n.push(a.type),a.controller)a.controller.updateIndex(o),a.controller.linkScales();else{var l=e.controllers[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(t,o),i.push(a.controller)}}),t),i},resetElements:function(){var e=this;Tt.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var n=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),t(n),ui._invalidate(n),!1!==ui.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var i=n.buildOrUpdateControllers();Tt.each(n.data.datasets,(function(e,t){n.getDatasetMeta(t).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&Tt.each(i,(function(e){e.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],ui.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){var e=this;!1!==ui.notify(e,"beforeLayout")&&(Qn.update(this,this.width,this.height),ui.notify(e,"afterScaleUpdate"),ui.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==ui.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t<n;++t)e.updateDataset(t);ui.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,n=t.getDatasetMeta(e),i={meta:n,index:e};!1!==ui.notify(t,"beforeDatasetUpdate",[i])&&(n.controller.update(),ui.notify(t,"afterDatasetUpdate",[i]))},render:function(t){var n=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=t.duration,r=t.lazy;if(!1!==ui.notify(n,"beforeRender")){var o=n.options.animation,a=function(e){ui.notify(n,"afterRender"),Tt.callback(o&&o.onComplete,[e],n)};if(o&&(void 0!==i&&0!==i||void 0===i&&0!==o.duration)){var s=new e.Animation({numSteps:(i||o.duration)/16.66,easing:t.easing||o.easing,render:function(e,t){var n=Tt.easing.effects[t.easing],i=t.currentStep,r=i/t.numSteps;e.draw(n(r),r,i)},onAnimationProgress:o.onProgress,onAnimationComplete:a});e.animationService.addAnimation(n,s,i,r)}else n.draw(),a(new e.Animation({numSteps:0,chart:n}));return n}},draw:function(e){var t=this;t.clear(),Tt.isNullOrUndef(e)&&(e=1),t.transition(e),!1!==ui.notify(t,"beforeDraw",[e])&&(Tt.each(t.boxes,(function(e){e.draw(t.chartArea)}),t),t.scale&&t.scale.draw(),t.drawDatasets(e),t._drawTooltip(e),ui.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=this,n=0,i=(t.data.datasets||[]).length;n<i;++n)t.isDatasetVisible(n)&&t.getDatasetMeta(n).controller.transition(e);t.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==ui.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;n>=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);ui.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,i=n.getDatasetMeta(e),r={meta:i,index:e,easingValue:t};!1!==ui.notify(n,"beforeDatasetDraw",[r])&&(i.controller.draw(t),ui.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this,n=t.tooltip,i={tooltip:n,easingValue:e};!1!==ui.notify(t,"beforeTooltipDraw",[i])&&(n.draw(),ui.notify(t,"afterTooltipDraw",[i]))},getElementAtEvent:function(e){return Un.modes.single(this,e)},getElementsAtEvent:function(e){return Un.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Un.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=Un.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return Un.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var i=n._meta[t.id];return i||(i=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var t,n,i=this,r=i.canvas;for(i.stop(),t=0,n=i.data.datasets.length;t<n;++t)i.destroyDatasetMeta(t);r&&(i.unbindEvents(),Tt.canvas.clear(i),ci.releaseContext(i.ctx),i.canvas=null,i.ctx=null),ui.notify(i,"destroy"),delete e.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new e.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};Tt.each(e.options.events,(function(i){ci.addEventListener(e,i,n),t[i]=n})),e.options.responsive&&(n=function(){e.resize()},ci.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,Tt.each(t,(function(t,n){ci.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var i,r,o,a=n?"setHoverStyle":"removeHoverStyle";for(r=0,o=e.length;r<o;++r)(i=e[r])&&this.getDatasetMeta(i._datasetIndex).controller[a](i)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==ui.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),ui.notify(t,"afterEvent",[e]);var r=t._bufferedRequest;return r?t.render(r):i&&!t.animating&&(t.stop(),t.render(t.options.hover.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,r.mode,r),Tt.callback(i.onHover||i.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),t=!Tt.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),e.Controller=e}(Ui),function(e){var t=["push","pop","shift","splice","unshift"];function n(e,n){var i=e._chartjs;if(i){var r=i.listeners,o=r.indexOf(n);-1!==o&&r.splice(o,1),r.length>0||(t.forEach((function(t){delete e[t]})),delete e._chartjs)}}e.DatasetController=function(e,t){this.initialize(e,t)},Tt.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,i=n.getMeta(),r=n.getDataset().data||[],o=i.data;for(e=0,t=r.length;e<t;++e)o[e]=o[e]||n.createMetaData(e);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,i,r=this,o=r.getDataset(),a=o.data||(o.data=[]);r._data!==a&&(r._data&&n(r._data,r),i=r,(e=a)._chartjs?e._chartjs.listeners.push(i):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),t.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),r=i.apply(this,t);return Tt.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),r}})}))),r._data=a),r.resyncElements()},update:Tt.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,r=0;r<i;++r)n[r].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},removeHoverStyle:function(e,t){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},o=Tt.valueAtIndexOrDefault,a=e._model;a.backgroundColor=r.backgroundColor?r.backgroundColor:o(n.backgroundColor,i,t.backgroundColor),a.borderColor=r.borderColor?r.borderColor:o(n.borderColor,i,t.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:o(n.borderWidth,i,t.borderWidth)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=Tt.valueAtIndexOrDefault,o=Tt.getHoverColor,a=e._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:r(t.hoverBackgroundColor,n,o(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:r(t.hoverBorderColor,n,o(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:r(t.hoverBorderWidth,n,a.borderWidth)},resyncElements:function(){var e=this,t=e.getMeta(),n=e.getDataset().data,i=t.data.length,r=n.length;r<i?t.data.splice(r,i-r):r>i&&e.insertElements(i,r-i)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+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(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=Tt.inherits}(Ui),function(e){e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=Tt.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?Tt.merge({},[Et.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){var n=this;n.defaults.hasOwnProperty(e)&&(n.defaults[e]=Tt.extend(n.defaults[e],t))},addScalesToLayout:function(e){Tt.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,Qn.addBox(e,t)}))}}}(Ui),function(e){function t(e,t,n){return Tt.isArray(t)?Tt.longestText(e,n,t):e.measureText(t).width}function n(e){var t=Tt.valueOrDefault,n=Et.global,i=t(e.fontSize,n.defaultFontSize),r=t(e.fontStyle,n.defaultFontStyle),o=t(e.fontFamily,n.defaultFontFamily);return{size:i,style:r,family:o,font:Tt.fontString(i,r,o)}}function i(e){return Tt.options.toLineHeight(Tt.valueOrDefault(e.lineHeight,1.2),Tt.valueOrDefault(e.fontSize,Et.global.defaultFontSize))}e.Scale=Cn.extend({getPadding:function(){var e=this;return{left:e.paddingLeft||0,top:e.paddingTop||0,right:e.paddingRight||0,bottom:e.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var e=this.options.ticks;for(var t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){Tt.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,r,o,a,s,l,c=this;for(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=Tt.extend({left:0,right:0,top:0,bottom:0},n),c.longestTextCache=c.longestTextCache||{},c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),s=c.buildTicks()||[],c.afterBuildTicks(),c.beforeTickToLabelConversion(),o=c.convertTicksToLabels(s)||c.ticks,c.afterTickToLabelConversion(),c.ticks=o,i=0,r=o.length;i<r;++i)a=o[i],(l=s[i])?l.label=a:s.push(l={label:a,major:!1});return c._ticks=s,c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c.afterUpdate(),c.minSize},afterUpdate:function(){Tt.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Tt.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){Tt.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Tt.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Tt.noop,afterDataLimits:function(){Tt.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Tt.callback(this.options.beforeBuildTicks,[this])},buildTicks:Tt.noop,afterBuildTicks:function(){Tt.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){Tt.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){Tt.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Tt.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,i=e.options.ticks,r=hi(e._ticks),o=n(i);t.font=o.font;var a=i.minRotation||0;if(r.length&&e.options.display&&e.isHorizontal())for(var s,l=Tt.longestText(t,o.font,r,e.longestTextCache),c=l,u=e.getPixelForTick(1)-e.getPixelForTick(0)-6;c>u&&a<i.maxRotation;){var d=Tt.toRadians(a);if(s=Math.cos(d),Math.sin(d)*l>e.maxHeight){a--;break}a++,c=s*l}e.labelRotation=a},afterCalculateTickRotation:function(){Tt.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Tt.callback(this.options.beforeFit,[this])},fit:function(){var e=this,r=e.minSize={width:0,height:0},o=hi(e._ticks),a=e.options,s=a.ticks,l=a.scaleLabel,c=a.gridLines,u=a.display,d=e.isHorizontal(),h=n(s),f=a.gridLines.tickMarkLength;if(r.width=d?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:u&&c.drawTicks?f:0,r.height=d?u&&c.drawTicks?f:0:e.maxHeight,l.display&&u){var p=i(l)+Tt.options.toPadding(l.padding).height;d?r.height+=p:r.width+=p}if(s.display&&u){var v=Tt.longestText(e.ctx,h.font,o,e.longestTextCache),m=Tt.numberOfLabelLines(o),g=.5*h.size,y=e.options.ticks.padding;if(d){e.longestLabelWidth=v;var _=Tt.toRadians(e.labelRotation),b=Math.cos(_),w=Math.sin(_)*v+h.size*m+g*(m-1)+g;r.height=Math.min(e.maxHeight,r.height+w+y),e.ctx.font=h.font;var x=t(e.ctx,o[0],h.font),S=t(e.ctx,o[o.length-1],h.font);0!==e.labelRotation?(e.paddingLeft="bottom"===a.position?b*x+3:b*g+3,e.paddingRight="bottom"===a.position?b*g+3:b*S+3):(e.paddingLeft=x/2+3,e.paddingRight=S/2+3)}else s.mirror?v=0:v+=y+g,r.width=Math.min(e.maxWidth,r.width+v),e.paddingTop=h.size/2,e.paddingBottom=h.size/2}e.handleMargins(),e.width=r.width,e.height=r.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){Tt.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Tt.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:Tt.noop,getPixelForValue:Tt.noop,getValueForPixel:Tt.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var i=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),r=i*e+t.paddingLeft;n&&(r+=i/2);var o=t.left+Math.round(r);return o+=t.isFullWidth()?t.margins.left:0}var a=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(a/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,i=t.left+Math.round(n);return i+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,i,r,o=this,a=o.isHorizontal(),s=o.options.ticks.minor,l=e.length,c=Tt.toRadians(o.labelRotation),u=Math.cos(c),d=o.longestLabelWidth*u,h=[];for(s.maxTicksLimit&&(r=s.maxTicksLimit),a&&(t=!1,(d+s.autoSkipPadding)*l>o.width-(o.paddingLeft+o.paddingRight)&&(t=1+Math.floor((d+s.autoSkipPadding)*l/(o.width-(o.paddingLeft+o.paddingRight)))),r&&l>r&&(t=Math.max(t,Math.floor(l/r)))),n=0;n<l;n++)i=e[n],(t>1&&n%t>0||n%t==0&&n+t>=l)&&n!==l-1&&delete i.label,h.push(i);return h},draw:function(e){var t=this,r=t.options;if(r.display){var o=t.ctx,a=Et.global,s=r.ticks.minor,l=r.ticks.major||s,c=r.gridLines,u=r.scaleLabel,d=0!==t.labelRotation,h=t.isHorizontal(),f=s.autoSkip?t._autoSkip(t.getTicks()):t.getTicks(),p=Tt.valueOrDefault(s.fontColor,a.defaultFontColor),v=n(s),m=Tt.valueOrDefault(l.fontColor,a.defaultFontColor),g=n(l),y=c.drawTicks?c.tickMarkLength:0,_=Tt.valueOrDefault(u.fontColor,a.defaultFontColor),b=n(u),w=Tt.options.toPadding(u.padding),x=Tt.toRadians(t.labelRotation),S=[],k=t.options.gridLines.lineWidth,C="right"===r.position?t.right:t.right-k-y,M="right"===r.position?t.right+y:t.right,O="bottom"===r.position?t.top+k:t.bottom-y-k,A="bottom"===r.position?t.top+k+y:t.bottom+k;if(Tt.each(f,(function(n,i){if(!Tt.isNullOrUndef(n.label)){var o,l,u,p,v,m,g,_,b,w,T,D,P,R,E=n.label;i===t.zeroLineIndex&&r.offset===c.offsetGridLines?(o=c.zeroLineWidth,l=c.zeroLineColor,u=c.zeroLineBorderDash,p=c.zeroLineBorderDashOffset):(o=Tt.valueAtIndexOrDefault(c.lineWidth,i),l=Tt.valueAtIndexOrDefault(c.color,i),u=Tt.valueOrDefault(c.borderDash,a.borderDash),p=Tt.valueOrDefault(c.borderDashOffset,a.borderDashOffset));var I="middle",F="middle",L=s.padding;if(h){var $=y+L;"bottom"===r.position?(F=d?"middle":"top",I=d?"right":"center",R=t.top+$):(F=d?"middle":"bottom",I=d?"left":"center",R=t.bottom-$);var N=fi(t,i,c.offsetGridLines&&f.length>1);N<t.left&&(l="rgba(0,0,0,0)"),N+=Tt.aliasPixel(o),P=t.getPixelForTick(i)+s.labelOffset,v=g=b=T=N,m=O,_=A,w=e.top,D=e.bottom+k}else{var j,H="left"===r.position;s.mirror?(I=H?"left":"right",j=L):(I=H?"right":"left",j=y+L),P=H?t.right-j:t.left+j;var W=fi(t,i,c.offsetGridLines&&f.length>1);W<t.top&&(l="rgba(0,0,0,0)"),W+=Tt.aliasPixel(o),R=t.getPixelForTick(i)+s.labelOffset,v=C,g=M,b=e.left,T=e.right+k,m=_=w=D=W}S.push({tx1:v,ty1:m,tx2:g,ty2:_,x1:b,y1:w,x2:T,y2:D,labelX:P,labelY:R,glWidth:o,glColor:l,glBorderDash:u,glBorderDashOffset:p,rotation:-1*x,label:E,major:n.major,textBaseline:F,textAlign:I})}})),Tt.each(S,(function(e){if(c.display&&(o.save(),o.lineWidth=e.glWidth,o.strokeStyle=e.glColor,o.setLineDash&&(o.setLineDash(e.glBorderDash),o.lineDashOffset=e.glBorderDashOffset),o.beginPath(),c.drawTicks&&(o.moveTo(e.tx1,e.ty1),o.lineTo(e.tx2,e.ty2)),c.drawOnChartArea&&(o.moveTo(e.x1,e.y1),o.lineTo(e.x2,e.y2)),o.stroke(),o.restore()),s.display){o.save(),o.translate(e.labelX,e.labelY),o.rotate(e.rotation),o.font=e.major?g.font:v.font,o.fillStyle=e.major?m:p,o.textBaseline=e.textBaseline,o.textAlign=e.textAlign;var n=e.label;if(Tt.isArray(n))for(var i=n.length,r=1.5*v.size,a=t.isHorizontal()?0:-r*(i-1)/2,l=0;l<i;++l)o.fillText(""+n[l],0,a),a+=r;else o.fillText(n,0,0);o.restore()}})),u.display){var T,D,P=0,R=i(u)/2;if(h)T=t.left+(t.right-t.left)/2,D="bottom"===r.position?t.bottom-R-w.bottom:t.top+R+w.top;else{var E="left"===r.position;T=E?t.left+R+w.top:t.right-R-w.top,D=t.top+(t.bottom-t.top)/2,P=E?-.5*Math.PI:.5*Math.PI}o.save(),o.translate(T,D),o.rotate(P),o.textAlign="center",o.textBaseline="middle",o.fillStyle=_,o.font=b.font,o.fillText(u.labelString,0,0),o.restore()}if(c.drawBorder){o.lineWidth=Tt.valueAtIndexOrDefault(c.lineWidth,0),o.strokeStyle=Tt.valueAtIndexOrDefault(c.color,0);var I=t.left,F=t.right+k,L=t.top,$=t.bottom+k,N=Tt.aliasPixel(o.lineWidth);h?(L=$="top"===r.position?t.bottom:t.top,L+=N,$+=N):(I=F="left"===r.position?t.right:t.left,I+=N,F+=N),o.beginPath(),o.moveTo(I,L),o.lineTo(F,$),o.stroke()}}}})}(Ui),function(e){function t(e,t){var n=Tt.color(e);return n.alpha(t*n.alpha()).rgbaString()}function n(e,t){return t&&(Tt.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function i(e){var t=Et.global,n=Tt.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}e.Tooltip=Cn.extend({initialize:function(){this._model=i(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,i=t.callbacks,r=i.beforeTitle.apply(e,arguments),o=i.title.apply(e,arguments),a=i.afterTitle.apply(e,arguments),s=[];return s=n(s,r),s=n(s,o),s=n(s,a)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return Tt.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,t){var i=this,r=i._options.callbacks,o=[];return Tt.each(e,(function(e){var a={before:[],lines:[],after:[]};n(a.before,r.beforeLabel.call(i,e,t)),n(a.lines,r.label.call(i,e,t)),n(a.after,r.afterLabel.call(i,e,t)),o.push(a)})),o},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return Tt.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this,t=e._options.callbacks,i=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),o=t.afterFooter.apply(e,arguments),a=[];return a=n(a,i),a=n(a,r),a=n(a,o)},update:function(t){var n,r,o,a,s,l,c,u=this,d=u._options,h=u._model,f=u._model=i(d),p=u._active,v=u._data,m={xAlign:h.xAlign,yAlign:h.yAlign},g={x:h.x,y:h.y},y={width:h.width,height:h.height},_={x:h.caretX,y:h.caretY};if(p.length){f.opacity=1;var b=[],w=[];_=e.Tooltip.positioners[d.position].call(u,p,u._eventPosition);var x=[];for(n=0,r=p.length;n<r;++n)x.push((o=p[n],a=void 0,s=void 0,l=void 0,c=void 0,a=o._xScale,s=o._yScale||o._scale,l=o._index,c=o._datasetIndex,{xLabel:a?a.getLabelForIndex(l,c):"",yLabel:s?s.getLabelForIndex(l,c):"",index:l,datasetIndex:c,x:o._model.x,y:o._model.y}));d.filter&&(x=x.filter((function(e){return d.filter(e,v)}))),d.itemSort&&(x=x.sort((function(e,t){return d.itemSort(e,t,v)}))),Tt.each(x,(function(e){b.push(d.callbacks.labelColor.call(u,e,u._chart)),w.push(d.callbacks.labelTextColor.call(u,e,u._chart))})),f.title=u.getTitle(x,v),f.beforeBody=u.getBeforeBody(x,v),f.body=u.getBody(x,v),f.afterBody=u.getAfterBody(x,v),f.footer=u.getFooter(x,v),f.x=Math.round(_.x),f.y=Math.round(_.y),f.caretPadding=d.caretPadding,f.labelColors=b,f.labelTextColors=w,f.dataPoints=x,y=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,r=0,o=t.body,a=o.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);a+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,c=t.titleFontSize,u=t.bodyFontSize,d=t.footerFontSize;i+=s*c,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=a*u,i+=a?(a-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*d,i+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){r=Math.max(r,n.measureText(e).width+h)};return n.font=Tt.fontString(c,t._titleFontStyle,t._titleFontFamily),Tt.each(t.title,f),n.font=Tt.fontString(u,t._bodyFontStyle,t._bodyFontFamily),Tt.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?u+2:0,Tt.each(o,(function(e){Tt.each(e.before,f),Tt.each(e.lines,f),Tt.each(e.after,f)})),h=0,n.font=Tt.fontString(d,t._footerFontStyle,t._footerFontFamily),Tt.each(t.footer,f),{width:r+=2*t.xPadding,height:i}}(this,f),g=function(e,t,n,i){var r=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,l=e.cornerRadius,c=n.xAlign,u=n.yAlign,d=a+s,h=l+s;return"right"===c?r-=t.width:"center"===c&&((r-=t.width/2)+t.width>i.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===u?o+=d:o-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===c?r+=d:"right"===c&&(r-=d):"left"===c?r-=h:"right"===c&&(r+=h),{x:r,y:o}}(f,y,m=function(e,t){var n,i,r,o,a,s=e._model,l=e._chart,c=e._chart.chartArea,u="center",d="center";s.y<t.height?d="top":s.y>l.height-t.height&&(d="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===d?(n=function(e){return e<=h},i=function(e){return e>h}):(n=function(e){return e<=t.width/2},i=function(e){return e>=l.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},n(s.x)?(u="left",r(s.x)&&(u="center",d=a(s.y))):i(s.x)&&(u="right",o(s.x)&&(u="center",d=a(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}(this,y),u._chart)}else f.opacity=0;return f.xAlign=m.xAlign,f.yAlign=m.yAlign,f.x=g.x,f.y=g.y,f.width=y.width,f.height=y.height,f.caretX=_.x,f.caretY=_.y,u._model=f,t&&d.custom&&d.custom.call(u,f),u},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(e,t,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(e,t,n){var i,r,o,a,s,l,c=n.caretSize,u=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,v=t.width,m=t.height;if("center"===h)s=p+m/2,"left"===d?(r=(i=f)-c,o=i,a=s+c,l=s-c):(r=(i=f+v)+c,o=i,a=s-c,l=s+c);else if("left"===d?(i=(r=f+u+c)-c,o=r+c):"right"===d?(i=(r=f+v-u-c)-c,o=r+c):(i=(r=n.caretX)-c,o=r+c),"top"===h)s=(a=p)-c,l=a;else{s=(a=p+m)+c,l=a;var g=o;o=i,i=g}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(e,n,i,r){var o=n.title;if(o.length){i.textAlign=n._titleAlign,i.textBaseline="top";var a,s,l=n.titleFontSize,c=n.titleSpacing;for(i.fillStyle=t(n.titleFontColor,r),i.font=Tt.fontString(l,n._titleFontStyle,n._titleFontFamily),a=0,s=o.length;a<s;++a)i.fillText(o[a],e.x,e.y),e.y+=l+c,a+1===o.length&&(e.y+=n.titleMarginBottom-c)}},drawBody:function(e,n,i,r){var o=n.bodyFontSize,a=n.bodySpacing,s=n.body;i.textAlign=n._bodyAlign,i.textBaseline="top",i.font=Tt.fontString(o,n._bodyFontStyle,n._bodyFontFamily);var l=0,c=function(t){i.fillText(t,e.x+l,e.y),e.y+=o+a};i.fillStyle=t(n.bodyFontColor,r),Tt.each(n.beforeBody,c);var u=n.displayColors;l=u?o+2:0,Tt.each(s,(function(a,s){var l=t(n.labelTextColors[s],r);i.fillStyle=l,Tt.each(a.before,c),Tt.each(a.lines,(function(a){u&&(i.fillStyle=t(n.legendColorBackground,r),i.fillRect(e.x,e.y,o,o),i.lineWidth=1,i.strokeStyle=t(n.labelColors[s].borderColor,r),i.strokeRect(e.x,e.y,o,o),i.fillStyle=t(n.labelColors[s].backgroundColor,r),i.fillRect(e.x+1,e.y+1,o-2,o-2),i.fillStyle=l),c(a)})),Tt.each(a.after,c)})),l=0,Tt.each(n.afterBody,c),e.y-=a},drawFooter:function(e,n,i,r){var o=n.footer;o.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=t(n.footerFontColor,r),i.font=Tt.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),Tt.each(o,(function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing})))},drawBackground:function(e,n,i,r,o){i.fillStyle=t(n.backgroundColor,o),i.strokeStyle=t(n.borderColor,o),i.lineWidth=n.borderWidth;var a=n.xAlign,s=n.yAlign,l=e.x,c=e.y,u=r.width,d=r.height,h=n.cornerRadius;i.beginPath(),i.moveTo(l+h,c),"top"===s&&this.drawCaret(e,r),i.lineTo(l+u-h,c),i.quadraticCurveTo(l+u,c,l+u,c+h),"center"===s&&"right"===a&&this.drawCaret(e,r),i.lineTo(l+u,c+d-h),i.quadraticCurveTo(l+u,c+d,l+u-h,c+d),"bottom"===s&&this.drawCaret(e,r),i.lineTo(l+h,c+d),i.quadraticCurveTo(l,c+d,l,c+d-h),"center"===s&&"left"===a&&this.drawCaret(e,r),i.lineTo(l,c+h),i.quadraticCurveTo(l,c,l+h,c),i.closePath(),i.fill(),n.borderWidth>0&&i.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(this.drawBackground(i,t,e,n,r),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,r),this.drawBody(i,t,e,r),this.drawFooter(i,t,e,r))}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),(t=!Tt.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),e.Tooltip.positioners={average:function(e){if(!e.length)return!1;var t,n,i=0,r=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:Math.round(i/o),y:Math.round(r/o)}},nearest:function(e,t){var n,i,r,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var c=l.getCenterPoint(),u=Tt.distanceBetweenPoints(t,c);u<s&&(s=u,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}}}(Ui),function(e){var t=Tt.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=Tt.sign(e.min),i=Tt.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,o=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),r!==o&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,stepSize:Tt.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i=[];if(e.stepSize&&e.stepSize>0)n=e.stepSize;else{var r=Tt.niceNum(t.max-t.min,!1);n=Tt.niceNum(r/(e.maxTicks-1),!0)}var o=Math.floor(t.min/n)*n,a=Math.ceil(t.max/n)*n;e.min&&e.max&&e.stepSize&&Tt.almostWhole((e.max-e.min)/e.stepSize,n/1e3)&&(o=e.min,a=e.max);var s=(a-o)/n;s=Tt.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var l=1;n<1&&(l=Math.pow(10,n.toString().length-2),o=Math.round(o*l)/l,a=Math.round(a*l)/l),i.push(void 0!==e.min?e.min:o);for(var c=1;c<s;++c)i.push(Math.round((o+c*n)*l)/l);return i.push(void 0!==e.max?e.max:a),i}(i,e);e.handleDirectionalChanges(),e.max=Tt.max(r),e.min=Tt.min(r),t.reverse?(r.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}(Ui),function(e){var t=e.Scale.extend({getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e,t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1,void 0!==t.options.ticks.min&&(e=n.indexOf(t.options.ticks.min),t.minIndex=-1!==e?e:t.minIndex),void 0!==t.options.ticks.max&&(e=n.indexOf(t.options.ticks.max),t.maxIndex=-1!==e?e:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,i=n.chart.data,r=n.isHorizontal();return i.yLabels&&!r?n.getRightValue(i.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t){var n,i=this,r=i.options.offset,o=Math.max(i.maxIndex+1-i.minIndex-(r?0:1),1);if(null!=e&&(n=i.isHorizontal()?e.x:e.y),void 0!==n||void 0!==e&&isNaN(t)){e=n||e;var a=i.getLabels().indexOf(e);t=-1!==a?a:t}if(i.isHorizontal()){var s=i.width/o,l=s*(t-i.minIndex);return r&&(l+=s/2),i.left+Math.round(l)}var c=i.height/o,u=c*(t-i.minIndex);return r&&(u+=c/2),i.top+Math.round(u)},getPixelForTick:function(e){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null)},getValueForPixel:function(e){var t=this,n=t.options.offset,i=Math.max(t._ticks.length-(n?0:1),1),r=t.isHorizontal(),o=(r?t.width:t.height)/i;return e-=r?t.left:t.top,n&&(e-=o/2),(e<=0?0:Math.round(e/o))+t.minIndex},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",t,{position:"bottom"})}(Ui),function(e){var t={position:"left",ticks:{callback:di.formatters.linear}},n=e.LinearScaleBase.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,i=n.data.datasets,r=e.isHorizontal();function o(t){return r?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null;var a=t.stacked;if(void 0===a&&Tt.each(i,(function(e,t){if(!a){var i=n.getDatasetMeta(t);n.isDatasetVisible(t)&&o(i)&&void 0!==i.stack&&(a=!0)}})),t.stacked||a){var s={};Tt.each(i,(function(i,r){var a=n.getDatasetMeta(r),l=[a.type,void 0===t.stacked&&void 0===a.stack?r:"",a.stack].join(".");void 0===s[l]&&(s[l]={positiveValues:[],negativeValues:[]});var c=s[l].positiveValues,u=s[l].negativeValues;n.isDatasetVisible(r)&&o(a)&&Tt.each(i.data,(function(n,i){var r=+e.getRightValue(n);isNaN(r)||a.data[i].hidden||(c[i]=c[i]||0,u[i]=u[i]||0,t.relativePoints?c[i]=100:r<0?u[i]+=r:c[i]+=r)}))})),Tt.each(s,(function(t){var n=t.positiveValues.concat(t.negativeValues),i=Tt.min(n),r=Tt.max(n);e.min=null===e.min?i:Math.min(e.min,i),e.max=null===e.max?r:Math.max(e.max,r)}))}else Tt.each(i,(function(t,i){var r=n.getDatasetMeta(i);n.isDatasetVisible(i)&&o(r)&&Tt.each(t.data,(function(t,n){var i=+e.getRightValue(t);isNaN(i)||r.data[n].hidden||((null===e.min||i<e.min)&&(e.min=i),(null===e.max||i>e.max)&&(e.max=i))}))}));e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this,n=t.options.ticks;if(t.isHorizontal())e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.width/50));else{var i=Tt.valueOrDefault(n.fontSize,Et.global.defaultFontSize);e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.height/(2*i)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,i=+t.getRightValue(e),r=t.end-n;return t.isHorizontal()?t.left+t.width/r*(i-n):t.bottom-t.height/r*(i-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),i=n?t.width:t.height,r=(n?e-t.left:t.bottom-e)/i;return t.start+(t.end-t.start)*r},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",n,t)}(Ui),function(e){var t={position:"left",ticks:{callback:di.formatters.logarithmic}},n=e.Scale.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,i=n.data.datasets,r=e.isHorizontal();function o(t){return r?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null,e.minNotZero=null;var a=t.stacked;if(void 0===a&&Tt.each(i,(function(e,t){if(!a){var i=n.getDatasetMeta(t);n.isDatasetVisible(t)&&o(i)&&void 0!==i.stack&&(a=!0)}})),t.stacked||a){var s={};Tt.each(i,(function(i,r){var a=n.getDatasetMeta(r),l=[a.type,void 0===t.stacked&&void 0===a.stack?r:"",a.stack].join(".");n.isDatasetVisible(r)&&o(a)&&(void 0===s[l]&&(s[l]=[]),Tt.each(i.data,(function(t,n){var i=s[l],r=+e.getRightValue(t);isNaN(r)||a.data[n].hidden||r<0||(i[n]=i[n]||0,i[n]+=r)})))})),Tt.each(s,(function(t){if(t.length>0){var n=Tt.min(t),i=Tt.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?i:Math.max(e.max,i)}}))}else Tt.each(i,(function(t,i){var r=n.getDatasetMeta(i);n.isDatasetVisible(i)&&o(r)&&Tt.each(t.data,(function(t,n){var i=+e.getRightValue(t);isNaN(i)||r.data[n].hidden||i<0||((null===e.min||i<e.min)&&(e.min=i),(null===e.max||i>e.max)&&(e.max=i),0!==i&&(null===e.minNotZero||i<e.minNotZero)&&(e.minNotZero=i))}))}));this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=Tt.valueOrDefault;e.min=n(t.min,e.min),e.max=n(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(Tt.log10(e.min))-1),e.max=Math.pow(10,Math.floor(Tt.log10(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(Tt.log10(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(Tt.log10(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Tt.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},r=e.ticks=function(e,t){var n,i,r=[],o=Tt.valueOrDefault,a=o(e.min,Math.pow(10,Math.floor(Tt.log10(t.min)))),s=Math.floor(Tt.log10(t.max)),l=Math.ceil(t.max/Math.pow(10,s));0===a?(n=Math.floor(Tt.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(Tt.log10(a)),i=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,c=++n>=0?1:c),a=Math.round(i*Math.pow(10,n)*c)/c}while(n<s||n===s&&i<l);var u=o(e.max,a);return r.push(u),r}(i,e);e.max=Tt.max(r),e.min=Tt.min(r),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),e.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},_getFirstTickValue:function(e){var t=Math.floor(Tt.log10(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},getPixelForValue:function(t){var n,i,r,o,a,s=this,l=s.options.ticks.reverse,c=Tt.log10,u=s._getFirstTickValue(s.minNotZero),d=0;return t=+s.getRightValue(t),l?(r=s.end,o=s.start,a=-1):(r=s.start,o=s.end,a=1),s.isHorizontal()?(n=s.width,i=l?s.right:s.left):(n=s.height,a*=-1,i=l?s.top:s.bottom),t!==r&&(0===r&&(n-=d=Tt.getValueOrDefault(s.options.ticks.fontSize,e.defaults.global.defaultFontSize),r=u),0!==t&&(d+=n/(c(o)-c(r))*(c(t)-c(r))),i+=a*d),i},getValueForPixel:function(t){var n,i,r,o,a=this,s=a.options.ticks.reverse,l=Tt.log10,c=a._getFirstTickValue(a.minNotZero);if(s?(i=a.end,r=a.start):(i=a.start,r=a.end),a.isHorizontal()?(n=a.width,o=s?a.right-t:t-a.left):(n=a.height,o=s?t-a.top:a.bottom-t),o!==i){if(0===i){var u=Tt.getValueOrDefault(a.options.ticks.fontSize,e.defaults.global.defaultFontSize);o-=u,n-=u,i=c}o*=l(r)-l(i),o/=n,o=Math.pow(10,l(i)+o)}return o}});e.scaleService.registerScaleType("logarithmic",n,t)}(Ui),function(e){var t=Et.global,n={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:di.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function i(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function r(e){var n=e.options.pointLabels,i=Tt.valueOrDefault(n.fontSize,t.defaultFontSize),r=Tt.valueOrDefault(n.fontStyle,t.defaultFontStyle),o=Tt.valueOrDefault(n.fontFamily,t.defaultFontFamily);return{size:i,style:r,family:o,font:Tt.fontString(i,r,o)}}function o(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:e<i||e>r?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function a(e){return 0===e||180===e?"center":e<180?"left":"right"}function s(e,t,n,i){if(Tt.isArray(t))for(var r=n.y,o=1.5*i,a=0;a<t.length;++a)e.fillText(t[a],n.x,r),r+=o;else e.fillText(t,n.x,n.y)}function l(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function c(e){return Tt.isNumber(e)?e:0}var u=e.LinearScaleBase.extend({setDimensions:function(){var e=this,n=e.options,i=n.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var r=Tt.min([e.height,e.width]),o=Tt.valueOrDefault(i.fontSize,t.defaultFontSize);e.drawingArea=n.display?r/2-(o/2+i.backdropPaddingY):r/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;Tt.each(t.data.datasets,(function(r,o){if(t.isDatasetVisible(o)){var a=t.getDatasetMeta(o);Tt.each(r.data,(function(t,r){var o=+e.getRightValue(t);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=i===Number.NEGATIVE_INFINITY?0:i,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,n=Tt.valueOrDefault(e.fontSize,t.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){this.options.pointLabels.display?function(e){var t,n,a,s=r(e),l=Math.min(e.height/2,e.width/2),c={r:e.width,l:0,t:e.height,b:0},u={};e.ctx.font=s.font,e._pointLabelSizes=[];var d,h,f,p=i(e);for(t=0;t<p;t++){a=e.getPointPosition(t,l),d=e.ctx,h=s.size,f=e.pointLabels[t]||"",n=Tt.isArray(f)?{w:Tt.longestText(d,d.font,f),h:f.length*h+1.5*(f.length-1)*h}:{w:d.measureText(f).width,h:h},e._pointLabelSizes[t]=n;var v=e.getIndexAngle(t),m=Tt.toDegrees(v)%360,g=o(m,a.x,n.w,0,180),y=o(m,a.y,n.h,90,270);g.start<c.l&&(c.l=g.start,u.l=v),g.end>c.r&&(c.r=g.end,u.r=v),y.start<c.t&&(c.t=y.start,u.t=v),y.end>c.b&&(c.b=y.end,u.b=v)}e.setReductions(l,c,u)}(this):function(e){var t=Math.min(e.height/2,e.width/2);e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0)}(this)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),o=Math.max(t.r-i.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-i.height,0)/Math.cos(n.b);r=c(r),o=c(o),a=c(a),s=c(s),i.drawingArea=Math.min(Math.round(e-(r+o)/2),Math.round(e-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(e,t,n,i){var r=this,o=r.width-t-r.drawingArea,a=e+r.drawingArea,s=n+r.drawingArea,l=r.height-i-r.drawingArea;r.xCenter=Math.round((a+o)/2+r.left),r.yCenter=Math.round((s+l)/2+r.top)},getIndexAngle:function(e){return e*(2*Math.PI/i(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,i=n.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(i)*t)+n.xCenter,y:Math.round(Math.sin(i)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(){var e=this,n=e.options,o=n.gridLines,c=n.ticks,u=Tt.valueOrDefault;if(n.display){var d=e.ctx,h=this.getIndexAngle(0),f=u(c.fontSize,t.defaultFontSize),p=u(c.fontStyle,t.defaultFontStyle),v=u(c.fontFamily,t.defaultFontFamily),m=Tt.fontString(f,p,v);Tt.each(e.ticks,(function(n,r){if(r>0||c.reverse){var a=e.getDistanceFromCenterForValue(e.ticksAsNumbers[r]);if(o.display&&0!==r&&function(e,t,n,r){var o=e.ctx;if(o.strokeStyle=Tt.valueAtIndexOrDefault(t.color,r-1),o.lineWidth=Tt.valueAtIndexOrDefault(t.lineWidth,r-1),e.options.gridLines.circular)o.beginPath(),o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=i(e);if(0===a)return;o.beginPath();var s=e.getPointPosition(0,n);o.moveTo(s.x,s.y);for(var l=1;l<a;l++)s=e.getPointPosition(l,n),o.lineTo(s.x,s.y);o.closePath(),o.stroke()}}(e,o,a,r),c.display){var s=u(c.fontColor,t.defaultFontColor);if(d.font=m,d.save(),d.translate(e.xCenter,e.yCenter),d.rotate(h),c.showLabelBackdrop){var l=d.measureText(n).width;d.fillStyle=c.backdropColor,d.fillRect(-l/2-c.backdropPaddingX,-a-f/2-c.backdropPaddingY,l+2*c.backdropPaddingX,f+2*c.backdropPaddingY)}d.textAlign="center",d.textBaseline="middle",d.fillStyle=s,d.fillText(n,0,-a),d.restore()}}})),(n.angleLines.display||n.pointLabels.display)&&function(e){var n=e.ctx,o=e.options,c=o.angleLines,u=o.pointLabels;n.lineWidth=c.lineWidth,n.strokeStyle=c.color;var d=e.getDistanceFromCenterForValue(o.ticks.reverse?e.min:e.max),h=r(e);n.textBaseline="top";for(var f=i(e)-1;f>=0;f--){if(c.display){var p=e.getPointPosition(f,d);n.beginPath(),n.moveTo(e.xCenter,e.yCenter),n.lineTo(p.x,p.y),n.stroke(),n.closePath()}if(u.display){var v=e.getPointPosition(f,d+5),m=Tt.valueAtIndexOrDefault(u.fontColor,f,t.defaultFontColor);n.font=h.font,n.fillStyle=m;var g=e.getIndexAngle(f),y=Tt.toDegrees(g);n.textAlign=a(y),l(y,e._pointLabelSizes[f],v),s(n,e.pointLabels[f]||"",v,h.size)}}}(e)}}});e.scaleService.registerScaleType("radialLinear",u,n)}(Ui),function(e){var t=e.Scale.extend({initialize:function(){if(!pi)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this,n=t.options;return n.time&&n.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var e,t,n,i,r,o,a=this,s=a.chart,l=a.options.time,c=l.unit||"day",u=mi,d=vi,h=[],f=[],p=[];for(e=0,n=s.data.labels.length;e<n;++e)p.push(Si(s.data.labels[e],a));for(e=0,n=(s.data.datasets||[]).length;e<n;++e)if(s.isDatasetVisible(e))if(r=s.data.datasets[e].data,Tt.isObject(r[0]))for(f[e]=[],t=0,i=r.length;t<i;++t)o=Si(r[t],a),h.push(o),f[e][t]=o;else h.push.apply(h,p),f[e]=p.slice(0);else f[e]=[];p.length&&(p=bi(p).sort(_i),u=Math.min(u,p[0]),d=Math.max(d,p[p.length-1])),h.length&&(h=bi(h).sort(_i),u=Math.min(u,h[0]),d=Math.max(d,h[h.length-1])),u=Si(l.min,a)||u,d=Si(l.max,a)||d,u=u===mi?+pi().startOf(c):u,d=d===vi?+pi().endOf(c)+1:d,a.min=Math.min(u,d),a.max=Math.max(u+1,d),a._horizontal=a.isHorizontal(),a._table=[],a._timestamps={data:h,datasets:f,labels:p}},buildTicks:function(){var e,t,n,i=this,r=i.min,o=i.max,a=i.options,s=a.time,l=[],c=[];switch(a.ticks.source){case"data":l=i._timestamps.data;break;case"labels":l=i._timestamps.labels;break;case"auto":default:l=Ci(r,o,i.getLabelCapacity(r),a)}for("ticks"===a.bounds&&l.length&&(r=l[0],o=l[l.length-1]),r=Si(s.min,i)||r,o=Si(s.max,i)||o,e=0,t=l.length;e<t;++e)(n=l[e])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=s.unit||function(e,t,n,i){var r,o,a=pi.duration(pi(i).diff(pi(n)));for(r=yi.length-1;r>=yi.indexOf(t);r--)if(o=yi[r],gi[o].common&&a.as(o)>=e.length)return o;return yi[t?yi.indexOf(t):0]}(c,s.minUnit,i.min,i.max),i._majorUnit=ki(i._unit),i._table=function(e,t,n,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var r,o,a,s,l,c=[],u=[t];for(r=0,o=e.length;r<o;++r)(s=e[r])>t&&s<n&&u.push(s);for(u.push(n),r=0,o=u.length;r<o;++r)l=u[r+1],a=u[r-1],s=u[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||c.push({time:s,pos:r/(o-1)});return c}(i._timestamps.data,r,o,a.distribution),i._offsets=function(e,t,n,i,r){var o,a,s=0,l=0;return r.offset&&t.length&&(r.time.min||(o=t.length>1?t[1]:i,a=t[0],s=(wi(e,"time",o,"pos")-wi(e,"time",a,"pos"))/2),r.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,l=(wi(e,"time",o,"pos")-wi(e,"time",a,"pos"))/2)),{left:s,right:l}}(i._table,c,r,o,a),i._labelFormat=function(e,t){var n,i,r,o=e.length;for(n=0;n<o;n++){if(0!==(i=xi(e[n],t)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(r=!0)}return r?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(i._timestamps.data,s),function(e,t){var n,i,r,o,a=[];for(n=0,i=e.length;n<i;++n)r=e[n],o=!!t&&r===+pi(r).startOf(t),a.push({value:r,major:o});return a}(c,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,i=n.chart.data,r=n.options.time,o=i.labels&&e<i.labels.length?i.labels[e]:"",a=i.datasets[t].data[e];return Tt.isObject(a)&&(o=n.getRightValue(a)),r.tooltipFormat?xi(o,r).format(r.tooltipFormat):"string"==typeof o?o:xi(o,r).format(n._labelFormat)},tickFormatFunction:function(e,t,n,i){var r=this,o=r.options,a=e.valueOf(),s=o.time.displayFormats,l=s[r._unit],c=r._majorUnit,u=s[c],d=e.clone().startOf(c).valueOf(),h=o.ticks.major,f=h.enabled&&c&&u&&a===d,p=e.format(i||(f?u:l)),v=f?h:o.ticks.minor,m=Tt.valueOrDefault(v.callback,v.userCallback);return m?m(p,t,n):p},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(pi(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,r=wi(t._table,"time",e,"pos");return i+n*(t._offsets.left+r)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var i=this,r=null;if(void 0!==t&&void 0!==n&&(r=i._timestamps.datasets[n][t]),null===r&&(r=Si(e,i)),null!==r)return i.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,r=(n?(e-i)/n:0)*(t._offsets.left+1+t._offsets.left)-t._offsets.right,o=wi(t._table,"pos",r,"time");return pi(o)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=Tt.toRadians(t.maxRotation),r=Math.cos(i),o=Math.sin(i);return n*r+Tt.valueOrDefault(t.fontSize,Et.global.defaultFontSize)*o},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(pi(e),0,[],n),r=t.getLabelWidth(i),o=t.isHorizontal()?t.width:t.height,a=Math.floor(o/r);return a>0?a:1}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}(Ui),function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:Fn.Rectangle,initialize:function(){var t,n=this;e.DatasetController.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0},update:function(e){var t,n,i=this,r=i.getMeta().data;for(i._ruler=i.getRuler(),t=0,n=r.length;t<n;++t)i.updateElement(r[t],t,e)},updateElement:function(e,t,n){var i=this,r=i.chart,o=i.getMeta(),a=i.getDataset(),s=e.custom||{},l=r.options.elements.rectangle;e._xScale=i.getScaleForId(o.xAxisID),e._yScale=i.getScaleForId(o.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={datasetLabel:a.label,label:r.data.labels[t],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:Tt.valueAtIndexOrDefault(a.backgroundColor,t,l.backgroundColor),borderColor:s.borderColor?s.borderColor:Tt.valueAtIndexOrDefault(a.borderColor,t,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:Tt.valueAtIndexOrDefault(a.borderWidth,t,l.borderWidth)},i.updateElementGeometry(e,t,n),e.pivot()},updateElementGeometry:function(e,t,n){var i=this,r=e._model,o=i.getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),l=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,t),u=i.calculateBarIndexPixels(i.index,t,l);r.horizontal=s,r.base=n?a:c.base,r.x=s?n?a:c.head:u.center,r.y=s?u.center:n?a:c.head,r.height=s?u.size:void 0,r.width=s?void 0:u.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(e){var t,n,i=this.chart,r=this.getIndexScale().options.stacked,o=void 0===e?i.data.datasets.length:e+1,a=[];for(t=0;t<o;++t)(n=i.getDatasetMeta(t)).bar&&i.isDatasetVisible(t)&&(!1===r||!0===r&&-1===a.indexOf(n.stack)||void 0===r&&(void 0===n.stack||-1===a.indexOf(n.stack)))&&a.push(n.stack);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this,i=n.getIndexScale(),r=n.getStackCount(),o=n.index,a=i.isHorizontal(),s=a?i.left:i.top,l=s+(a?i.width:i.height),c=[];for(e=0,t=n.getMeta().data.length;e<t;++e)c.push(i.getPixelForValue(null,e,o));return{min:Tt.isNullOrUndef(i.options.barThickness)?function(e,t){var n,i,r,o,a=e.isHorizontal()?e.width:e.height,s=e.getTicks();for(r=1,o=t.length;r<o;++r)a=Math.min(a,t[r]-t[r-1]);for(r=0,o=s.length;r<o;++r)i=e.getPixelForTick(r),a=r>0?Math.min(a,i-n):a,n=i;return a}(i,c):-1,pixels:c,start:s,end:l,stackCount:r,scale:i}},calculateBarValuePixels:function(e,t){var n,i,r,o,a,s,l=this,c=l.chart,u=l.getMeta(),d=l.getValueScale(),h=c.data.datasets,f=d.getRightValue(h[e].data[t]),p=d.options.stacked,v=u.stack,m=0;if(p||void 0===p&&void 0!==v)for(n=0;n<e;++n)(i=c.getDatasetMeta(n)).bar&&i.stack===v&&i.controller.getValueScaleId()===d.id&&c.isDatasetVisible(n)&&(r=d.getRightValue(h[n].data[t]),(f<0&&r<0||f>=0&&r>0)&&(m+=r));return o=d.getPixelForValue(m),{size:s=((a=d.getPixelForValue(m+f))-o)/2,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(e,t,n){var i=n.scale.options,r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,o=r[e],a=e>0?r[e-1]:null,s=e<r.length-1?r[e+1]:null,l=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-o:s-o)),null===s&&(s=o+o-a),i=o-(o-a)/2*l,{chunk:(s-a)/2*l/t.stackCount,ratio:n.barPercentage,start:i}}(t,n,i):function(e,t,n){var i,r,o=n.barThickness,a=t.stackCount,s=t.pixels[e];return Tt.isNullOrUndef(o)?(i=t.min*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}(t,n,i),o=this.getStackIndex(e,this.getMeta().stack),a=r.start+r.chunk*o+r.chunk/2,s=Math.min(Tt.valueOrDefault(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var e=this,t=e.chart,n=e.getValueScale(),i=e.getMeta().data,r=e.getDataset(),o=i.length,a=0;for(Tt.canvas.clipArea(t.ctx,t.chartArea);a<o;++a)isNaN(n.getRightValue(r.data[a]))||i[a].draw();Tt.canvas.unclipArea(t.ctx)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model;r.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:Tt.valueAtIndexOrDefault(t.hoverBackgroundColor,n,Tt.getHoverColor(r.backgroundColor)),r.borderColor=i.hoverBorderColor?i.hoverBorderColor:Tt.valueAtIndexOrDefault(t.hoverBorderColor,n,Tt.getHoverColor(r.borderColor)),r.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:Tt.valueAtIndexOrDefault(t.hoverBorderWidth,n,r.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model,o=this.chart.options.elements.rectangle;r.backgroundColor=i.backgroundColor?i.backgroundColor:Tt.valueAtIndexOrDefault(t.backgroundColor,n,o.backgroundColor),r.borderColor=i.borderColor?i.borderColor:Tt.valueAtIndexOrDefault(t.borderColor,n,o.borderColor),r.borderWidth=i.borderWidth?i.borderWidth:Tt.valueAtIndexOrDefault(t.borderWidth,n,o.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}(Ui),function(e){e.controllers.bubble=e.DatasetController.extend({dataElementType:Fn.Point,update:function(e){var t=this,n=t.getMeta().data;Tt.each(n,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){var i=this,r=i.getMeta(),o=e.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveElementOptions(e,t),c=i.getDataset().data[t],u=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,t,u),h=n?s.getBasePixel():s.getPixelForValue(c,t,u);e._xScale=a,e._yScale=s,e._options=l,e._datasetIndex=u,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=Tt.valueOrDefault(n.hoverBackgroundColor,Tt.getHoverColor(n.backgroundColor)),t.borderColor=Tt.valueOrDefault(n.hoverBorderColor,Tt.getHoverColor(n.borderColor)),t.borderWidth=Tt.valueOrDefault(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},removeHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=n.backgroundColor,t.borderColor=n.borderColor,t.borderWidth=n.borderWidth,t.radius=n.radius},_resolveElementOptions:function(e,t){var n,i,r,o=this,a=o.chart,s=a.data.datasets[o.index],l=e.custom||{},c=a.options.elements.point,u=Tt.options.resolve,d=s.data[t],h={},f={chart:a,dataIndex:t,dataset:s,datasetIndex:o.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=p.length;n<i;++n)h[r=p[n]]=u([l[r],s[r],c[r]],f,t);return h.radius=u([l.radius,d?d.r:void 0,s.radius,c.radius],f,t),h}})}(Ui),function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:Fn.Arc,linkScales:Tt.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t=this,n=t.chart,i=n.chartArea,r=n.options,o=r.elements.arc,a=i.right-i.left-o.borderWidth,s=i.bottom-i.top-o.borderWidth,l=Math.min(a,s),c={x:0,y:0},u=t.getMeta(),d=r.cutoutPercentage,h=r.circumference;if(h<2*Math.PI){var f=r.rotation%(2*Math.PI),p=(f+=2*Math.PI*(f>=Math.PI?-1:f<-Math.PI?1:0))+h,v={x:Math.cos(f),y:Math.sin(f)},m={x:Math.cos(p),y:Math.sin(p)},g=f<=0&&p>=0||f<=2*Math.PI&&2*Math.PI<=p,y=f<=.5*Math.PI&&.5*Math.PI<=p||f<=2.5*Math.PI&&2.5*Math.PI<=p,_=f<=-Math.PI&&-Math.PI<=p||f<=Math.PI&&Math.PI<=p,b=f<=.5*-Math.PI&&.5*-Math.PI<=p||f<=1.5*Math.PI&&1.5*Math.PI<=p,w=d/100,x={x:_?-1:Math.min(v.x*(v.x<0?1:w),m.x*(m.x<0?1:w)),y:b?-1:Math.min(v.y*(v.y<0?1:w),m.y*(m.y<0?1:w))},S={x:g?1:Math.max(v.x*(v.x>0?1:w),m.x*(m.x>0?1:w)),y:y?1:Math.max(v.y*(v.y>0?1:w),m.y*(m.y>0?1:w))},k={width:.5*(S.x-x.x),height:.5*(S.y-x.y)};l=Math.min(a/k.width,s/k.height),c={x:-.5*(S.x+x.x),y:-.5*(S.y+x.y)}}n.borderWidth=t.getMaxBorderWidth(u.data),n.outerRadius=Math.max((l-n.borderWidth)/2,0),n.innerRadius=Math.max(d?n.outerRadius/100*d:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,u.total=t.calculateTotal(),t.outerRadius=n.outerRadius-n.radiusLength*t.getRingIndex(t.index),t.innerRadius=Math.max(t.outerRadius-n.radiusLength,0),Tt.each(u.data,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,c=(o.top+o.bottom)/2,u=a.rotation,d=a.rotation,h=i.getDataset(),f=n&&s.animateRotate||e.hidden?0:i.calculateCircumference(h.data[t])*(a.circumference/(2*Math.PI)),p=n&&s.animateScale?0:i.innerRadius,v=n&&s.animateScale?0:i.outerRadius,m=Tt.valueAtIndexOrDefault;Tt.extend(e,{_datasetIndex:i.index,_index:t,_model:{x:l+r.offsetX,y:c+r.offsetY,startAngle:u,endAngle:d,circumference:f,outerRadius:v,innerRadius:p,label:m(h.label,t,r.data.labels[t])}});var g=e._model;this.removeHoverStyle(e),n&&s.animateRotate||(g.startAngle=0===t?a.rotation:i.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),i=0;return Tt.each(n.data,(function(n,r){e=t.data[r],isNaN(e)||n.hidden||(i+=Math.abs(e))})),i},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,i=0,r=this.index,o=e.length,a=0;a<o;a++)t=e[a]._model?e[a]._model.borderWidth:0,i=(n=e[a]._chart?e[a]._chart.config.data.datasets[r].hoverBorderWidth:0)>(i=t>i?t:i)?n:i;return i}})}(Ui),function(e){function t(e,t){return Tt.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:Fn.Line,dataElementType:Fn.Point,update:function(e){var n,i,r,o=this,a=o.getMeta(),s=a.dataset,l=a.data||[],c=o.chart.options,u=c.elements.line,d=o.getScaleForId(a.yAxisID),h=o.getDataset(),f=t(h,c);for(f&&(r=s.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),s._scale=d,s._datasetIndex=o.index,s._children=l,s._model={spanGaps:h.spanGaps?h.spanGaps:c.spanGaps,tension:r.tension?r.tension:Tt.valueOrDefault(h.lineTension,u.tension),backgroundColor:r.backgroundColor?r.backgroundColor:h.backgroundColor||u.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:h.borderWidth||u.borderWidth,borderColor:r.borderColor?r.borderColor:h.borderColor||u.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:h.borderCapStyle||u.borderCapStyle,borderDash:r.borderDash?r.borderDash:h.borderDash||u.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:h.borderDashOffset||u.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:h.borderJoinStyle||u.borderJoinStyle,fill:r.fill?r.fill:void 0!==h.fill?h.fill:u.fill,steppedLine:r.steppedLine?r.steppedLine:Tt.valueOrDefault(h.steppedLine,u.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:Tt.valueOrDefault(h.cubicInterpolationMode,u.cubicInterpolationMode)},s.pivot()),n=0,i=l.length;n<i;++n)o.updateElement(l[n],n,e);for(f&&0!==s._model.tension&&o.updateBezierControlPoints(),n=0,i=l.length;n<i;++n)l[n].pivot()},getPointBackgroundColor:function(e,t){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),r=e.custom||{};return r.backgroundColor?n=r.backgroundColor:i.pointBackgroundColor?n=Tt.valueAtIndexOrDefault(i.pointBackgroundColor,t,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(e,t){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),r=e.custom||{};return r.borderColor?n=r.borderColor:i.pointBorderColor?n=Tt.valueAtIndexOrDefault(i.pointBorderColor,t,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(e,t){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),r=e.custom||{};return isNaN(r.borderWidth)?!isNaN(i.pointBorderWidth)||Tt.isArray(i.pointBorderWidth)?n=Tt.valueAtIndexOrDefault(i.pointBorderWidth,t,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=r.borderWidth,n},updateElement:function(e,t,n){var i,r,o=this,a=o.getMeta(),s=e.custom||{},l=o.getDataset(),c=o.index,u=l.data[t],d=o.getScaleForId(a.yAxisID),h=o.getScaleForId(a.xAxisID),f=o.chart.options.elements.point;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 u?u:NaN,t,c),r=n?d.getBasePixel():o.calculatePointY(u,t,c),e._xScale=h,e._yScale=d,e._datasetIndex=c,e._index=t,e._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:s.radius||Tt.valueAtIndexOrDefault(l.pointRadius,t,f.radius),pointStyle:s.pointStyle||Tt.valueAtIndexOrDefault(l.pointStyle,t,f.pointStyle),backgroundColor:o.getPointBackgroundColor(e,t),borderColor:o.getPointBorderColor(e,t),borderWidth:o.getPointBorderWidth(e,t),tension:a.dataset._model?a.dataset._model.tension:0,steppedLine:!!a.dataset._model&&a.dataset._model.steppedLine,hitRadius:s.hitRadius||Tt.valueAtIndexOrDefault(l.pointHitRadius,t,f.hitRadius)}},calculatePointY:function(e,t,n){var i,r,o,a=this,s=a.chart,l=a.getMeta(),c=a.getScaleForId(l.yAxisID),u=0,d=0;if(c.options.stacked){for(i=0;i<n;i++)if(r=s.data.datasets[i],"line"===(o=s.getDatasetMeta(i)).type&&o.yAxisID===c.id&&s.isDatasetVisible(i)){var h=Number(c.getRightValue(r.data[t]));h<0?d+=h||0:u+=h||0}var f=Number(c.getRightValue(e));return f<0?c.getPixelForValue(d+f):c.getPixelForValue(u+f)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,r=this,o=r.getMeta(),a=r.chart.chartArea,s=o.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}if(o.dataset._model.spanGaps&&(s=s.filter((function(e){return!e._model.skip}))),"monotone"===o.dataset._model.cubicInterpolationMode)Tt.splineCurveMonotone(s);else for(e=0,t=s.length;e<t;++e)n=s[e]._model,i=Tt.splineCurve(Tt.previousItem(s,e)._model,n,Tt.nextItem(s,e)._model,o.dataset._model.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.chart.options.elements.line.capBezierPoints)for(e=0,t=s.length;e<t;++e)(n=s[e]._model).controlPointPreviousX=l(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=l(n.controlPointPreviousY,a.top,a.bottom),n.controlPointNextX=l(n.controlPointNextX,a.left,a.right),n.controlPointNextY=l(n.controlPointNextY,a.top,a.bottom)},draw:function(){var e=this,n=e.chart,i=e.getMeta(),r=i.data||[],o=n.chartArea,a=r.length,s=0;for(Tt.canvas.clipArea(n.ctx,o),t(e.getDataset(),n.options)&&i.dataset.draw(),Tt.canvas.unclipArea(n.ctx);s<a;++s)r[s].draw(o)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model;r.radius=i.hoverRadius||Tt.valueAtIndexOrDefault(t.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),r.backgroundColor=i.hoverBackgroundColor||Tt.valueAtIndexOrDefault(t.pointHoverBackgroundColor,n,Tt.getHoverColor(r.backgroundColor)),r.borderColor=i.hoverBorderColor||Tt.valueAtIndexOrDefault(t.pointHoverBorderColor,n,Tt.getHoverColor(r.borderColor)),r.borderWidth=i.hoverBorderWidth||Tt.valueAtIndexOrDefault(t.pointHoverBorderWidth,n,r.borderWidth)},removeHoverStyle:function(e){var t=this,n=t.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},o=e._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),o.radius=r.radius||Tt.valueAtIndexOrDefault(n.pointRadius,i,t.chart.options.elements.point.radius),o.backgroundColor=t.getPointBackgroundColor(e,i),o.borderColor=t.getPointBorderColor(e,i),o.borderWidth=t.getPointBorderWidth(e,i)}})}(Ui),function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:Fn.Arc,linkScales:Tt.noop,update:function(e){var t=this,n=t.chart,i=n.chartArea,r=t.getMeta(),o=n.options,a=o.elements.arc,s=Math.min(i.right-i.left,i.bottom-i.top);n.outerRadius=Math.max((s-a.borderWidth/2)/2,0),n.innerRadius=Math.max(o.cutoutPercentage?n.outerRadius/100*o.cutoutPercentage:1,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),t.outerRadius=n.outerRadius-n.radiusLength*t.index,t.innerRadius=t.outerRadius-n.radiusLength,r.count=t.countVisibleElements(),Tt.each(r.data,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){for(var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,c=r.data.labels,u=i.calculateCircumference(o.data[t]),d=l.xCenter,h=l.yCenter,f=0,p=i.getMeta(),v=0;v<t;++v)isNaN(o.data[v])||p.data[v].hidden||++f;var m=a.startAngle,g=e.hidden?0:l.getDistanceFromCenterForValue(o.data[t]),y=m+u*f,_=y+(e.hidden?0:u),b=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[t]);Tt.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{x:d,y:h,innerRadius:0,outerRadius:n?b:g,startAngle:n&&s.animateRotate?m:y,endAngle:n&&s.animateRotate?m:_,label:Tt.valueAtIndexOrDefault(c,t,c[t])}}),i.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return Tt.each(t.data,(function(t,i){isNaN(e.data[i])||t.hidden||n++})),n},calculateCircumference:function(e){var t=this.getMeta().count;return t>0&&!isNaN(e)?2*Math.PI/t:0}})}(Ui),function(e){e.controllers.radar=e.DatasetController.extend({datasetElementType:Fn.Line,dataElementType:Fn.Point,linkScales:Tt.noop,update:function(e){var t=this,n=t.getMeta(),i=n.dataset,r=n.data,o=i.custom||{},a=t.getDataset(),s=t.chart.options.elements.line,l=t.chart.scale;void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),Tt.extend(n.dataset,{_datasetIndex:t.index,_scale:l,_children:r,_loop:!0,_model:{tension:o.tension?o.tension:Tt.valueOrDefault(a.lineTension,s.tension),backgroundColor:o.backgroundColor?o.backgroundColor:a.backgroundColor||s.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:a.borderWidth||s.borderWidth,borderColor:o.borderColor?o.borderColor:a.borderColor||s.borderColor,fill:o.fill?o.fill:void 0!==a.fill?a.fill:s.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:a.borderCapStyle||s.borderCapStyle,borderDash:o.borderDash?o.borderDash:a.borderDash||s.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:a.borderDashOffset||s.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:a.borderJoinStyle||s.borderJoinStyle}}),n.dataset.pivot(),Tt.each(r,(function(n,i){t.updateElement(n,i,e)}),t),t.updateBezierControlPoints()},updateElement:function(e,t,n){var i=this,r=e.custom||{},o=i.getDataset(),a=i.chart.scale,s=i.chart.options.elements.point,l=a.getPointPositionForValue(t,o.data[t]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),Tt.extend(e,{_datasetIndex:i.index,_index:t,_scale:a,_model:{x:n?a.xCenter:l.x,y:n?a.yCenter:l.y,tension:r.tension?r.tension:Tt.valueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:r.radius?r.radius:Tt.valueAtIndexOrDefault(o.pointRadius,t,s.radius),backgroundColor:r.backgroundColor?r.backgroundColor:Tt.valueAtIndexOrDefault(o.pointBackgroundColor,t,s.backgroundColor),borderColor:r.borderColor?r.borderColor:Tt.valueAtIndexOrDefault(o.pointBorderColor,t,s.borderColor),borderWidth:r.borderWidth?r.borderWidth:Tt.valueAtIndexOrDefault(o.pointBorderWidth,t,s.borderWidth),pointStyle:r.pointStyle?r.pointStyle:Tt.valueAtIndexOrDefault(o.pointStyle,t,s.pointStyle),hitRadius:r.hitRadius?r.hitRadius:Tt.valueAtIndexOrDefault(o.pointHitRadius,t,s.hitRadius)}}),e._model.skip=r.skip?r.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,t=this.getMeta();Tt.each(t.data,(function(n,i){var r=n._model,o=Tt.splineCurve(Tt.previousItem(t.data,i,!0)._model,r,Tt.nextItem(t.data,i,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),r.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),r.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),r.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),n.pivot()}))},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,r=e._model;r.radius=n.hoverRadius?n.hoverRadius:Tt.valueAtIndexOrDefault(t.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:Tt.valueAtIndexOrDefault(t.pointHoverBackgroundColor,i,Tt.getHoverColor(r.backgroundColor)),r.borderColor=n.hoverBorderColor?n.hoverBorderColor:Tt.valueAtIndexOrDefault(t.pointHoverBorderColor,i,Tt.getHoverColor(r.borderColor)),r.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:Tt.valueAtIndexOrDefault(t.pointHoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,r=e._model,o=this.chart.options.elements.point;r.radius=n.radius?n.radius:Tt.valueAtIndexOrDefault(t.pointRadius,i,o.radius),r.backgroundColor=n.backgroundColor?n.backgroundColor:Tt.valueAtIndexOrDefault(t.pointBackgroundColor,i,o.backgroundColor),r.borderColor=n.borderColor?n.borderColor:Tt.valueAtIndexOrDefault(t.pointBorderColor,i,o.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:Tt.valueAtIndexOrDefault(t.pointBorderWidth,i,o.borderWidth)}})}(Ui),function(e){e.controllers.scatter=e.controllers.line}(Ui),function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}(Ui),function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}(Ui),function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}(Ui),function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}(Ui),function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}(Ui),function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}(Ui),function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}(Ui),Vi)Vi.hasOwnProperty(qi)&&Ui.plugins.register(Vi[qi]);Ui.platform.initialize();var Gi=Ui;function Qi(e,t){if(t){var n=this.$data._chart,i=e.datasets.map((function(e){return e.label})),r=t.datasets.map((function(e){return e.label})),o=JSON.stringify(r);JSON.stringify(i)===o&&t.datasets.length===e.datasets.length?(e.datasets.forEach((function(e,i){var r=Object.keys(t.datasets[i]),o=Object.keys(e),a=r.filter((function(e){return"_meta"!==e&&-1===o.indexOf(e)}));for(var s in a.forEach((function(e){delete n.data.datasets[i][e]})),e)e.hasOwnProperty(s)&&(n.data.datasets[i][s]=e[s])})),e.hasOwnProperty("labels")&&(n.data.labels=e.labels,this.$emit("labels:update")),e.hasOwnProperty("xLabels")&&(n.data.xLabels=e.xLabels,this.$emit("xlabels:update")),e.hasOwnProperty("yLabels")&&(n.data.yLabels=e.yLabels,this.$emit("ylabels:update")),n.update(),this.$emit("chart:update")):(n&&(n.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}"undefined"!=typeof window&&(window.Chart=Ui),Ui.Legend=Vi.legend._element,Ui.Title=Vi.title._element,Ui.pluginService=Ui.plugins,Ui.PluginBase=Ui.Element.extend({}),Ui.canvasHelpers=Ui.helpers.canvas,Ui.layoutService=Ui.layouts;var Ji={reactiveData:{data:function(){return{chartData:null}},watch:{chartData:Qi}},reactiveProp:{props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:Qi}}};function Ki(e,t){return{render:function(e){return e("div",{style:this.styles,class:this.cssClasses},[e("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:e,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(e){this.$data._plugins.push(e)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(e,n){if(this.$data._chart&&this.$data._chart.destroy(),!this.$refs.canvas)throw new Error("Please remove the <template></template> tags from your chart component. See https://vue-chartjs.org/guide/#vue-single-file-components");this.$data._chart=new Gi(this.$refs.canvas.getContext("2d"),{type:t,data:e,options:n,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var Zi=Ki("horizontalbar-chart","horizontalBar"),Xi=Ki("doughnut-chart","doughnut"),er=Ki("line-chart","line");Gi.NewLegend=Gi.Legend.extend({afterFit:function(){this.height=this.height+20}});let tr=function(e,t){if("line"===e.config.type){var n=new Gi.NewLegend({ctx:e.chart.ctx,options:t,chart:e});e.legend&&(Gi.layoutService.removeBox(e,e.legend),delete e.newLegend),e.newLegend=n,Gi.layoutService.addBox(e,n)}};Gi.plugins.register({beforeInit:function(e){if("line"===e.config.type){var t=e.options.legend;t&&tr(e,t)}},beforeUpdate:function(e){if("line"===e.config.type){var t=e.options.legend;t?(t=Gi.helpers.configMerge(Gi.defaults.global.legend,t),e.newLegend?e.newLegend.options=t:tr(e,t)):(Gi.layoutService.removeBox(e,e.newLegend),delete e.newLegend)}},afterEvent:function(e,t){if("line"===e.config.type){var n=e.newLegend;n&&n.handleEvent(t)}}});const{reactiveProp:nr}=Ji;const ir=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics-chart searchwp-metrics-chart--line"},[n("line-chart",{attrs:{"chart-data":e.datacollection,options:e.options}})],1)},staticRenderFns:[]},undefined,{components:{LineChart:{extends:er,mixins:[nr],props:["options"],mounted(){this.chartData&&this.renderChart(this.chartData,this.options)}}},props:{datacollection:Object,options:{type:Object,default:{}}}},undefined,false,undefined,!1,void 0,void 0,void 0);const rr=yt({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("button",{staticClass:"searchwp-delete dashicons dashicons-dismiss",attrs:{title:e.i18n.remove},on:{click:e.onclick}})},staticRenderFns:[]},undefined,{methods:{onclick:function(){this.$emit("onclick")}},data:()=>({i18n:{remove:_SEARCHWP_METRICS_VARS.i18n.remove}})},undefined,false,undefined,!1,void 0,void 0,void 0),{reactiveProp:or}=Ji;const ar=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics-chart searchwp-metrics-chart--doughnut"},[n("doughnut-chart",{attrs:{"chart-data":e.datacollection,options:e.options}})],1)},staticRenderFns:[]},undefined,{components:{DoughnutChart:{extends:Xi,mixins:[or],props:["options"],mounted(){this.renderChart(this.chartData,this.options)}}},props:{datacollection:Object,options:{type:Object,default:{}}}},undefined,false,undefined,!1,void 0,void 0,void 0),{reactiveProp:sr}=Ji;const lr=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics-chart searchwp-metrics-chart--bar"},[n("bar-chart",{attrs:{"chart-data":e.datacollection,options:e.options}})],1)},staticRenderFns:[]},undefined,{components:{BarChart:{extends:Zi,mixins:[sr],props:["options"],mounted(){this.renderChart(this.chartData,this.options)}}},props:{datacollection:Object,options:{type:Object,default:{}}}},undefined,false,undefined,!1,void 0,void 0,void 0);const cr=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"searchwp-metrics-legend-item"},[n("span",{staticClass:"searchwp-metrics-legend-indicator",style:{backgroundColor:e.color},attrs:{title:e.text}}),e._v(" "),n("span",{staticClass:"searchwp-metrics-legend-label",attrs:{title:e.text},on:{click:function(t){return e.$emit("onclick")}}},[n("span",[e._v(e._s(e.text))])])])},staticRenderFns:[]},undefined,{props:{index:Number,text:String},mounted(){this.color=o.SearchwpMetricsGetColor(this.index)},data:()=>({color:"#ffffff"})},undefined,false,undefined,!1,void 0,void 0,void 0);const ur=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics__insight"},[e.icon?n("span",{class:"dashicons dashicons-"+e.icon}):e._e(),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-suggestions-insight-content"},[n("p",[n(e.translatedCopy,e._b({tag:"component"},"component",e.$props,!1)),e._v(" "),e.buttonText?n("button",{staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){return e.$emit("onclick")}}},[e._v("\n\t\t\t\t"+e._s(e.buttonText)+"\n\t\t\t")]):e._e()],1)])])},staticRenderFns:[]},undefined,{props:{query:String,clickCount:Number,postCount:Number,icon:{type:String,default:"arrow-right"},buttonText:{type:String,default:_SEARCHWP_METRICS_VARS.i18n.details}},computed:{translatedCopy(){return{template:"<span>"+this.i18n.insightAnalysis+"</span>",props:this.$options.props}}},data:()=>({i18n:{insightAnalysis:_SEARCHWP_METRICS_VARS.i18n.insight_analysis}})},undefined,false,undefined,!1,void 0,void 0,void 0);const dr=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics__insight"},[e.icon?n("span",{class:"dashicons dashicons-"+e.icon}):e._e(),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-suggestions-insight-content"},[n("p",[1===e.postCount?n(e.translatedCopySingular,{tag:"component"}):n(e.translatedCopyPlural,e._b({tag:"component"},"component",e.$props,!1)),e._v(" "),e.buttonText?n("button",{staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){return e.$emit("onclick")}}},[e._v("\n\t\t\t\t"+e._s(e.buttonText)+"\n\t\t\t")]):e._e()],1)])])},staticRenderFns:[]},undefined,{props:{postCount:Number,icon:{type:String,default:"awards"},buttonText:{type:String,default:_SEARCHWP_METRICS_VARS.i18n.details}},computed:{translatedCopySingular(){return{template:"<span>"+this.i18n.insightPopularSingular+"</span>"}},translatedCopyPlural(){return{template:"<span>"+this.i18n.insightPopularPlural+"</span>",props:this.$options.props}}},data:()=>({i18n:{insightPopularPlural:_SEARCHWP_METRICS_VARS.i18n.insight_popular_plural,insightPopularSingular:_SEARCHWP_METRICS_VARS.i18n.insight_popular_singular}})},undefined,false,undefined,!1,void 0,void 0,void 0);const hr=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics__insight"},[e.icon?n("span",{class:"dashicons dashicons-"+e.icon}):e._e(),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-suggestions-insight-content"},[n("p",[1===e.postCount?n(e.translatedCopySingular,{tag:"component"}):n(e.translatedCopyPlural,e._b({tag:"component"},"component",e.$props,!1)),e._v(" "),e.buttonText?n("button",{staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){return e.$emit("onclick")}}},[e._v("\n\t\t\t\t"+e._s(e.buttonText)+"\n\t\t\t")]):e._e()],1)])])},staticRenderFns:[]},undefined,{props:{postCount:Number,icon:{type:String,default:"sos"},buttonText:{type:String,default:_SEARCHWP_METRICS_VARS.i18n.details}},computed:{translatedCopySingular(){return{template:"<span>"+this.i18n.insightUnderdogSingular+"</span>"}},translatedCopyPlural(){return{template:"<span>"+this.i18n.insightUnderdogPlural+"</span>",props:this.$options.props}}},data:()=>({i18n:{insightUnderdogPlural:_SEARCHWP_METRICS_VARS.i18n.insight_underdog_plural,insightUnderdogSingular:_SEARCHWP_METRICS_VARS.i18n.insight_underdog_singular}})},undefined,false,undefined,!1,void 0,void 0,void 0);var fr=t(n((function(e,t){
/*!
	 * vue-simple-spinner v1.2.8 (https://github.com/dzwillia/vue-simple-spinner)
	 * (c) 2017 David Z. Williams
	 * Released under the MIT License.
	 */
var n;n=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.VueSimpleSpinner=void 0;var i,r=n(1),o=(i=r)&&i.__esModule?i:{default:i};"undefined"!=typeof window&&window.Vue&&Vue.component("vue-simple-spinner",o.default),t.VueSimpleSpinner=o.default,t.default=o.default},function(e,t,n){n(2);var i=n(7)(n(8),n(9),null,null);e.exports=i.exports},function(e,t,n){var i=n(3);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(5)("d89557e4",i,!0)},function(e,t,n){(e.exports=n(4)()).push([e.i,".vue-simple-spinner{transition:all .3s linear}@keyframes vue-simple-spinner-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r=n(6),o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e){for(var t=0;t<e.length;t++){var n=e[t],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(p(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(p(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:a}}}}function f(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function p(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(d){var r=l++;i=s||(s=f()),t=g.bind(null,i,r,!1),n=g.bind(null,i,r,!0)}else i=f(),t=y.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}e.exports=function(e,t,n){c=n;var i=r(e,t);return h(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a];(l=o[s.id]).refs--,n.push(l)}for(t?h(i=r(e,t)):i=[],a=0;a<n.length;a++){var l;if(0===(l=n[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}};var v,m=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function g(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=m(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function y(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],a=o[0],s={id:e+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},function(e,t){e.exports=function(e,t,n,i){var r,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(r=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),i){var l=Object.create(s.computed||null);Object.keys(i).forEach((function(e){var t=i[e];l[e]=function(){return t}})),s.computed=l}return{esModule:r,exports:o,options:s}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};t.default={name:"vue-simple-spinner",props:{size:{default:32},"line-size":{type:Number,default:3},"line-bg-color":{type:String,default:"#eee"},"line-fg-color":{type:String,default:"#2196f3"},speed:{type:Number,default:.8},spacing:{type:Number,default:4},message:{type:String,default:""},"font-size":{type:Number,default:13},"text-fg-color":{type:String,default:"#555"}},computed:{size_px:function(){switch(this.size){case"tiny":return 12;case"small":return 16;case"medium":return 32;case"large":return 48;case"big":return 64;case"huge":return 96;case"massive":return 128}return i(this.size)?this.size:32},line_size_px:function(){switch(this.size){case"tiny":return 1;case"small":return 2;case"medium":case"large":return 3;case"big":case"huge":return 4;case"massive":return 5}return i(this.lineSize)?this.lineSize:4},text_margin_top:function(){switch(this.size){case"tiny":case"small":case"medium":case"large":case"big":case"huge":case"massive":return Math.min(Math.max(Math.ceil(this.size_px/8),3),12)}return i(this.spacing)?this.spacing:4},text_font_size:function(){switch(this.size){case"tiny":case"small":case"medium":case"large":case"big":case"huge":case"massive":return Math.min(Math.max(Math.ceil(.4*this.size_px),11),32)}return i(this.fontSize)?this.fontSize:13},spinner_style:function(){return{margin:"0 auto","border-radius":"100%",border:this.line_size_px+"px solid "+this.lineBgColor,"border-top":this.line_size_px+"px solid "+this.lineFgColor,width:this.size_px+"px",height:this.size_px+"px",animation:"vue-simple-spinner-spin "+this.speed+"s linear infinite"}},text_style:function(){return{"margin-top":this.text_margin_top+"px",color:this.textFgColor,"font-size":this.text_font_size+"px","text-align":"center"}}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"vue-simple-spinner",style:e.spinner_style}),e._v(" "),e.message.length>0?n("div",{staticClass:"vue-simple-spinner-text",style:e.text_style},[e._v(e._s(e.message))]):e._e()])},staticRenderFns:[]}}]).default},e.exports=n()}))),pr=n((function(e,t){e.exports=function e(t,n,i){var r,o,a=window,s="application/octet-stream",l=i||s,c=t,u=!n&&!i&&c,d=document.createElement("a"),h=function(e){return String(e)},f=a.Blob||a.MozBlob||a.WebKitBlob||h,p=n||"download";if(f=f.call?f.bind(a):Blob,"true"===String(this)&&(l=(c=[c,l])[0],c=c[1]),u&&u.length<2048&&(p=u.split("/").pop().split("?")[0],d.href=u,-1!==d.href.indexOf(u))){var v=new XMLHttpRequest;return v.open("GET",u,!0),v.responseType="blob",v.onload=function(t){e(t.target.response,p,s)},setTimeout((function(){v.send()}),0),v}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&f!==h))return navigator.msSaveBlob?navigator.msSaveBlob(_(c),p):b(c);l=(c=_(c)).type||s}else if(/([\x80-\xff])/.test(c)){for(var m=0,g=new Uint8Array(c.length),y=g.length;m<y;++m)g[m]=c.charCodeAt(m);c=new f([g],{type:l})}function _(e){for(var t=e.split(/[:;,]/),n=t[1],i=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),r=i.length,o=0,a=new Uint8Array(r);o<r;++o)a[o]=i.charCodeAt(o);return new f([a],{type:n})}function b(e,t){if("download"in d)return d.href=e,d.setAttribute("download",p),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){a.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(r=c instanceof f?c:new f([c],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(r,p);if(a.URL)b(a.URL.createObjectURL(r),!0);else{if("string"==typeof r||r.constructor===h)try{return b("data:"+l+";base64,"+a.btoa(r))}catch(e){return b("data:"+l+","+encodeURIComponent(r))}(o=new FileReader).onload=function(e){b(this.result)},o.readAsDataURL(r)}return!0}}));const vr=yt({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"searchwp-metrics wrap"},[n("div",{staticClass:"searchwp-metrics__title"},[n("h1",[e._v("SearchWP Metrics")]),e._v(" "),"1"===e.canEditSettings?n("v-popover",{attrs:{"popover-wrapper-class":"searchwp-metrics-popover",placement:"bottom"}},[n("button",{staticClass:"button"},[n("span",{staticClass:"dashicons dashicons-menu"})]),e._v(" "),n("template",{slot:"popover"},[n("ul",[n("li",[n("button",{directives:[{name:"close-popover",rawName:"v-close-popover"}],staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){t.preventDefault(),e.showingClearMetricsData=!0}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.clearMetricsData)+"\n\t\t\t\t\t\t")])]),e._v(" "),e.ignoredQueries&&e.ignoredQueries.length?n("li",[n("button",{directives:[{name:"close-popover",rawName:"v-close-popover"}],staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){t.preventDefault(),e.showingClearIgnoredQueries=!0}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.removeAllIgnoredQueries)+"\n\t\t\t\t\t\t")])]):e._e(),e._v(" "),n("li",[n("button",{directives:[{name:"close-popover",rawName:"v-close-popover"}],staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){t.preventDefault(),e.showingModifyLoggingRules=!0}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.modifyLoggingRules)+"\n\t\t\t\t\t\t")])]),e._v(" "),n("li",[n("button",{directives:[{name:"close-popover",rawName:"v-close-popover"}],staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){t.preventDefault(),e.showingSettings=!0}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.settings)+"\n\t\t\t\t\t\t")])])])])],2):e._e(),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingClearMetricsData,"default-width":"300px"},on:{hide:e.hideClearMetricsData}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__modal-confirmation"},[n("h4",[n("span",{staticClass:"dashicons dashicons-arrow-right"}),e._v(" "+e._s(e.i18n.areYouSure)+" "),n("span",{staticClass:"dashicons dashicons-arrow-left"})]),e._v(" "),n(e.translatedClearMetricsDataNote,{tag:"component"}),e._v(" "),n("ul",{staticClass:"searchwp-metrics__modal-confirmation--actions"},[n("li",[n("button",{staticClass:"button",on:{click:function(t){return t.preventDefault(),e.clearMetricsData(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.clearData)+"\n\t\t\t\t\t\t")])]),e._v(" "),n("li",[n("button",{staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){return t.preventDefault(),e.hideClearMetricsData(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.cancel)+"\n\t\t\t\t\t\t")])])])],1)]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingClearIgnoredQueries,"default-width":"300px"},on:{hide:e.hideClearIgnoredQueries}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__modal-confirmation"},[n("h4",[n("span",{staticClass:"dashicons dashicons-arrow-right"}),e._v(" "+e._s(e.i18n.areYouSure)+" "),n("span",{staticClass:"dashicons dashicons-arrow-left"})]),e._v(" "),n(e.translatedClearIgnoredQueriesNote,{tag:"component"}),e._v(" "),n("ul",{staticClass:"searchwp-metrics__modal-confirmation--actions"},[n("li",[n("button",{staticClass:"button",on:{click:function(t){return t.preventDefault(),e.clearIgnoredQueries(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.clearData)+"\n\t\t\t\t\t\t")])]),e._v(" "),n("li",[n("button",{staticClass:"searchwp-metrics-nonbutton",on:{click:function(t){return t.preventDefault(),e.hideClearIgnoredQueries(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.cancel)+"\n\t\t\t\t\t\t")])])])],1)]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingModifyLoggingRules,"default-width":"400px"},on:{hide:e.hideModifyLoggingRules}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__modal-logging"},[n("h4",[e._v(e._s(e.i18n.loggingRules))]),e._v(" "),n("p",[e._v(e._s(e.i18n.loggingRulesNote))]),e._v(" "),n("p",[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n(e.translatedLoggingRulesNoteDetails,{tag:"component"})],1),e._v(" "),n("div",{staticClass:"searchwp-metrics__textarea"},[n("label",{attrs:{for:"searchwp_metrics_ip_blocklist"}},[e._v(e._s(e.i18n.userIdRoleBlocklist))]),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.ignoredRoles,expression:"ignoredRoles"}],attrs:{name:"searchwp_metrics_role_blocklist",id:"searchwp_metrics_role_blocklist",cols:"30",rows:"10"},domProps:{value:e.ignoredRoles},on:{input:function(t){t.target.composing||(e.ignoredRoles=t.target.value)}}}),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.i18n.userIdRoleBlocklistNote))])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__textarea"},[n("label",{attrs:{for:"searchwp_metrics_ip_blocklist"}},[e._v(e._s(e.i18n.ipBlocklist))]),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.ignoredIps,expression:"ignoredIps"}],attrs:{name:"searchwp_metrics_ip_blocklist",id:"searchwp_metrics_ip_blocklist",cols:"30",rows:"10"},domProps:{value:e.ignoredIps},on:{input:function(t){t.target.composing||(e.ignoredIps=t.target.value)}}}),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.i18n.ipBlocklistNote))])]),e._v(" "),n("ul",{staticClass:"searchwp-metrics__modal-confirmation--actions"},[n("li",[n("button",{staticClass:"button",on:{click:function(t){return t.preventDefault(),e.hideModifyLoggingRules(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.saveClose)+"\n\t\t\t\t\t\t")])])])])]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingSettings,"default-width":"400px"},on:{hide:e.hideSettings}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__modal-settings"},[n("h4",[e._v(e._s(e.i18n.settings))]),e._v(" "),e.clickTrackingBuoyApplicable?n("div",{staticClass:"searchwp-metrics__checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.clickTrackingBuoy,expression:"clickTrackingBuoy"}],attrs:{type:"checkbox",name:"searchwp_metrics_click_track_buoy",id:"searchwp_metrics_click_track_buoy"},domProps:{checked:Array.isArray(e.clickTrackingBuoy)?e._i(e.clickTrackingBuoy,null)>-1:e.clickTrackingBuoy},on:{change:function(t){var n=e.clickTrackingBuoy,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.clickTrackingBuoy=n.concat([null])):o>-1&&(e.clickTrackingBuoy=n.slice(0,o).concat(n.slice(o+1)))}else e.clickTrackingBuoy=r}}}),e._v(" "),n("div",{staticClass:"searchwp-metrics__checkbox-label"},[n("label",{attrs:{for:"searchwp_metrics_click_track_buoy"}},[e._v(e._s(e.i18n.clickTrackingBuoy))]),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.i18n.clickTrackingBuoyLabelNote))])])]):n("div",{staticClass:"searchwp-metrics__note"},[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n("div",[n("p",[e._v(e._s(e.i18n.clickTrackingBuoyUnavailable))])])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.clearDataOnUninstall,expression:"clearDataOnUninstall"}],attrs:{type:"checkbox",name:"searchwp_metrics_clear_data_on_uninstall",id:"searchwp_metrics_clear_data_on_uninstall"},domProps:{checked:Array.isArray(e.clearDataOnUninstall)?e._i(e.clearDataOnUninstall,null)>-1:e.clearDataOnUninstall},on:{change:function(t){var n=e.clearDataOnUninstall,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.clearDataOnUninstall=n.concat([null])):o>-1&&(e.clearDataOnUninstall=n.slice(0,o).concat(n.slice(o+1)))}else e.clearDataOnUninstall=r}}}),e._v(" "),n("div",{staticClass:"searchwp-metrics__checkbox-label"},[n("label",{attrs:{for:"searchwp_metrics_clear_data_on_uninstall"}},[e._v(e._s(e.i18n.removeOnUninstallation))]),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.i18n.removeOnUninstallationLabelNote))])])]),e._v(" "),n("ul",{staticClass:"searchwp-metrics__modal-confirmation--actions"},[n("li",[n("button",{staticClass:"button",on:{click:function(t){return t.preventDefault(),e.hideSettings(t)}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.i18n.saveClose)+"\n\t\t\t\t\t\t")])])])])])],1),e._v(" "),n("div",{staticClass:"searchwp-metrics__controls"},[n("div",{staticClass:"searchwp-metrics__control"},[n("h4",[e._v(e._s(e.i18n.dateRange))]),e._v(" "),n("vue-datepicker-local",{attrs:{"range-separator":e.i18n.to,local:e.i18n.datePicker,"show-buttons":""},on:{confirm:e.update},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),e._v(" "),n("div",{staticClass:"searchwp-metrics__control"},[n("h4",[e._v(e._s(e.i18n.searchQueryControls))]),e._v(" "),n("div",{staticClass:"searchwp-metrics__control-queries"},[n("multiselect",{attrs:{id:"searchwp-metrics-query-limiter",label:"query","track-by":"id",placeholder:e.i18n.limitMetricsToQueries,"open-direction":"bottom",options:e.searchQueries,multiple:!0,searchable:!0,loading:e.isLoadingSearchSearches,"internal-search":!1,"clear-on-select":!1,"close-on-select":!1,"options-limit":300,limit:3,"max-height":300,"show-no-results":!1,"hide-selected":!0,taggable:!0,"tag-placeholder":e.i18n.addAsPartialMatch},on:{"search-change":e.searchSearchQueries,tag:e.addSelectedSearchQuery,input:e.update},model:{value:e.selectedSearchQueries,callback:function(t){e.selectedSearchQueries=t},expression:"selectedSearchQueries"}}),e._v(" "),n("button",{staticClass:"button",on:{click:function(t){e.showingIgnoredSearches=!0}}},[e._v(e._s(e.i18n.ignored)+": "+e._s(Object.keys(e.ignoredQueries).length))]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingIgnoredSearches,"default-width":"600px"},on:{hide:e.hideIgnoredSearches}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__ignored-searches-details"},[n("h4",[e._v(e._s(e.i18n.ignoredSearches))]),e._v(" "),n("p",[e._v(e._s(e.i18n.ignoredMessage))]),e._v(" "),n("p",[n("button",{staticClass:"button",on:{click:e.addNewIgnoredSearch}},[e._v("Add")])]),e._v(" "),e.ignoredQueries&&e.ignoredQueries.length?n("table",[n("thead",[n("tr",[n("th",[e._v(e._s(e.i18n.ignoredSearchQuery))])])]),e._v(" "),n("tbody",e._l(e.ignoredQueries,(function(t,i){return t.unignored?e._e():n("tr",{key:"ignored"+i},[n("td",[n("delete",{attrs:{title:e.i18n.stopIgnoringQuery},on:{onclick:function(n){return e.unIgnoreQuery(t.hash)}}}),e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(t.query)+"\n\t\t\t\t\t\t\t\t\t")],1)])})),0)]):n("div",{staticClass:"searchwp-metrics__note"},[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n("div",[n("p",[e._v(e._s(e.i18n.noIgnoredQueries))])])])])])],1)]),e._v(" "),n("div",{staticClass:"searchwp-metrics__control"},[n("h4",[e._v(e._s(e.i18n.enginesToDisplay))]),e._v(" "),n("multiselect",{attrs:{options:e.multiselect.engines.options,multiple:!0,"close-on-select":!0,"hide-selected":!0,placeholder:e.i18n.chooseEngine,label:"label","track-by":"name",searchable:!1,"allow-empty":!1},on:{input:e.update},model:{value:e.multiselect.engines.value,callback:function(t){e.$set(e.multiselect.engines,"value",t)},expression:"multiselect.engines.value"}})],1)]),e._v(" "),n("div",{staticClass:"searchwp-metrics__details"},[e.sameDate?e._e():n("div",{class:["searchwp-metrics__searches-over-time",e.searchesOverTime?"":"searchwp-metrics__is-loading"]},[n("line-chart",{attrs:{datacollection:e.searchesOverTime,options:e.searchesOverTimeOptions,height:"300px"}})],1),e._v(" "),e._l(e.engines,(function(t,i){return e.engines&&!e.loading?n("div",{key:t.name,staticClass:"searchwp-metrics__engine-details"},[n("div",{staticClass:"searchwp-metrics__engine-details-heading-group"},[n("h3",{staticClass:"searchwp-metrics__engine-details-heading"},[n("span",{staticClass:"searchwp-metrics__engine-details-legend",style:{backgroundColor:t.color}}),e._v(" "),n(e.translatedEngineDetailsHeading,{tag:"component",attrs:{props:t}})],1),e._v(" "),n("v-popover",{attrs:{"popover-wrapper-class":"searchwp-metrics-popover",placement:"left"}},[n("button",{staticClass:"button"},[n("span",{staticClass:"dashicons dashicons-menu"})]),e._v(" "),n("template",{slot:"popover"},[n("ul",[n("li",[n("json-csv",{attrs:{data:e.formattedSearchesOverTimeForCsv(i),fields:e.searchesOverTimeJsonFields,type:"csv",name:e.appendTimestamp("SearchesOverTime_"+t.name)+".csv"}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.i18n.exportSearchesOverTime)+"\n\t\t\t\t\t\t\t\t")])],1),e._v(" "),n("li",[n("json-csv",{attrs:{data:e.formattedEngineStatisticForCsv(i,t),fields:e.engineStatisticsJsonFields,type:"csv",name:e.appendTimestamp("EngineStatistics_"+t.name)+".csv"}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.i18n.exportEngineStatistics)+"\n\t\t\t\t\t\t\t\t")])],1),e._v(" "),n("li",[n("json-csv",{attrs:{data:e.formattedPopularSearchesForCsv(i),fields:e.popularSearchesJsonFields,type:"csv",name:e.appendTimestamp("PopularSearches")+".csv"}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.i18n.exportPopularSearches)+"\n\t\t\t\t\t\t\t\t")])],1)])])],2)],1),e._v(" "),0==e.getTotalSearchesCount(i)?n("div",{staticClass:"searchwp-metrics__no-data"},[n("p",[e._v(e._s(e.i18n.notEnoughData))])]):n("div",{staticClass:"searchwp-metrics__engine-details-hook"},[n("div",{staticClass:"searchwp-metrics__engine-details-alpha"},[n("div",{staticClass:"searchwp-metrics__engine-details--heading"},[n("h4",[e._v(e._s(e.i18n.engineStatistics))])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__stats-grid"},[n("div",[n("dl",[n("dt",[e._v(e._s(e.i18n.totalSearches))]),e._v(" "),n("dd",[e._v(e._s(e.getTotalSearchesCount(i)))])])]),e._v(" "),n("div",[n("dl",[n("dt",[e._v(e._s(e.i18n.noResultsSearches))]),e._v(" "),n("dd",[n("div",{staticClass:"searchwp-metrics__flex"},[n("div",[e._v(e._s(e.getFailedSearchesCount(i)))]),e._v(" "),n("div",[n("button",{staticClass:"searchwp-trigger__external",on:{click:function(n){e.showingFailedSearches=t.name}}},[n("span",{staticClass:"dashicons dashicons-external"}),e._v(" "),n("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.i18n.viewNoResultsSearches))])])])])])]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingFailedSearches===t.name,"default-width":"600px"},on:{hide:e.hideFailedSearches}},[n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__failed-searches-details"},[n(e.translatedNoResultsSearchesEngineHeading,{tag:"component",attrs:{props:t}}),e._v(" "),e.getFailedSearches(t.name)&&e.getFailedSearches(t.name).length?n("div",{staticClass:"searchwp-metrics__engine-details--heading"},[n(e.translatedNoResultsSearchesEngineNote,{tag:"component"}),e._v(" "),n("json-csv",{staticClass:"button",attrs:{data:e.noResultsDetailsForExport,fields:e.noResultsDetailsJsonFields,type:"csv",name:e.appendTimestamp("NoResultsSearches")+".csv"}},[n("span",{staticClass:"dashicons dashicons-download"})])],1):e._e(),e._v(" "),e.getFailedSearches(t.name)&&e.getFailedSearches(t.name).length?n("table",[n("thead",[n("tr",[n("th",[e._v(e._s(e.i18n.searchQuery))]),e._v(" "),n("th",[e._v(e._s(e.i18n.searches))])])]),e._v(" "),n("tbody",e._l(e.getFailedSearches(t.name),(function(i,r){return n("tr",{key:"failed"+r+t.name,attrs:{id:"searchwp-metrics--hook-failed-"+r}},[n("td",[n("delete",{attrs:{title:"Ignore this query"},on:{onclick:function(n){return e.ignoreFailedSearch(i.query,t.name,r)}}}),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(i.query)+"\n\t\t\t\t\t\t\t\t\t\t\t\t")],1),e._v(" "),n("td",[e._v(e._s(i.count))])])})),0)]):n("div",{staticClass:"searchwp-metrics__note"},[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n("div",[n("p",[e._v(e._s(e.i18n.noFailedSearches))])])])],1)])],1),e._v(" "),n("div",[n("dl",[n("dt",[e._v(e._s(e.i18n.totalResultsViewed))]),e._v(" "),n("dd",[e._v(e._s(e.outputMetric(e.totalClicks[t.name].statistic)))])])]),e._v(" "),n("div",[n("dl",[n("dt",[n("tooltip",{attrs:{content:e.i18n.searchesPerUserNote}},[e._v(e._s(e.i18n.searchesPerUser))])],1),e._v(" "),n("dd",[e._v(e._s(e.outputMetric(e.averageSearchesPerUser[t.name].statistic)))])])]),e._v(" "),n("div",[n("dl",[n("dt",[e._v(e._s(e.i18n.clicksPerSearch))]),e._v(" "),n("dd",[e._v(e._s(e.outputMetric(e.averageClicksPerSearch[t.name].statistic)))])])]),e._v(" "),n("div",[n("dl",[n("dt",[e._v(e._s(e.i18n.averageClickRank))]),e._v(" "),n("dd",[e._v(e._s(e.outputMetric(e.averageClickRank[t.name].statistic)))])])])]),e._v(" "),e.engineHasNoTracking(t.name)?n("div",{staticClass:"searchwp-metrics__note"},[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n("div",[n(e.translatedClickTrackingNote,{tag:"component"})],1)]):e._e()]),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-details-beta searchwp-metrics__engine-popular-searches"},[n("div",{staticClass:"searchwp-metrics__engine-details--heading"},[n("h4",[e._v(e._s(e.i18n.popularSearches))]),e._v(" "),n("div",[n("button",{staticClass:"button",on:{click:function(n){return n.preventDefault(),e.showPopularSearchDetails(t)}}},[e._v(e._s(e.i18n.viewMore))])])]),e._v(" "),e.getPopularSearches(t.name)?n("div",{staticClass:"searchwp-metrics__chart-donut-wrapper"},[n("div",[n("table",{staticClass:"searchwp-metrics-table"},[n("tbody",e._l(e.getPopularSearches(t.name).labels,(function(i,r){return n("tr",{key:"popularSearch"+t.name+r},[n("td",[n("legend-indicator",{attrs:{index:r,text:i},on:{onclick:function(n){return e.showPopularSearchDetails(t,i)}}})],1),e._v(" "),n("td",[n("delete",{on:{onclick:function(t){return e.ignoreSearch(i)}}})],1),e._v(" "),n("td",[e._v(e._s(e.getPopularSearches(t.name).datasets[0].data[r]))])])})),0)]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingPopularSearchDetails&&e.showingPopularSearchDetails.engine.name===t.name,"default-width":"800px"},on:{hide:e.hidePopularSearchDetails}},[e.showingPopularSearchDetails?n("div",{class:["searchwp-metrics__modal searchwp-metrics__popular-search-details",e.loadingPopularSearchDetails?"searchwp-metrics__is-loading-details":""]},[n("div",{staticClass:"searchwp-metrics__loading-details-container"},[n(e.translatedPopularSearchDetailsHeading,{tag:"component",attrs:{props:t}}),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-details--heading"},[n("p",[e._v(e._s(e.i18n.popularSearchDetailsNote))]),e._v(" "),n("div",[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.popularSearchesCount,expression:"popularSearchesCount",modifiers:{number:!0}}],attrs:{type:"text"},domProps:{value:e.popularSearchesCount},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.updatePopularSearchDetails(e.showingPopularSearchDetails.engine.name)},input:function(t){t.target.composing||(e.popularSearchesCount=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("button",{staticClass:"button",on:{click:function(t){return t.preventDefault(),e.updatePopularSearchDetails(e.showingPopularSearchDetails.engine.name)}}},[n("span",{staticClass:"dashicons dashicons-update"})]),e._v(" "),n("json-csv",{staticClass:"button",attrs:{data:e.popularSearchesDetailsForExport,fields:e.popularSearchesDetailsJsonFields,type:"csv",name:e.appendTimestamp("PopularSearchesDetails")+".csv"}},[n("span",{staticClass:"dashicons dashicons-download"})])],1)]),e._v(" "),n("v-collapse-group",[n("div",{staticClass:"searchwp-metrics__split"},[n("p",{staticClass:"searchwp-metrics__guide"},[e._v(e._s(e.i18n.searchQuery))]),e._v(" "),n("p",{staticClass:"searchwp-metrics__guide"},[e._v(e._s(e.i18n.searches))])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__popular-search-details searchwp-metrics__accordion"},e._l(e.popularSearchesDetails,(function(t,i){return n("v-collapse-wrapper",{key:"popularSearchDetail"+e.showingPopularSearchDetails.engine.name+i,attrs:{active:t.query.query===e.showingPopularSearchDetails.query,id:"searchwp-metrics--hook-popular-"+i}},[n("div",{staticClass:"searchwp-metrics__accordion--header"},[n("div",{directives:[{name:"collapse-toggle",rawName:"v-collapse-toggle"}],staticClass:"searchwp-metrics__accordion--trigger"},[n("div",{staticClass:"searchwp-metrics__accordion--header-icon"},[n("span",{staticClass:"dashicons dashicons-arrow-right"})]),e._v(" "),n("h5",{staticClass:"searchwp-metrics__accordion--header-title"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.query.query)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),n("div",{staticClass:"searchwp-metrics__accordion--header-figure"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.query.searchcount)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__accordion--actions"},[n("delete",{on:{onclick:function(n){return e.ignorePopularSearch(t.query.query,i)}}})],1)]),e._v(" "),n("div",{directives:[{name:"collapse-content",rawName:"v-collapse-content"}],staticClass:"searchwp-metrics__accordion--content"},[n("div",{staticClass:"searchwp-metrics__inner"},[t.clicks.length?n("div",[n("bar-chart",{attrs:{datacollection:e.buildChartDataset(t.clicks),options:e.popularSearchDetailsClicksOptions,height:"30px"}}),e._v(" "),n("table",[n("thead",[n("tr",[n("th",{staticClass:"searchwp-metrics--primary-col"},[e._v(e._s(e.i18n.clickedResult))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.clicks))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.conversionRate))])])]),e._v(" "),n("tbody",e._l(t.clicks,(function(i,r){return n("tr",{key:"popularSearchDetailClicks"+e.showingPopularSearchDetails.engine.name+r},[n("td",{staticClass:"searchwp-metrics--primary-col"},[n("a",{attrs:{href:i.permalink,target:"_blank"}},[n("legend-indicator",{attrs:{index:r,text:i.post_title}})],1)]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(i.clicks))]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s((100*i.clicks/t.query.searchcount).toFixed(2))+"%")])])})),0)])],1):n("div",{staticClass:"searchwp-metrics__no-data"},[n("p",[e._v(e._s(e.i18n.noClicks))])])])])])})),1)])],1),e._v(" "),n("div",{staticClass:"searchwp-metrics__loading-details-loader"},[n("spinner",{attrs:{size:55,"line-size":6}})],1)]):e._e()])],1),e._v(" "),n("div",[n("doughnut-chart",{attrs:{datacollection:e.getPopularSearches(t.name),options:e.popularSearchesOptions}}),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-popular-searches-coverage"},[n("span",[e._v(e._s(e.getPopularSearchesPercentage(t.name,i))+"%")]),e._v(" "+e._s(e.i18n.ofAllSearches)+"\n\t\t\t\t\t\t\t")])],1)]):e._e()]),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-details-omega searchwp-metrics__engine-suggestions"},[e.getPopularClicks(t.name)?n("div",[n("div",{staticClass:"searchwp-metrics__engine-details--heading"},[n("h4",[e._v(e._s(e.i18n.insights))])]),e._v(" "),n("div",{staticClass:"searchwp-metrics__engine-suggestions-insights"},[e.getInsights(t.name)&&e.getInsights(t.name).length?n("div",[n("ul",e._l(e.getInsights(t.name),(function(i,r){return n("li",{key:"insight"+t.name+r,staticClass:"searchwp-metrics__engine-suggestions-insight"},["underdog"===i.type?n("insight-underdog",{attrs:{"post-count":i.postCount},on:{onclick:function(n){return e.showInsightDetails(t,r)}}}):e._e(),e._v(" "),"popular"===i.type?n("insight-popular",{attrs:{"post-count":i.postCount},on:{onclick:function(n){return e.showInsightDetails(t,r)}}}):e._e(),e._v(" "),"analysis"===i.type?n("insight-analysis",{attrs:{query:i.query,"click-count":i.clickCount,"post-count":i.postCount},on:{onclick:function(n){return e.showInsightDetails(t,r)}}}):e._e()],1)})),0),e._v(" "),e.getInsightsCount(t.name)>5?n("div",{staticClass:"searchwp-metrics__engine-suggestions-insights-actions"},[n("button",{staticClass:"button",on:{click:function(n){return n.preventDefault(),e.showInsightDetails(t)}}},[e._v(e._s(e.i18n.viewAll)+" ("+e._s(e.getInsightsCount(t.name))+")")])]):e._e()]):n("div",{staticClass:"searchwp-metrics__note"},[n("span",{staticClass:"dashicons dashicons-info"}),e._v(" "),n("div",[n("p",[e._v(e._s(e.i18n.noInsights))])])])]),e._v(" "),n("vue-modaltor",{attrs:{visible:e.showingInsights&&e.showingInsights.engine.name===t.name,"default-width":"600px"},on:{hide:e.hideInsights}},[e.showingInsights&&e.showingInsights.engine.name===t.name?n("div",{staticClass:"searchwp-metrics__modal searchwp-metrics__engine-suggestions-insights-details"},[n(e.translatedInsightsEngineHeading,{tag:"component",attrs:{props:t}}),e._v(" "),n("v-collapse-group",[n("div",{staticClass:"searchwp-metrics__accordion"},e._l(e.getInsights(t.name,-1),(function(i,r){return n("v-collapse-wrapper",{key:"insightDetail"+t.name+r,attrs:{active:r===e.showingInsights.insightIndex}},[n("div",{staticClass:"searchwp-metrics__accordion--header"},[n("div",{directives:[{name:"collapse-toggle",rawName:"v-collapse-toggle"}],staticClass:"searchwp-metrics__accordion--trigger"},[n("div",{staticClass:"searchwp-metrics__accordion--header-icon"},["underdog"===i.type?n("span",{staticClass:"dashicons dashicons-sos"}):e._e(),e._v(" "),"popular"===i.type?n("span",{staticClass:"dashicons dashicons-awards"}):e._e(),e._v(" "),"analysis"===i.type?n("span",{staticClass:"dashicons dashicons-arrow-right"}):e._e()]),e._v(" "),n("div",{staticClass:"searchwp-metrics__accordion--header-title"},["underdog"===i.type?n("insight-underdog",{attrs:{"post-count":i.postCount,icon:""}}):e._e(),e._v(" "),"popular"===i.type?n("insight-popular",{attrs:{"post-count":i.postCount,icon:""}}):e._e(),e._v(" "),"analysis"===i.type?n("insight-analysis",{attrs:{query:i.query,"click-count":i.clickCount,"post-count":i.postCount,icon:""}}):e._e()],1)])]),e._v(" "),n("div",{directives:[{name:"collapse-content",rawName:"v-collapse-content"}],staticClass:"searchwp-metrics__accordion--content"},[n("div",{staticClass:"searchwp-metrics__inner"},["underdog"===i.type?n("div",[n("table",[n("thead",[n("tr",[n("th",{staticClass:"searchwp-metrics--primary-col"},[e._v(e._s(e.i18n.entry))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.clicks))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.averageRank))])])]),e._v(" "),n("tbody",e._l(i.posts,(function(i,r){return n("tr",{key:"insightPost"+t.name+r},[n("td",{staticClass:"searchwp-metrics--primary-col"},[n("a",{attrs:{href:i.permalink,target:"_blank"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(i.post_title)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(i.click_count))]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(i.avg_rank))])])})),0)])]):e._e(),e._v(" "),"popular"===i.type?n("div",[n("table",[n("thead",[n("tr",[n("th",{staticClass:"searchwp-metrics--primary-col"},[e._v(e._s(e.i18n.entry))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.clicks))])])]),e._v(" "),n("tbody",e._l(i.posts,(function(i,r){return n("tr",{key:"insightPost"+t.name+r},[n("td",{staticClass:"searchwp-metrics--primary-col"},[n("a",{attrs:{href:i.permalink,target:"_blank"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(i.post_title)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(i.clicks))])])})),0)])]):e._e(),e._v(" "),"analysis"===i.type?n("div",[n("bar-chart",{attrs:{datacollection:e.buildChartDataset(i.posts,i.clickCount),options:e.popularSearchDetailsClicksOptions,height:"30px"}}),e._v(" "),n("table",[n("thead",[n("tr",[n("th",{staticClass:"searchwp-metrics--primary-col"},[e._v(e._s(e.i18n.entry))]),e._v(" "),n("th",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(e.i18n.clicks))])])]),e._v(" "),n("tbody",e._l(i.posts,(function(i,r){return n("tr",{key:"insightDetail"+t.name+r},[n("td",{staticClass:"searchwp-metrics--primary-col"},[n("a",{attrs:{href:i.permalink,target:"_blank"}},[n("legend-indicator",{attrs:{index:r,text:i.post_title}})],1)]),e._v(" "),n("td",{staticClass:"searchwp-metrics--secondary-col"},[e._v(e._s(i.clicks))])])})),0)])],1):e._e()])])])})),1)])],1):e._e()])],1):e._e()])])]):e._e()}))],2),e._v(" "),n("transition",{attrs:{name:"fade"}},[e.loading?n("div",{staticClass:"searchwp-metrics__loading",style:{top:e.loaderPositionTop+"px",left:e.loaderPositionLeft+"px"}},[n("spinner",{attrs:{size:55,"line-size":6}})],1):e._e()])],1)},staticRenderFns:[]},undefined,{name:"SearchwpMetrics",components:{Multiselect:gt,VueDatepickerLocal:_t,LineChart:ir,Tooltip:wt,DoughnutChart:ar,BarChart:lr,Delete:rr,LegendIndicator:cr,InsightAnalysis:ur,InsightPopular:dr,InsightUnderdog:hr,Spinner:fr,JsonCsv:yt({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{attrs:{id:e.idName},on:{click:e.generate}},[e._t("default",[e._v("\n\t\tDownload "+e._s(e.name)+"\n\t")])],2)},staticRenderFns:[]},undefined,{props:{type:{type:String,default:"xls"},data:{type:Array,required:!1,default:null},fields:{type:Object,required:!1},exportFields:{type:Object,required:!1},defaultValue:{type:String,required:!1,default:""},title:{default:null},footer:{default:null},name:{type:String,default:"data.xls"},fetch:{type:Function},meta:{type:Array,default:()=>[]},worksheet:{type:String,default:"Sheet1"},beforeGenerate:{type:Function},beforeFinish:{type:Function}},computed:{idName:()=>"export_"+(new Date).getTime(),downloadFields(){return void 0!==this.fields?this.fields:void 0!==this.exportFields?this.exportFields:void 0}},methods:{async generate(){"function"==typeof this.beforeGenerate&&await this.beforeGenerate();let e=this.data;if("function"!=typeof this.fetch&&e||(e=await this.fetch()),!e||!e.length)return;let t=this.getProcessedJson(e,this.downloadFields);return"html"===this.type?this.export(this.jsonToXLS(t),this.name.replace(".xls",".html"),"text/html"):"csv"===this.type?this.export(this.jsonToCSV(t),this.name.replace(".xls",".csv"),"application/csv"):this.export(this.jsonToXLS(t),this.name,"application/vnd.ms-excel")},export:async function(e,t,n){let i=this.base64ToBlob(e,n);"function"==typeof this.beforeFinish&&await this.beforeFinish(),pr(i,t,n)},jsonToXLS(e){let t="<thead>";const n=Object.keys(e[0]).length;let i=this;null!=this.title&&(t+=this.parseExtraData(this.title,'<tr><th colspan="'+n+'">${data}</th></tr>')),t+="<tr>";for(let n in e[0])t+="<th>"+n+"</th>";return t+="</tr>",t+="</thead>",t+="<tbody>",e.map((function(e,n){t+="<tr>";for(let n in e)t+="<td>"+i.valueReformattedForMultilines(e[n])+"</td>";t+="</tr>"})),t+="</tbody>",null!=this.footer&&(t+="<tfoot>",t+=this.parseExtraData(this.footer,'<tr><td colspan="'+n+'">${data}</td></tr>'),t+="</tfoot>"),'<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>${worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>br {mso-data-placement: same-cell;}</style></head><body><table>${table}</table></body></html>'.replace("${table}",t).replace("${worksheet}",this.worksheet)},jsonToCSV(e){var t=[];null!=this.title&&t.push(this.parseExtraData(this.title,"${data}\r\n"));for(let n in e[0])t.push(n),t.push(",");return t.pop(),t.push("\r\n"),e.map((function(e){for(let n in e){let i='="'+e[n]+'"';i.match(/[,"\n]/)&&(i='"'+i.replace(/\"/g,'""')+'"'),t.push(i),t.push(",")}t.pop(),t.push("\r\n")})),null!=this.footer&&t.push(this.parseExtraData(this.footer,"${data}\r\n")),t.join("")},getProcessedJson(e,t){let n=this.getKeys(e,t),i=[],r=this;return e.map((function(e,t){let o={};for(let t in n){let i=n[t];o[t]=r.getValue(i,e)}i.push(o)})),i},getKeys(e,t){if(t)return t;let n={};for(let t in e[0])n[t]=t;return n},parseExtraData(e,t){let n="";if(Array.isArray(e))for(var i=0;i<e.length;i++)n+=t.replace("${data}",e[i]);else n+=t.replace("${data}",e);return n},getValue(e,t){const n="object"!=typeof e?e:e.field;let i="string"!=typeof n?[]:n.split("."),r=this.defaultValue;return r=n?i.length>1?this.getValueFromNestedItem(t,i):this.parseValue(t[n]):t,e.hasOwnProperty("callback")&&(r=this.getValueFromCallback(r,e.callback)),r},valueReformattedForMultilines:e=>"string"==typeof e?e.replace(/\n/gi,"<br/>"):e,getValueFromNestedItem(e,t){let n=e;for(let e of t)n&&(n=n[e]);return this.parseValue(n)},getValueFromCallback(e,t){if("function"!=typeof t)return this.defaultValue;const n=t(e);return this.parseValue(n)},parseValue(e){return e||0===e||"boolean"==typeof e?e:this.defaultValue},base64ToBlob(e,t){let n=window.btoa(window.unescape(encodeURIComponent(e))),i=atob(n),r=i.length,o=new Uint8ClampedArray(r);for(;r--;)o[r]=i.charCodeAt(r);return new Blob([o],{type:t})}}},undefined,false,undefined,!1,void 0,void 0,void 0)},methods:{addNewIgnoredSearch:function(){let e=prompt("Enter search to ignore");e=e.trim(),e&&(this.showingIgnoredSearches=!1,this.ignoreSearch(e,!0))},clearMetricsData:function(){this.loading=!0,this.hideClearMetricsData(),this.apiRequest({action:"searchwp_metrics_clear_metrics_data"}).then((e=>{this.update()}))},hideClearMetricsData:function(){this.showingClearMetricsData=!1},clearIgnoredQueries:function(){this.loading=!0,this.hideClearIgnoredQueries(),this.apiRequest({action:"searchwp_metrics_clear_ignored_queries"}).then((e=>{this.update()}))},hideClearIgnoredQueries:function(){this.showingClearIgnoredQueries=!1},hideModifyLoggingRules:function(){this.showingModifyLoggingRules=!1;let e={action:"searchwp_metrics_update_logging_rules",ips:this.ignoredIps,roles:this.ignoredRoles};this.apiRequest(e).then((e=>{}))},hideSettings:function(){this.showingSettings=!1;let e={action:"searchwp_metrics_update_settings",clear_data_on_uninstall:this.clearDataOnUninstall,click_tracking_buoy:this.clickTrackingBuoy};this.apiRequest(e).then((e=>{}))},formattedPopularSearchesForCsv:function(e){if(!this.popularSearches||!this.popularSearches[e])return[];let t=this.popularSearches[e].datasets[0].data,n=this.popularSearches[e].labels,i=[];for(let e=0;e<n.length;e++)i.push({query:{query:n[e],searchcount:t[e]}});return i},formattedSearchesOverTimeForCsv:function(e){if(!this.searchesOverTime||!this.searchesOverTime.datasets[e])return[];let t=this.searchesOverTime.datasets[e].data,n=this.searchesOverTime.labels,i=[];for(let e=0;e<n.length;e++)i.push({label:n[e],searches:t[e]});return i},formattedEngineStatisticForCsv:function(e,t="default"){return[{statistic:"Total Searches",value:this.getTotalSearchesCount(e)},{statistic:"No Results Searches",value:this.getFailedSearchesCount(e)},{statistic:"Total Results Viewed",value:this.outputMetric(this.totalClicks[t.name].statistic)},{statistic:"Searches Per User",value:this.outputMetric(this.averageSearchesPerUser[t.name].statistic)},{statistic:"Clicks Per Search",value:this.outputMetric(this.averageClicksPerSearch[t.name].statistic)},{statistic:"Average Click Rank",value:this.outputMetric(this.averageClickRank[t.name].statistic)}]},appendTimestamp:function(e="export"){return e+"_"+this.formatDate(this.dateRange[0])+"_"+this.formatDate(this.dateRange[1])},showPopularSearchDetails:function(e="default",t=""){this.showingPopularSearchDetails={engine:e,query:t},this.updatePopularSearchDetails(e.name)},showInsightDetails:function(e="default",t=-1){this.showingInsights={engine:e,insightIndex:t}},buildChartDataset:function(e,t=0){let n=[],i=0===t?vt(e,"clicks").reduce(((e,t)=>e+t),0):t;for(let t=0;t<e.length;t++){let r=(100*e[t].clicks/i).toFixed(2);n.push({type:"horizontalBar",backgroundColor:o.SearchwpMetricsGetColor(t),label:e[t].post_title,data:[r]})}return{labels:["Clicks"],datasets:n}},updatePopularSearchDetails:function(e){let t=this;t.loadingPopularSearchDetails=!0;let n={action:"searchwp_metrics_popular_search_details",engine:e,limit:this.popularSearchesCount};t.apiRequest(n).then((e=>{this.inlineIgnores.length&&(this.inlineIgnores.forEach((function(e){document.getElementById("searchwp-metrics--hook-popular-"+e).removeAttribute("style")})),this.inlineIgnores=[]),t.popularSearchesDetails=e.data,t.loadingPopularSearchDetails=!1}))},unIgnoreQuery:function(e){this.ignoredQueries;for(let t=0;t<this.ignoredQueries.length;t++)if(e===this.ignoredQueries[t].hash){o.set(this.ignoredQueries[t],"unignored",!0);break}this.unIgnoreSearch(e,!1),this.needsRefresh=!0},unIgnoreSearch:function(e,t=!0){let n=this,i={action:"searchwp_metrics_unignore_query",hash:e};n.apiRequest(i).then((e=>{t&&n.update()}))},hideInsights:function(){this.showingInsights=!1},searchSearchQueries:function(e,t,n){var i,r,o,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?i=setTimeout(l,t-c):(i=null,n||(s=e.apply(o,r),o=r=null))}null==t&&(t=100);var c=function(){o=this,r=arguments,a=Date.now();var c=n&&!i;return i||(i=setTimeout(l,t)),c&&(s=e.apply(o,r),o=r=null),s};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(s=e.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}((function(e){let t=this;if(e.length<3)return;t.isLoadingSearchSearches=!0;let n={action:"searchwp_metrics_search_queries",searchquery:e};t.apiRequest(n).then((e=>{t.searchQueries=e.data,t.isLoadingSearchSearches=!1}))}),500),addSelectedSearchQuery:function(e){let t={id:e,query:e};this.searchQueries.push(t),this.selectedSearchQueries.push(t),this.update()},limit:function(e,t=10){let n;if(void 0===e.length){n={};for(let i in e)if(e.hasOwnProperty(i)&&(n[i]=e[i],Object.keys(n).length>=t))break}else n=e.splice(0,t);return n},engineHasNoTracking:function(e){return"--"===this.outputMetric(this.totalClicks[e].statistic)||"--"===this.outputMetric(this.averageClicksPerSearch[e].statistic)||"--"===this.outputMetric(this.averageClickRank[e].statistic)},outputMetric:function(e){return"0"===e.toString()||"0.000"===e.toString()?"--":e},hidePopularSearchDetails:function(){this.showingPopularSearchDetails=!1,this.needsRefresh&&(this.update(),this.needsRefresh=!1)},hideFailedSearches:function(){if(this.showingFailedSearches=!1,this.inlineIgnores.length){let e=this;e.inlineIgnores.forEach((function(t){for(let n=0;n<e.failedSearches.length;n++)if(e.failedSearches[n].engine===t.engine){for(let i=0;i<e.failedSearches[n].data.length;i++)if(t.ignoredSearch===e.failedSearches[n].data[i].query){o.delete(e.failedSearches[n].data,i);break}break}})),this.inlineIgnores.forEach((function(e){document.getElementById("searchwp-metrics--hook-failed-"+e.index).removeAttribute("style")})),this.inlineIgnores=[]}this.needsRefresh&&(this.update(),this.needsRefresh=!1)},hideIgnoredSearches:function(){this.showingIgnoredSearches=!1,this.needsRefresh&&(this.update(),this.needsRefresh=!1)},getTotalSearchesCount:function(e){if(!this.searchesOverTime||!this.searchesOverTime.datasets[e])return 0;return this.searchesOverTime.datasets[e].data.reduce(((e,t)=>e+t),0)},getFailedSearchesCount:function(e){if(!this.failedSearches||!this.failedSearches[e])return 0;return this.failedSearches[e].data.reduce(((e,t)=>e+t.count),0)},ignoreSearch:function(e,t=!0){let n=this,i={action:"searchwp_metrics_ignore_query",query:e};n.apiRequest(i).then((e=>{t&&n.update()}))},ignorePopularSearch:function(e,t){document.getElementById("searchwp-metrics--hook-popular-"+t).style.display="none",this.inlineIgnores.push(t);for(let t=0;t<this.popularSearchesDetails.length;t++)if(e===this.popularSearchesDetails[t].query.query){o.delete(this.popularSearchesDetails,t);break}this.ignoreSearch(e,!1),this.needsRefresh=!0},ignoreFailedSearch:function(e,t,n){document.getElementById("searchwp-metrics--hook-failed-"+n).style.display="none",this.inlineIgnores.push({engine:t,ignoredSearch:e,index:n}),this.ignoreSearch(e,!1),this.needsRefresh=!0},getFailedSearches:function(e){for(let t=0;t<this.failedSearches.length;t++)if(this.failedSearches[t].engine===e)return this.failedSearches[t].data;return[]},getPopularSearches:function(e){for(let t=0;t<this.popularSearches.length;t++)if(this.popularSearches[t].engine===e)return this.popularSearches[t];return[]},getPopularSearchesPercentage:function(e,t){let n=this.getTotalSearchesCount(t),i=this.getPopularSearches(e).datasets[0].data.reduce(((e,t)=>e+t),0);return Math.round(100*i/n)},getPopularClicks:function(e){for(let t=0;t<this.popularClicks.length;t++)if(this.popularClicks[t].engine===e)return this.popularClicks[t];return[]},shuffle:function(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e},getInsightsCount:function(e){if(!this.getPopularClicks(e))return 0;if(!this.getPopularClicks(e).insights)return 0;let t=this.getPopularClicks(e).insights.popular,n=this.getPopularClicks(e).insights.underdogs,i=this.getPopularClicks(e).insights.analysis,r=0;return n&&n.length&&r++,t&&t.length&&r++,r+=Object.keys(i).length,r},getInsights:function(e,t=3){if(!this.getPopularClicks(e))return[];if(!this.getPopularClicks(e).insights)return[];let n=[],i=this.getPopularClicks(e).insights.popular,r=this.getPopularClicks(e).insights.underdogs,o=this.getPopularClicks(e).insights.analysis;r&&r.length&&n.push({type:"underdog",postCount:r.length,posts:r}),i&&i.length&&n.push({type:"popular",postCount:i.length,posts:i});for(let e in o)if(o.hasOwnProperty(e)&&n.push({type:"analysis",query:o[e].query,clickCount:o[e].clicks,postCount:o[e].posts.length,posts:o[e].posts}),t>0&&n.length>t-1)break;return n},formatDate:function(e){let t=e.getFullYear().toString(),n=e.getMonth()+1;return n=n<10?"0"+n.toString():n.toString(),t+"-"+n+"-"+(e.getDate()<10?"0"+e.getDate().toString():e.getDate().toString())},updateSearchesOverTime:function(e){this.searchesOverTime=o.SearchwpMetricsFormatForChart(e,{type:"line",borderWidth:2,fill:!0})},updatePopularQueriesOverTime:function(e){let t=[];e&&e.forEach((function(e){t.push({engine:e.engine,engineLabel:e.engineLabel,labels:e.labels,datasets:[{type:"doughnut",data:e.dataset,backgroundColor:e.dataset.map(((e,t)=>o.SearchwpMetricsGetColor(t)))}]})})),this.popularSearches=t},updatePopularClicksOverTime:function(e){let t=[];e&&e.forEach((function(e){t.push({engine:e.engine,engineLabel:e.engineLabel,type:"bar",insights:e.insights,datasets:e.dataset,labels:e.labels})})),this.popularClicks=t},updateFailedSearchesOverTime:function(e){let t=[];e&&e.forEach((function(e){let n=[];for(let t=0;t<e.labels.length;t++)n.push({query:e.labels[t],count:e.dataset[t]});t.push({engine:e.engine,engineLabel:e.engineLabel,data:n})})),this.failedSearches=t},apiRequest:function(e={}){return Object.keys(e).length||(e.action="searchwp_metrics",e.limit=10,e.searches=vt(this.selectedSearchQueries,"id")),e.engines=[],this.multiselect.engines.value.length&&this.multiselect.engines.value.forEach((function(t){e.engines.push(t.name)})),e.after=this.formatDate(this.dateRange[0]),e.before=this.formatDate(this.dateRange[1]),e._ajax_nonce=_SEARCHWP_METRICS_VARS.nonce,new Promise((function(t,n){jQuery.post(ajaxurl,e,(function(e){e.success?t(e):n(e)}))}))},update:function(){this.loading=!0,this.apiRequest().then((e=>{this.updateSearchesOverTime(e.data.searches_over_time),this.updatePopularQueriesOverTime(e.data.popular_queries_over_time),this.updatePopularClicksOverTime(e.data.popular_clicks_over_time),this.updateFailedSearchesOverTime(e.data.failed_searches_over_time),this.ignoredQueries=e.data.ignored_queries,this.averageSearchesPerUser=e.data.average_searches_per_user,this.averageClicksPerSearch=e.data.average_clicks_per_search,this.averageClickRank=e.data.average_click_rank,this.totalClicks=e.data.total_clicks;let t=[];for(let e=0;e<this.multiselect.engines.value.length;e++)t.push({name:this.multiselect.engines.value[e].name,label:this.multiselect.engines.value[e].label,color:o.SearchwpMetricsGetColor(e)});this.sameDate=this.formatDate(this.dateRange[0])===this.formatDate(this.dateRange[1]),this.engines=t,this.loading=!1}))},updateLoaderPosition:function(){let e=document.getElementById("wpadminbar"),t=document.getElementById("adminmenuback");this.loaderPositionTop=e?e.offsetHeight:0,this.loaderPositionLeft=t?t.offsetWidth:0}},mounted(){this.updateLoaderPosition(),window.addEventListener("resize",this.updateLoaderPosition),this.update()},computed:{noResultsDetailsForExport(){return this.getFailedSearches(this.showingFailedSearches)},popularSearchesDetailsForExport(){const e=this.popularSearchesDetails;let t=[];return e.length?(e.forEach((function(e){t.push({query:e.query.query,searches:e.query.searchcount,clickId:"",clickTitle:"",clickCount:""}),e.clicks.length&&e.clicks.forEach((function(e){t.push({query:"",searches:"",clickId:e.post_id,clickTitle:e.post_title,clickCount:e.clicks})}))})),t):t},translatedEngineDetailsHeading(){return{template:"<span>"+this.i18n.engineDetailsForTimeline+"</span>",props:["props"],data(){return{engine:this.props}}}},translatedNoResultsSearchesEngineHeading(){return{template:"<h4>"+this.i18n.noResultsSearchesEngine+"</h4>",props:["props"],data(){return{engine:this.props}}}},translatedNoResultsSearchesEngineNote(){return{template:"<p>"+this.i18n.noResultsSearchesEngineNote+"</p>"}},translatedClickTrackingNote(){return{template:"<p>"+this.i18n.clickTrackingNote+"</p>"}},translatedPopularSearchDetailsHeading(){return{template:"<h4>"+this.i18n.popularSearchDetailsEngine+"</h4>",props:["props"],data(){return{engine:this.props}}}},translatedInsightsEngineHeading(){return{template:"<h4>"+this.i18n.insightsEngine+"</h4>",props:["props"],data(){return{engine:this.props}}}},translatedClearMetricsDataNote(){return{template:"<p>"+this.i18n.clearMetricsDataNote+"</p>"}},translatedClearIgnoredQueriesNote(){return{template:"<p>"+this.i18n.clearIgnoredQueriesNote+"</p>"}},translatedLoggingRulesNoteDetails(){return{template:"<span>"+this.i18n.loggingRulesNoteDetails+"</span>"}}},data:()=>({canEditSettings:_SEARCHWP_METRICS_VARS.can_edit_settings,clearDataOnUninstall:_SEARCHWP_METRICS_VARS.settings.clear_data_on_uninstall,clickTrackingBuoy:_SEARCHWP_METRICS_VARS.settings.click_tracking_buoy,clickTrackingBuoyApplicable:_SEARCHWP_METRICS_VARS.settings.click_tracking_buoy_applicable,inlineIgnores:[],ignoredIps:_SEARCHWP_METRICS_VARS.settings.blocklists.ips,ignoredRoles:_SEARCHWP_METRICS_VARS.settings.blocklists.roles,sameDate:!1,showingSettings:!1,showingClearMetricsData:!1,showingClearIgnoredQueries:!1,showingModifyLoggingRules:!1,noResultsDetailsJsonFields:{Query:"query","No Results Search Count":"count"},searchesOverTimeJsonFields:{Date:"label",Searches:"searches"},engineStatisticsJsonFields:{Statistic:"statistic",Value:"value"},popularSearchesJsonFields:{"Search Query":"query.query",Searches:"query.searchcount"},popularSearchesDetailsJsonFields:{"Search Query":"query",Searches:"searches","Clicked Title":{callback:function(e){return e.clickId?e.clickTitle+" ("+e.clickId+")":""}},Clicks:"clickCount"},popularSearchesCount:10,popularSearchesDetails:[],loading:!0,loaderPositionTop:0,loaderPositionLeft:0,showingInsights:!1,showingIgnoredSearches:!1,showingFailedSearches:!1,showingPopularSearchDetails:!1,loadingPopularSearchDetails:!0,needsRefresh:!1,engines:[],ignoredQueries:[],isLoadingSearchSearches:!1,searchQueries:[],selectedSearchQueries:[],multiselect:{engines:{value:_SEARCHWP_METRICS_VARS.engine_default,options:_SEARCHWP_METRICS_VARS.engines}},averageSearchesPerUser:[],averageClicksPerSearch:[],averageClickRank:[],totalClicks:[],searchesOverTime:null,searchesOverTimeOptions:{maintainAspectRatio:!1,legend:{},tooltips:{cornerRadius:2,titleMarginBottom:10,xPadding:16,yPadding:9,displayColors:!1}},popularSearchDetailsClicksOptions:{maintainAspectRatio:!1,height:"40px",legend:{display:!1},tooltips:{enabled:!1},hover:{mode:null},scales:{xAxes:[{stacked:!0,display:!1,ticks:{max:100}}],yAxes:[{stacked:!0,display:!1}]}},popularSearches:[],popularSearchesOptions:{maintainAspectRatio:!0,legend:{display:!1},tooltips:{cornerRadius:2,titleMarginBottom:10,xPadding:11,yPadding:9}},popularClicks:[],popularClicksOptions:{maintainAspectRatio:!1,legend:{display:!1,position:"bottom"},tooltips:{cornerRadius:2,titleMarginBottom:10,xPadding:11,yPadding:9},scales:{xAxes:[{stacked:!0}],yAxes:[{stacked:!0}]}},failedSearches:[],dateRange:[new Date(_SEARCHWP_METRICS_VARS.options.default_start),new Date(_SEARCHWP_METRICS_VARS.options.default_end)],i18n:{addAsPartialMatch:_SEARCHWP_METRICS_VARS.i18n.add_as_partial_match,areYouSure:_SEARCHWP_METRICS_VARS.i18n.are_you_sure,averageClickRank:_SEARCHWP_METRICS_VARS.i18n.average_click_rank,averageRank:_SEARCHWP_METRICS_VARS.i18n.average_rank,cancel:_SEARCHWP_METRICS_VARS.i18n.cancel,chooseEngine:_SEARCHWP_METRICS_VARS.i18n.choose_engine,clearData:_SEARCHWP_METRICS_VARS.i18n.clear_data,clearIgnoredQueriesNote:_SEARCHWP_METRICS_VARS.i18n.clear_ignored_queries_note,clearMetricsData:_SEARCHWP_METRICS_VARS.i18n.clear_metrics_data,clearMetricsDataNote:_SEARCHWP_METRICS_VARS.i18n.clear_metrics_data_note,clickedResult:_SEARCHWP_METRICS_VARS.i18n.clicked_result,clicks:_SEARCHWP_METRICS_VARS.i18n.clicks,clicksPerSearch:_SEARCHWP_METRICS_VARS.i18n.clicks_per_search,clickTrackingNote:_SEARCHWP_METRICS_VARS.i18n.click_tracking_note,clickTrackingBuoy:_SEARCHWP_METRICS_VARS.i18n.click_tracking_buoy,clickTrackingBuoyLabelNote:_SEARCHWP_METRICS_VARS.i18n.click_tracking_buoy_label_note,clickTrackingBuoyUnavailable:_SEARCHWP_METRICS_VARS.i18n.click_tracking_buoy_unavailable,conversionRate:_SEARCHWP_METRICS_VARS.i18n.conversion_rate,datePicker:{dow:_SEARCHWP_METRICS_VARS.options.first_day_of_week,hourTip:_SEARCHWP_METRICS_VARS.i18n.select_hour,minuteTip:_SEARCHWP_METRICS_VARS.i18n.select_minute,secondTip:_SEARCHWP_METRICS_VARS.i18n.select_second,yearSuffix:_SEARCHWP_METRICS_VARS.options.year_suffix,monthsHead:_SEARCHWP_METRICS_VARS.i18n.months.split("_"),months:_SEARCHWP_METRICS_VARS.i18n.months_abbr.split("_"),weeks:_SEARCHWP_METRICS_VARS.i18n.days_abbr.split("_"),cancelTip:_SEARCHWP_METRICS_VARS.i18n.close,submitTip:_SEARCHWP_METRICS_VARS.i18n.update},dateRange:_SEARCHWP_METRICS_VARS.i18n.date_range,engineDetailsForTimeline:_SEARCHWP_METRICS_VARS.i18n.engine_details_for_timeline,engineStatistics:_SEARCHWP_METRICS_VARS.i18n.engine_statistics,enginesToDisplay:_SEARCHWP_METRICS_VARS.i18n.engines_to_display,entry:_SEARCHWP_METRICS_VARS.i18n.entry,exportEngineStatistics:_SEARCHWP_METRICS_VARS.i18n.export_engine_statistics,exportPopularSearches:_SEARCHWP_METRICS_VARS.i18n.export_popular_searches,exportSearchesOverTime:_SEARCHWP_METRICS_VARS.i18n.export_searches_over_time,ignored:_SEARCHWP_METRICS_VARS.i18n.ignored,ignoredSearches:_SEARCHWP_METRICS_VARS.i18n.ignored_searches,ignoredSearchQuery:_SEARCHWP_METRICS_VARS.i18n.ignored_search_query,ignoredMessage:_SEARCHWP_METRICS_VARS.i18n.ignored_message,insights:_SEARCHWP_METRICS_VARS.i18n.insights,insightsEngine:_SEARCHWP_METRICS_VARS.i18n.insights_engine,ipBlocklist:_SEARCHWP_METRICS_VARS.i18n.ip_blocklist,ipBlocklistNote:_SEARCHWP_METRICS_VARS.i18n.ip_blocklist_note,limitMetricsToQueries:_SEARCHWP_METRICS_VARS.i18n.limit_metrics_to_queries,loggingRules:_SEARCHWP_METRICS_VARS.i18n.logging_rules,loggingRulesNote:_SEARCHWP_METRICS_VARS.i18n.logging_rules_note,loggingRulesNoteDetails:_SEARCHWP_METRICS_VARS.i18n.logging_rules_note_details,modifyLoggingRules:_SEARCHWP_METRICS_VARS.i18n.modify_logging_rules,noClicks:_SEARCHWP_METRICS_VARS.i18n.no_clicks,noFailedSearches:_SEARCHWP_METRICS_VARS.i18n.no_failed_searches,noIgnoredQueries:_SEARCHWP_METRICS_VARS.i18n.no_ignored_queries,noInsights:_SEARCHWP_METRICS_VARS.i18n.no_insights,noResultsSearches:_SEARCHWP_METRICS_VARS.i18n.no_results_searches,noResultsSearchesEngine:_SEARCHWP_METRICS_VARS.i18n.no_results_searches_engine,noResultsSearchesEngineNote:_SEARCHWP_METRICS_VARS.i18n.no_results_searches_engine_note,notEnoughData:_SEARCHWP_METRICS_VARS.i18n.not_enough_data,ofAllSearches:_SEARCHWP_METRICS_VARS.i18n.of_all_searches,popularSearchDetailsEngine:_SEARCHWP_METRICS_VARS.i18n.popular_search_details_engine,popularSearchDetailsNote:_SEARCHWP_METRICS_VARS.i18n.popular_search_details_note,popularSearches:_SEARCHWP_METRICS_VARS.i18n.popular_searches,removeAllIgnoredQueries:_SEARCHWP_METRICS_VARS.i18n.remove_all_ignored_queries,removeOnUninstallation:_SEARCHWP_METRICS_VARS.i18n.remove_on_uninstallation,removeOnUninstallationLabelNote:_SEARCHWP_METRICS_VARS.i18n.remove_on_uninstallation_label_note,saveClose:_SEARCHWP_METRICS_VARS.i18n.save_close,searches:_SEARCHWP_METRICS_VARS.i18n.searches,searchesPerUser:_SEARCHWP_METRICS_VARS.i18n.searches_per_user,searchesPerUserNote:_SEARCHWP_METRICS_VARS.i18n.searches_per_user_note,searchQuery:_SEARCHWP_METRICS_VARS.i18n.search_query,searchQueryControls:_SEARCHWP_METRICS_VARS.i18n.search_query_controls,settings:_SEARCHWP_METRICS_VARS.i18n.settings,stopIgnoringQuery:_SEARCHWP_METRICS_VARS.i18n.stop_ignoring_query,to:_SEARCHWP_METRICS_VARS.i18n.to,totalResultsViewed:_SEARCHWP_METRICS_VARS.i18n.total_results_viewed,totalSearches:_SEARCHWP_METRICS_VARS.i18n.total_searches,userIdRoleBlocklist:_SEARCHWP_METRICS_VARS.i18n.user_id_role_blocklist,userIdRoleBlocklistNote:_SEARCHWP_METRICS_VARS.i18n.user_id_role_blocklist_note,viewAll:_SEARCHWP_METRICS_VARS.i18n.view_all,viewMore:_SEARCHWP_METRICS_VARS.i18n.view_more,viewNoResultsSearches:_SEARCHWP_METRICS_VARS.i18n.view_no_results_searches}})},undefined,false,undefined,!1,void 0,void 0,void 0);o.use(a),o.use(rt),o.use(at),o.use(st),o.use(lt),new o({el:"#searchwp-metrics",render:e=>e(vr)})}();

Zerion Mini Shell 1.0