var vendor_9218b64b59c32b6e07d7=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1393)}([function(e,t,n){"use strict";n.r(t),n.d(t,"guid",(function(){return m})),n.d(t,"logError",(function(){return g})),n.d(t,"clone",(function(){return v})),n.d(t,"merge",(function(){return y})),n.d(t,"mergeAll",(function(){return b})),n.d(t,"extend",(function(){return _})),n.d(t,"defaults",(function(){return w})),n.d(t,"createCanvas",(function(){return S})),n.d(t,"indexOf",(function(){return O})),n.d(t,"inherits",(function(){return C})),n.d(t,"mixin",(function(){return x})),n.d(t,"isArrayLike",(function(){return T})),n.d(t,"each",(function(){return E})),n.d(t,"map",(function(){return k})),n.d(t,"reduce",(function(){return M})),n.d(t,"filter",(function(){return A})),n.d(t,"find",(function(){return D})),n.d(t,"keys",(function(){return I})),n.d(t,"bind",(function(){return R})),n.d(t,"curry",(function(){return L})),n.d(t,"isArray",(function(){return j})),n.d(t,"isFunction",(function(){return P})),n.d(t,"isString",(function(){return N})),n.d(t,"isStringSafe",(function(){return B})),n.d(t,"isNumber",(function(){return F})),n.d(t,"isObject",(function(){return H})),n.d(t,"isBuiltInObject",(function(){return V})),n.d(t,"isTypedArray",(function(){return Y})),n.d(t,"isDom",(function(){return W})),n.d(t,"isGradientObject",(function(){return z})),n.d(t,"isImagePatternObject",(function(){return U})),n.d(t,"isRegExp",(function(){return $})),n.d(t,"eqNaN",(function(){return G})),n.d(t,"retrieve",(function(){return q})),n.d(t,"retrieve2",(function(){return X})),n.d(t,"retrieve3",(function(){return K})),n.d(t,"slice",(function(){return Z})),n.d(t,"normalizeCssArray",(function(){return J})),n.d(t,"assert",(function(){return Q})),n.d(t,"trim",(function(){return ee})),n.d(t,"setAsPrimitive",(function(){return te})),n.d(t,"isPrimitive",(function(){return ne})),n.d(t,"HashMap",(function(){return re})),n.d(t,"createHashMap",(function(){return ie})),n.d(t,"concatArray",(function(){return oe})),n.d(t,"createObject",(function(){return ae})),n.d(t,"disableUserSelect",(function(){return se})),n.d(t,"hasOwn",(function(){return le})),n.d(t,"noop",(function(){return ue})),n.d(t,"RADIAN_TO_DEGREE",(function(){return ce}));var r=n(90),i=M(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),o=M(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,h=function(){}.constructor,f=h?h.prototype:null,p=2311;function m(){return p++}function g(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=null,i=e;null!==i;){if(n===t){r=i;break}i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i=i.host:(n+=1,i=i.parentNode)}return r}function c(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function d(e){return c(e)&&e.parent}function h(e){return!!Object.getPrototypeOf(e.parent)}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=Node,i=r.ELEMENT_NODE,o=r.DOCUMENT_FRAGMENT_NODE,a=e;null!=a&&a!==n;){var s=a,l=s.nodeType,u=s.nodeName;if(l===i&&(t.includes(u)||t.includes(a)))return a;var c=a,d=c.host;a=d&&l===o?d:a.parentNode}return null}function p(e,t,n){for(var r=[],i=e;i&&(i=f(i,t,n))&&(!n||n.contains(i));)r.push(i),i=i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode;var o=r.length;return o?r[o-1]:null}function m(e,t){var n=e.parentNode,r=[];for("string"==typeof t?r=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):r.push(t);null!==n;){if(r.indexOf(n)>-1)return!0;n=n.parentNode}return!1}function g(e){var t=!1,n=v(e);function r(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="hot-table".toUpperCase()}for(;null!==n;){if(r(n)){t=!0;break}if(n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(t=r(n.host))break;n=n.host}n=n.parentNode}return t}function v(e){return"undefined"!=typeof Polymer&&"function"==typeof wrap?wrap(e):e}function y(e){return"undefined"!=typeof Polymer&&"function"==typeof unwrap?unwrap(e):e}function b(e){var t=0,n=e;if(n.previousSibling)for(;n=n.previousSibling;)t+=1;return t}function _(e,t,n){var r=n.parentElement.querySelector(".ht_clone_".concat(e));return r?r.contains(t):null}function w(e){var t=[];if(!e||!e.length)return t;for(var n=0;e[n];)t.push(e[n]),n+=1;return t}if(Object(s.isClassListSupported)()){var S=function(e){var t=e.createElement("div");return t.classList.add("test","test2"),t.classList.contains("test2")};r=function(e,t){return void 0!==e.classList&&"string"==typeof t&&""!==t&&e.classList.contains(t)},i=function(e,t){var n,r=e.ownerDocument,i=t;if("string"==typeof i&&(i=i.split(" ")),(i=w(i)).length>0)if(S(r))(n=e.classList).add.apply(n,l(i));else for(var o=0;i&&i[o];)e.classList.add(i[o]),o+=1},o=function(e,t){var n,r=t;if("string"==typeof r&&(r=r.split(" ")),(r=w(r)).length>0)if(S)(n=e.classList).remove.apply(n,l(r));else for(var i=0;r&&r[i];)e.classList.remove(r[i]),i+=1}}else{var O=function(e){return new RegExp("(\\s|^)".concat(e,"(\\s|$)"))};r=function(e,t){return void 0!==e.className&&O(t).test(e.className)},i=function(e,t){var n=0,r=e.className,i=t;if("string"==typeof i&&(i=i.split(" ")),""===r)r=i.join(" ");else for(;i&&i[n];)O(i[n]).test(r)||(r+=" ".concat(i[n])),n+=1;e.className=r},o=function(e,t){var n=0,r=e.className,i=t;for("string"==typeof i&&(i=i.split(" "));i&&i[n];)r=r.replace(O(i[n])," ").trim(),n+=1;e.className!==r&&(e.className=r)}}function C(e,t){return r(e,t)}function x(e,t){return i(e,t)}function T(e,t){return o(e,t)}function E(e,t){if(3===e.nodeType)t.removeChild(e);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(e.nodeName)>-1)for(var n=e.childNodes,r=n.length-1;r>=0;r--)E(n[r],e)}function k(e){for(var t;t=e.lastChild;)e.removeChild(t)}var M,A=/(<(.*)>|&(.*);)/;function D(e,t){A.test(t)?e.innerHTML=t:I(e,t)}function I(e,t){var n=e.firstChild;n&&3===n.nodeType&&null===n.nextSibling?s.isTextContentSupported?n.textContent=t:n.data=t:(k(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function R(e){for(var t=e.ownerDocument.documentElement,n=e;y(n)!==t;){if(null===n)return!1;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(n.host){if(n.host.impl)return R(n.host.impl);if(n.host)return R(n.host);throw new Error("Lost in Web Components world")}return!1}if(n.style&&"none"===n.style.display)return!1;n=n.parentNode}return!0}function L(e){var t,n,r,i,o=e.ownerDocument,a=o.defaultView,l=o.documentElement,u=e;if(Object(s.hasCaptionProblem)()&&u.firstChild&&"CAPTION"===u.firstChild.nodeName)return{top:(i=u.getBoundingClientRect()).top+(a.pageYOffset||l.scrollTop)-(l.clientTop||0),left:i.left+(a.pageXOffset||l.scrollLeft)-(l.clientLeft||0)};for(t=u.offsetLeft,n=u.offsetTop,r=u;(u=u.offsetParent)&&u!==o.body;)t+=u.offsetLeft,n+=u.offsetTop,r=u;return r&&"fixed"===r.style.position&&(t+=a.pageXOffset||l.scrollLeft,n+=a.pageYOffset||l.scrollTop),{left:t,top:n}}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.scrollY;return void 0===t&&(t=e.document.documentElement.scrollTop),t}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.scrollX;return void 0===t&&(t=e.document.documentElement.scrollLeft),t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?j(t):e.scrollTop}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?P(t):e.scrollLeft}function F(e){var t=e.ownerDocument,n=t?t.defaultView:void 0;t||(n=(t=e.document?e.document:e).defaultView);for(var r=["auto","scroll"],i=Object(s.isGetComputedStyleSupported)(),o=e.parentNode;o&&o.style&&t.body!==o;){var a=o.style,l=a.overflow,u=a.overflowX,c=a.overflowY;if([l,u,c].includes("scroll"))return o;if(i){var d=n.getComputedStyle(o);if(l=d.overflow,u=d.overflowX,c=d.overflowY,r.includes(l)||r.includes(u)||r.includes(c))return o}if(o.clientHeight<=o.scrollHeight+1&&(r.includes(c)||r.includes(l)))return o;if(o.clientWidth<=o.scrollWidth+1&&(r.includes(u)||r.includes(l)))return o;o=o.parentNode}return n}function H(e){for(var t=e.ownerDocument,n=t.defaultView,r=e.parentNode;r&&r.style&&t.body!==r;){if("visible"!==r.style.overflow&&""!==r.style.overflow)return r;var i=W(r,n),o=["scroll","hidden","auto"],a=i.getPropertyValue("overflow"),s=i.getPropertyValue("overflow-y"),l=i.getPropertyValue("overflow-x");if(o.includes(a)||o.includes(s)||o.includes(l))return r;r=r.parentNode}return n}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(e){if(e===n)return"width"===t?"".concat(n.innerWidth,"px"):"height"===t?"".concat(n.innerHeight,"px"):void 0;var r=e.style[t];if(""!==r&&void 0!==r)return r;var i=W(e,n);return""!==i[t]&&void 0!==i[t]?i[t]:void 0}}function Y(e,t){var n=t.selectorText,r=!1;return t.type===CSSRule.STYLE_RULE&&n&&(e.msMatchesSelector?r=e.msMatchesSelector(n):e.matches&&(r=e.matches(n))),r}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function z(e){return e.offsetWidth}function U(e){return Object(s.hasCaptionProblem)()&&e.firstChild&&"CAPTION"===e.firstChild.nodeName?e.offsetHeight+e.firstChild.offsetHeight:e.offsetHeight}function $(e){return e.clientHeight||e.innerHeight}function G(e){return e.clientWidth||e.innerWidth}function q(e,t,n){var r=e.defaultView;r||(r=e.document?e:e.ownerDocument.defaultView),r.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on".concat(t),n)}function X(e,t,n){var r=e.defaultView;r||(r=e.document?e:e.ownerDocument.defaultView),r.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on".concat(t),n)}function K(e){var t=e.ownerDocument;if(e.selectionStart)return e.selectionStart;if(t.selection){e.focus();var n=t.selection.createRange();if(null===n)return 0;var r=e.createTextRange(),i=r.duplicate();return r.moveToBookmark(n.getBookmark()),i.setEndPoint("EndToStart",r),i.text.length}return 0}function Z(e){var t=e.ownerDocument;if(e.selectionEnd)return e.selectionEnd;if(t.selection){var n=t.selection.createRange();return null===n?0:e.createTextRange().text.indexOf(n.text)+n.text.length}return 0}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document,n="";return e.getSelection?n=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(n=t.selection.createRange().text),n}function Q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document;e.getSelection?e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges():t.selection&&t.selection.empty()}function ee(e,t,n){if(void 0===n&&(n=t),e.setSelectionRange){e.focus();try{e.setSelectionRange(t,n)}catch(o){var r=e.parentNode,i=r.style.display;r.style.display="block",e.setSelectionRange(t,n),r.style.display=i}}else if(e.createTextRange){var o=e.createTextRange();o.collapse(!0),o.moveEnd("character",n),o.moveStart("character",t),o.select()}}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.createElement("div");t.style.height="200px",t.style.width="100%";var n=e.createElement("div");n.style.boxSizing="content-box",n.style.height="150px",n.style.left="0px",n.style.overflow="hidden",n.style.position="absolute",n.style.top="0px",n.style.width="200px",n.style.visibility="hidden",n.appendChild(t),(e.body||e.documentElement).appendChild(n);var r=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;return r===i&&(i=n.clientWidth),(e.body||e.documentElement).removeChild(n),r-i}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return void 0===M&&(M=te(e)),M}function re(e){return e.offsetWidth!==e.clientWidth}function ie(e){return e.offsetHeight!==e.clientHeight}function oe(e,t,n){Object(a.isIE8)()||Object(a.isIE9)()?(e.style.top=n,e.style.left=t):Object(a.isSafari)()?(e.style["-webkit-transform"]="translate3d(".concat(t,",").concat(n,",0)"),e.style["-webkit-transform"]="translate3d(".concat(t,",").concat(n,",0)")):e.style.transform="translate3d(".concat(t,",").concat(n,",0)")}function ae(e){var t;return e.style.transform&&""!==(t=e.style.transform)?["transform",t]:e.style["-webkit-transform"]&&""!==(t=e.style["-webkit-transform"])?["-webkit-transform",t]:-1}function se(e){e.style.transform&&""!==e.style.transform?e.style.transform="":e.style["-webkit-transform"]&&""!==e.style["-webkit-transform"]&&(e.style["-webkit-transform"]="")}function le(e){return e&&(["INPUT","SELECT","TEXTAREA"].indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function ue(e){return le(e)&&-1===e.className.indexOf("handsontableInput")&&-1===e.className.indexOf("HandsontableCopyPaste")}function ce(e){ue(e.ownerDocument.activeElement)||e.select()}},function(e,t,n){"use strict";n.r(t),n.d(t,"to2dArray",(function(){return r})),n.d(t,"extendArray",(function(){return i})),n.d(t,"pivot",(function(){return o})),n.d(t,"arrayReduce",(function(){return a})),n.d(t,"arrayFilter",(function(){return s})),n.d(t,"arrayMap",(function(){return l})),n.d(t,"arrayEach",(function(){return u})),n.d(t,"arraySum",(function(){return c})),n.d(t,"arrayMax",(function(){return d})),n.d(t,"arrayMin",(function(){return h})),n.d(t,"arrayAvg",(function(){return f})),n.d(t,"arrayFlatten",(function(){return p})),n.d(t,"arrayUnique",(function(){return m}));n(72),n(84),n(56),n(16);function r(e){for(var t=e.length,n=0;nt?e:t}),Array.isArray(e)?e[0]:void 0)}function h(e){return a(e,(function(e,t){return e=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&h(t,e,n);return C(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function E(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function k(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},function(e,t,n){"use strict";n.r(t),n.d(t,"duckSchema",(function(){return a})),n.d(t,"inherit",(function(){return s})),n.d(t,"extend",(function(){return l})),n.d(t,"deepExtend",(function(){return u})),n.d(t,"deepClone",(function(){return c})),n.d(t,"clone",(function(){return d})),n.d(t,"mixin",(function(){return h})),n.d(t,"isObjectEqual",(function(){return f})),n.d(t,"isObject",(function(){return p})),n.d(t,"defineGetter",(function(){return m})),n.d(t,"objectEach",(function(){return g})),n.d(t,"getProperty",(function(){return v})),n.d(t,"deepObjectSize",(function(){return y})),n.d(t,"createObjectPropListener",(function(){return b})),n.d(t,"hasOwnProperty",(function(){return _}));n(18),n(19),n(20),n(15),n(12),n(89),n(30),n(16),n(185),n(17);var r=n(2);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return(o="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})(e)}function a(e){var t;return Array.isArray(e)?t=[]:(t={},g(e,(function(e,n){"__children"!==n&&(e&&"object"===o(e)&&!Array.isArray(e)?t[n]=a(e):Array.isArray(e)?e.length&&"object"===o(e[0])&&!Array.isArray(e[0])?t[n]=[a(e[0])]:t[n]=[]:t[n]=null)}))),t}function s(e,t){return t.prototype.constructor=t,e.prototype=new t,e.prototype.constructor=e,e}function l(e,t){return g(t,(function(t,n){e[n]=t})),e}function u(e,t){g(t,(function(n,r){t[r]&&"object"===o(t[r])?(e[r]||(Array.isArray(t[r])?e[r]=[]:"[object Date]"===Object.prototype.toString.call(t[r])?e[r]=t[r]:e[r]={}),u(e[r],t[r])):e[r]=t[r]}))}function c(e){return"object"===o(e)?JSON.parse(JSON.stringify(e)):e}function d(e){var t={};return g(e,(function(e,n){t[n]=e})),t}function h(e){e.MIXINS||(e.MIXINS=[]);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"value",r="_".concat(n),o=(i(t={_touched:!1},r,e),i(t,"isTouched",(function(){return this._touched})),t);return Object.defineProperty(o,n,{get:function(){return this[r]},set:function(e){this._touched=!0,this[r]=e},enumerable:!0,configurable:!0}),o}function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"linearMap",(function(){return i})),n.d(t,"parsePercent",(function(){return o})),n.d(t,"round",(function(){return a})),n.d(t,"asc",(function(){return s})),n.d(t,"getPrecision",(function(){return l})),n.d(t,"getPrecisionSafe",(function(){return u})),n.d(t,"getPixelPrecision",(function(){return c})),n.d(t,"getPercentWithPrecision",(function(){return d})),n.d(t,"addSafe",(function(){return h})),n.d(t,"MAX_SAFE_INTEGER",(function(){return f})),n.d(t,"remRadian",(function(){return p})),n.d(t,"isRadianAroundZero",(function(){return m})),n.d(t,"parseDate",(function(){return v})),n.d(t,"quantity",(function(){return y})),n.d(t,"quantityExponent",(function(){return b})),n.d(t,"nice",(function(){return _})),n.d(t,"quantile",(function(){return w})),n.d(t,"reformIntervals",(function(){return S})),n.d(t,"numericToNumber",(function(){return O})),n.d(t,"isNumeric",(function(){return C})),n.d(t,"getRandomIdBase",(function(){return x})),n.d(t,"getGreatestCommonDividor",(function(){return T})),n.d(t,"getLeastCommonMultiple",(function(){return E}));var r=n(0);function i(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function o(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return r.isString(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function a(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function s(e){return e.sort((function(e,t){return e-t})),e}function l(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return u(e)}function u(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function c(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function d(e,t,n){if(!e[t])return 0;var i=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===i)return 0;for(var o=Math.pow(10,n),a=r.map(e,(function(e){return(isNaN(e)?0:e)/i*o*100})),s=100*o,l=r.map(a,(function(e){return Math.floor(e)})),u=r.reduce(l,(function(e,t){return e+t}),0),c=r.map(a,(function(e,t){return e-l[t]}));ud&&(d=c[f],h=f);++l[h],c[h]=0,++u}return l[t]/o}function h(e,t){var n=Math.max(l(e),l(t)),r=e+t;return n>20?r:a(r,n)}var f=9007199254740991;function p(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-1e-4&&e<1e-4}var g=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function v(e){if(e instanceof Date)return e;if(r.isString(e)){var t=g.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function y(e){return Math.pow(10,b(e))}function b(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function _(e,t){var n=b(e),r=Math.pow(10,n),i=e/r;return e=(t?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function w(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function S(e){e.sort((function(e,t){return function e(t,n,r){return t.interval[r]=0,a=!1;if(e instanceof l.default){var s=d(e),u=o&&s.selectFill||s.normalFill,c=o&&s.selectStroke||s.normalStroke;if(x(u)||x(c)){var h=(r=r||{}).style||{};"inherit"===h.fill?(a=!0,r=Object(i.extend)({},r),(h=Object(i.extend)({},h)).fill=u):!x(h.fill)&&x(u)?(a=!0,r=Object(i.extend)({},r),(h=Object(i.extend)({},h)).fill=E(u)):!x(h.stroke)&&x(c)&&(a||(r=Object(i.extend)({},r),h=Object(i.extend)({},h)),h.stroke=E(c)),r.style=h}}if(r&&null==r.z2){a||(r=Object(i.extend)({},r));var f=e.z2EmphasisLift;r.z2=e.z2+(null!=f?f:y)}return r}(this,0,t,n);if("blur"===e)return function(e,t,n){var r=Object(i.indexOf)(e.currentStates,t)>=0,o=e.style.opacity,a=r?null:function(e,t,n,r){for(var i=e.style,o={},a=0;a0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function ae(e,t,n){fe(e,!0),P(e,H),ue(e,t,n)}function se(e){fe(e,!1)}function le(e,t,n,r){r?se(e):ae(e,t,n)}function ue(e,t,n){var r=Object(o.getECData)(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var ce=["emphasis","blur","select"],de={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function he(e,t,n,r){n=n||"itemStyle";for(var i=0;i=t&&!1!==n(r););}function s(e,t){return t=parseInt(t.toString().replace("%",""),10),t=parseInt(e*t/100,10)}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n>>0,r=0;r0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var H=/(\[[^\[]*\])|(\\)?([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,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},W={};function z(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=$(t,e.localeData()),Y[t]=Y[t]||function(e){var t,n,r,i=e.match(H);for(t=0,n=i.length;t=0&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var G=/\d/,q=/\d\d/,X=/\d{3}/,K=/\d{4}/,Z=/[+-]?\d{6}/,J=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[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,ue={};function ce(e,t,n){ue[e]=A(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=O(e)}),n=0;n68?1900:2e3)};var be,_e=we("FullYear",!0);function we(e,t){return function(n){return null!=n?(Oe(this,e,n),i.updateOffset(this,t),this):Se(this,e)}}function Se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Oe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ye(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?ye(e)?29:28:31-r%7%2}be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function je(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Pe(e,t,n){var r=7+t-n;return-(7+je(e,0,r).getUTCDay()-t)%7+r-1}function Ne(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Pe(e,r,i);return s<=0?a=ve(o=e-1)+s:s>ve(e)?(o=e+1,a=s-ve(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Be(e,t,n){var r,i,o=Pe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Fe(i=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Fe(e,t,n){var r=Pe(e,t,n),i=Pe(e+1,t,n);return(ve(e)-r+i)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),B("week",5),B("isoWeek",5),ce("w",J),ce("ww",J,q),ce("W",J),ce("WW",J,q),me(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=O(e)})),z("d",0,"do","day"),z("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),z("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),z("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),ce("d",J),ce("e",J),ce("E",J),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),me(["d","e","E"],(function(e,t,n,r){t[r]=O(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),We="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function ze(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._shortWeekdaysParse,a))||-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))||-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))||-1!==(i=be.call(this._weekdaysParse,a))||-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null}var Ue=le,$e=le,Ge=le;function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=he(s[t]),l[t]=he(l[t]),u[t]=he(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ke(e,t){z(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Xe),z("k",["kk",2],0,(function(){return this.hours()||24})),z("hmm",0,0,(function(){return""+Xe.apply(this)+F(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Xe.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),L("hour","h"),B("hour",13),ce("a",Ze),ce("A",Ze),ce("H",J),ce("h",J),ce("k",J),ce("HH",J,q),ce("hh",J,q),ce("kk",J,q),ce("hmm",Q),ce("hmmss",ee),ce("Hmm",Q),ce("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=O(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=O(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=O(e.substr(0,r)),t[4]=O(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=O(e.substr(0,r)),t[4]=O(e.substr(r,2)),t[5]=O(e.substr(i)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=O(e.substr(0,r)),t[4]=O(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=O(e.substr(0,r)),t[4]=O(e.substr(r,2)),t[5]=O(e.substr(i))}));var Je,Qe=we("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:Ee,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:We,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{r=Je._abbr,n(1423)("./"+t),ot(r)}catch(e){}return tt[t]}function ot(e,t){var n;return e&&((n=s(t)?st(e):at(e,t))?Je=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Je._abbr}function at(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new I(D(r,t)),nt[e]&&nt[e].forEach((function(e){at(e.name,e.config)})),ot(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Je;if(!o(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o0;){if(r=it(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return Je}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ce(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[0],Be(xt(),1,4).year),r=ut(t.W,1),((i=ut(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Be(xt(),o,a);n=ut(t.gg,e._a[0],u.year),r=ut(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Fe(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Ne(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ut(e._a[0],r[0]),(e._dayOfYear>ve(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=je(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?je:Le).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var dt=/^\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)?)?$/,ht=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],mt=[["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/]],gt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,r,i,o,a,s=e._i,l=dt.exec(s)||ht.exec(s);if(l){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),W[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ge(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ct(e),lt(e)}else wt(e);else vt(e)}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(lt(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()}));function kt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function en(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tn(e,t){z(0,[e,e.length],0,t)}function nn(e,t,n,r,i){var o;return null==e?Be(this,r,i).year:(t>(o=Fe(e,r,i))&&(t=o),rn.call(this,e,t,n,r,i))}function rn(e,t,n,r,i){var o=Ne(e,t,n,r,i),a=je(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",J,q),ce("gg",J,q),ce("GGGG",ne,K),ce("gggg",ne,K),ce("GGGGG",re,Z),ce("ggggg",re,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=O(e)})),me(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),z("Q",0,"Qo","quarter"),L("quarter","Q"),B("quarter",7),ce("Q",G),pe("Q",(function(e,t){t[1]=3*(O(e)-1)})),z("D",["DD",2],"Do","date"),L("date","D"),B("date",9),ce("D",J),ce("DD",J,q),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=O(e.match(J)[0])}));var on=we("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),B("dayOfYear",4),ce("DDD",te),ce("DDDD",X),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=O(e)})),z("m",["mm",2],0,"minute"),L("minute","m"),B("minute",14),ce("m",J),ce("mm",J,q),pe(["m","mm"],4);var an=we("Minutes",!1);z("s",["ss",2],0,"second"),L("second","s"),B("second",15),ce("s",J),ce("ss",J,q),pe(["s","ss"],5);var sn,ln=we("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),L("millisecond","ms"),B("millisecond",16),ce("S",te,G),ce("SS",te,q),ce("SSS",te,X),sn="SSSS";sn.length<=9;sn+="S")ce(sn,ie);function un(e,t){t[6]=O(1e3*("0."+e))}for(sn="S";sn.length<=9;sn+="S")pe(sn,un);var cn=we("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var dn=_.prototype;function hn(e){return e}dn.add=$t,dn.calendar=function(e,t){var n=e||xt(),r=Pt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(A(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,xt(n)))},dn.clone=function(){return new _(this)},dn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=j(t)){case"year":o=qt(this,r)/12;break;case"month":o=qt(this,r);break;case"quarter":o=qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)},dn.endOf=function(e){var t;if(void 0===(e=j(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?en:Qt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Jt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Jt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Jt(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},dn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},dn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||xt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.fromNow=function(e){return this.from(xt(),e)},dn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||xt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.toNow=function(e){return this.to(xt(),e)},dn.get=function(e){return A(this[e=j(e)])?this[e]():this},dn.invalidAt=function(){return p(this).overflow},dn.isAfter=function(e,t){var n=w(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=_e,dn.isLeapYear=function(){return ye(this.year())},dn.weekYear=function(e){return nn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(e){return nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},dn.month=Ae,dn.daysInMonth=function(){return Ce(this.year(),this.month())},dn.week=dn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},dn.isoWeek=dn.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},dn.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},dn.isoWeeksInYear=function(){return Fe(this.year(),1,4)},dn.date=on,dn.day=dn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},dn.weekday=function(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")},dn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},dn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},dn.hour=dn.hours=Qe,dn.minute=dn.minutes=an,dn.second=dn.seconds=ln,dn.millisecond=dn.milliseconds=cn,dn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Ut(this,Vt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Nt(this)},dn.utc=function(e){return this.utcOffset(0,e)},dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Bt,dn.isUTC=Bt,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=T("dates accessor is deprecated. Use date instead.",on),dn.months=T("months accessor is deprecated. Use month instead",Ae),dn.years=T("years accessor is deprecated. Use year instead",_e),dn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),dn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Ot(e))._a){var t=e._isUTC?f(e._a):xt(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=I.prototype;function pn(e,t,n,r){var i=st(),o=f().set(r,t);return i[n](o,e)}function mn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=st(),a=e?o._week.dow:0;if(null!=n)return pn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=pn(t,(i+a)%7,r,"day");return s}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},fn.longDateFormat=function(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])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=hn,fn.postformat=hn,fn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)A(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)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return ke.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ge),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===O(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",ot),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",st);var vn=Math.abs;function yn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function wn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}var On=Sn("ms"),Cn=Sn("s"),xn=Sn("m"),Tn=Sn("h"),En=Sn("d"),kn=Sn("w"),Mn=Sn("M"),An=Sn("Q"),Dn=Sn("y");function In(e){return function(){return this.isValid()?this._data[e]:NaN}}var Rn=In("milliseconds"),Ln=In("seconds"),jn=In("minutes"),Pn=In("hours"),Nn=In("days"),Bn=In("months"),Fn=In("years"),Hn=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,M:11};function Yn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Wn=Math.abs;function zn(e){return(e>0)-(e<0)||+e}function Un(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Wn(this._milliseconds)/1e3,r=Wn(this._days),i=Wn(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,l=t,u=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=zn(this._months)!==zn(d)?"-":"",p=zn(this._days)!==zn(d)?"-":"",m=zn(this._milliseconds)!==zn(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var $n=At.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},$n.add=function(e,t){return yn(this,e,t,1)},$n.subtract=function(e,t){return yn(this,e,t,-1)},$n.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=j(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(wn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},$n.asMilliseconds=On,$n.asSeconds=Cn,$n.asMinutes=xn,$n.asHours=Tn,$n.asDays=En,$n.asWeeks=kn,$n.asMonths=Mn,$n.asQuarters=An,$n.asYears=Dn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*O(this._months/12):NaN},$n._bubble=function(){var e,t,n,r,i,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*bn(wn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=S(o/1e3),l.seconds=e%60,t=S(e/60),l.minutes=t%60,n=S(t/60),l.hours=n%24,a+=S(n/24),i=S(_n(a)),s+=i,a-=bn(wn(i)),r=S(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},$n.clone=function(){return Vt(this)},$n.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},$n.milliseconds=Rn,$n.seconds=Ln,$n.minutes=jn,$n.hours=Pn,$n.days=Nn,$n.weeks=function(){return S(this.days()/7)},$n.months=Bn,$n.years=Fn,$n.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Vt(e).abs(),i=Hn(r.as("s")),o=Hn(r.as("m")),a=Hn(r.as("h")),s=Hn(r.as("d")),l=Hn(r.as("M")),u=Hn(r.as("y")),c=i<=Vn.ss&&["s",i]||i0,c[4]=n,Yn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},$n.toISOString=Un,$n.toString=Un,$n.toJSON=Un,$n.locale=Xt,$n.localeData=Zt,$n.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Un),$n.lang=Kt,z("X",0,0,"unix"),z("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(O(e))})),i.version="2.24.0",t=xt,i.fn=dn,i.min=function(){var e=[].slice.call(arguments,0);return kt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return kt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return xt(1e3*e)},i.months=function(e,t){return mn(e,t,"months")},i.isDate=u,i.locale=ot,i.invalid=g,i.duration=Vt,i.isMoment=w,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return xt.apply(null,arguments).parseZone()},i.localeData=st,i.isDuration=Dt,i.monthsShort=function(e,t){return mn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=at,i.updateLocale=function(e,t){if(null!=t){var n,r,i=et;null!=(r=it(e))&&(i=r._config),t=D(i,t),(n=new I(t)).parentLocale=tt[e],tt[e]=n,ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return E(tt)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=j,i.relativeTimeRounding=function(e){return void 0===e?Hn:"function"==typeof e&&(Hn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=dn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(1422)(e))},function(e,t,n){var r=n(642),i=n(238),o=n(1654);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";n.r(t);var r=n(495);n.d(t,"ViewportColumnsCalculator",(function(){return r.default}));var i=n(496);n.d(t,"ViewportRowsCalculator",(function(){return i.default}));var o=n(102);n.d(t,"CellCoords",(function(){return o.default}));var a=n(511);n.d(t,"CellRange",(function(){return a.default}));var s=n(512);n.d(t,"ColumnFilter",(function(){return s.default}));var l=n(513);n.d(t,"RowFilter",(function(){return l.default}));var u=n(514);n.d(t,"MasterTable",(function(){return u.default}));var c=n(957);n.d(t,"LeftOverlay",(function(){return c.default}));var d=n(958);n.d(t,"TopOverlay",(function(){return d.default}));var h=n(959);n.d(t,"TopLeftCornerOverlay",(function(){return h.default}));var f=n(960);n.d(t,"BottomOverlay",(function(){return f.default}));var p=n(961);n.d(t,"BottomLeftCornerOverlay",(function(){return p.default}));var m=n(520);n.d(t,"Border",(function(){return m.default}));var g=n(436);n.d(t,"default",(function(){return g.default})),n.d(t,"Core",(function(){return g.default}));var v=n(439);n.d(t,"Event",(function(){return v.default}));var y=n(517);n.d(t,"Overlays",(function(){return y.default}));var b=n(440);n.d(t,"Scroll",(function(){return b.default}));var _=n(962);n.d(t,"Selection",(function(){return _.default}));var w=n(518);n.d(t,"Settings",(function(){return w.default}));var S=n(515);n.d(t,"Renderer",(function(){return S}));var O=n(269);n.d(t,"OrderView",(function(){return O.OrderView})),n.d(t,"SharedOrderView",(function(){return O.SharedOrderView}));var C=n(519);n.d(t,"Viewport",(function(){return C.default}));var x=n(48);n.d(t,"getListenersCounter",(function(){return x.getListenersCounter}))},function(e,t,n){"use strict";n.r(t),n.d(t,"extendShape",(function(){return j})),n.d(t,"extendPath",(function(){return N})),n.d(t,"registerShape",(function(){return B})),n.d(t,"getShapeClass",(function(){return F})),n.d(t,"makePath",(function(){return H})),n.d(t,"makeImage",(function(){return V})),n.d(t,"mergePath",(function(){return W})),n.d(t,"resizePath",(function(){return z})),n.d(t,"subPixelOptimizeLine",(function(){return U})),n.d(t,"subPixelOptimizeRect",(function(){return $})),n.d(t,"subPixelOptimize",(function(){return G})),n.d(t,"getTransform",(function(){return q})),n.d(t,"applyTransform",(function(){return X})),n.d(t,"transformDirection",(function(){return K})),n.d(t,"groupTransition",(function(){return J})),n.d(t,"clipPointsByRect",(function(){return Q})),n.d(t,"clipRectByRect",(function(){return ee})),n.d(t,"createIcon",(function(){return te})),n.d(t,"linePolygonIntersect",(function(){return ne})),n.d(t,"lineLineIntersect",(function(){return re})),n.d(t,"setTooltipConfig",(function(){return oe})),n.d(t,"traverseElements",(function(){return se}));var r=n(212),i=n(44),o=n(21),a=n(37);n.d(t,"Path",(function(){return a.default}));var s=n(112),l=n(98);n.d(t,"Image",(function(){return l.default}));var u=n(41);n.d(t,"Group",(function(){return u.default}));var c=n(69);n.d(t,"Text",(function(){return c.default}));var d=n(193);n.d(t,"Circle",(function(){return d.default}));var h=n(361);n.d(t,"Ellipse",(function(){return h.default}));var f=n(156);n.d(t,"Sector",(function(){return f.default}));var p=n(365);n.d(t,"Ring",(function(){return p.default}));var m=n(149);n.d(t,"Polygon",(function(){return m.default}));var g=n(157);n.d(t,"Polyline",(function(){return g.default}));var v=n(70);n.d(t,"Rect",(function(){return v.default}));var y=n(135);n.d(t,"Line",(function(){return y.default}));var b=n(366);n.d(t,"BezierCurve",(function(){return b.default}));var _=n(437);n.d(t,"Arc",(function(){return _.default}));var w=n(362);n.d(t,"CompoundPath",(function(){return w.default}));var S=n(270);n.d(t,"LinearGradient",(function(){return S.default}));var O=n(435);n.d(t,"RadialGradient",(function(){return O.default}));var C=n(36);n.d(t,"BoundingRect",(function(){return C.default}));var x=n(448);n.d(t,"OrientedBoundingRect",(function(){return x.default}));var T=n(55);n.d(t,"Point",(function(){return T.default}));var E=n(604);n.d(t,"IncrementalDisplayable",(function(){return E.default}));var k=n(302),M=n(0),A=n(28),D=n(23);n.d(t,"updateProps",(function(){return D.updateProps})),n.d(t,"initProps",(function(){return D.initProps})),n.d(t,"removeElement",(function(){return D.removeElement})),n.d(t,"removeElementWithFadeOut",(function(){return D.removeElementWithFadeOut})),n.d(t,"isElementRemoved",(function(){return D.isElementRemoved}));var I=Math.max,R=Math.min,L={};function j(e){return a.default.extend(e)}var P=r.extendFromString;function N(e,t){return P(e,t)}function B(e,t){L[e]=t}function F(e){if(L.hasOwnProperty(e))return L[e]}function H(e,t,n,i){var o=r.createFromString(e,t);return n&&("center"===i&&(n=Y(n,o.getBoundingRect())),z(o,n)),o}function V(e,t,n){var r=new l.default({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(Y(t,i))}}});return r}function Y(e,t){var n,r=t.width/t.height,i=e.height*r;return n=i<=e.width?e.height:(i=e.width)/r,{x:e.x+e.width/2-i/2,y:e.y+e.height/2-n/2,width:i,height:n}}var W=r.mergePath;function z(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function U(e){return k.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function $(e){return k.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var G=k.subPixelOptimize;function q(e,t){for(var n=i.identity([]);e&&e!==t;)i.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function X(e,t,n){return t&&!Object(M.isArrayLike)(t)&&(t=s.default.getLocalTransform(t)),n&&(t=i.invert([],t)),o.applyTransform([],e,t)}function K(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=X(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Z(e){return!e.isGroup}function J(e,t,n){if(e&&t){var r,i=(r={},e.traverse((function(e){Z(e)&&e.anid&&(r[e.anid]=e)})),r);t.traverse((function(e){if(Z(e)&&e.anid){var t=i[e.anid];if(t){var r=o(e);e.attr(o(t)),Object(D.updateProps)(e,r,n,Object(A.getECData)(e).dataIndex)}}}))}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=Object(M.extend)({},e.shape)),t}}function Q(e,t){return Object(M.map)(e,(function(e){var n=e[0];n=I(n,t.x),n=R(n,t.x+t.width);var r=e[1];return r=I(r,t.y),[n,r=R(r,t.y+t.height)]}))}function ee(e,t){var n=I(e.x,t.x),r=R(e.x+e.width,t.x+t.width),i=I(e.y,t.y),o=R(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function te(e,t,n){var r=Object(M.extend)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(M.defaults)(i,n),new l.default(r)):H(e.replace("path://",""),r,n,"center")}function ne(e,t,n,r,i){for(var o=0,a=i[i.length-1];o=-1e-6)return!1;var p=e-i,m=t-o,g=ie(p,m,u,c)/f;if(g<0||g>1)return!1;var v=ie(p,m,d,h)/f;return!(v<0||v>1)}function ie(e,t,n,r){return e*r-n*t}function oe(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(M.isString)(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Object(M.each)(Object(M.keys)(l),(function(e){Object(M.hasOwn)(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=Object(A.getECData)(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:Object(M.defaults)({content:r,formatterParams:s},i)}}function ae(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function se(e,t){if(e)if(Object(M.isArray)(e))for(var n=0;n=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var r=n(643).charAt,i=n(292),o=n(640),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(121),i=n(945),o=n(15),a=n(237),s=n(126),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var d in i){var h=r[d],f=h&&h.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(e){f[l]=c}if(f[u]||a(f,u,d),i[d])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(e){f[p]=o[p]}}}},function(e,t,n){"use strict";var r=n(71),i=n(121),o=n(347),a=n(346),s=n(150),l=n(639),u=n(934),c=n(87),d=n(151),h=n(425),f=n(129),p=n(145),m=n(183),g=n(203),v=n(417),y=n(415),b=n(348),_=n(421),w=n(419),S=n(933),O=n(638),C=n(265),x=n(165),T=n(482),E=n(237),k=n(238),M=n(635),A=n(483),D=n(418),I=n(484),R=n(126),L=n(946),j=n(947),P=n(488),N=n(292),B=n(266).forEach,F=A("hidden"),H=R("toPrimitive"),V=N.set,Y=N.getterFor("Symbol"),W=Object.prototype,z=i.Symbol,U=o("JSON","stringify"),$=C.f,G=x.f,q=S.f,X=T.f,K=M("symbols"),Z=M("op-symbols"),J=M("string-to-symbol-registry"),Q=M("symbol-to-string-registry"),ee=M("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=$(W,t);r&&delete W[t],G(e,t,n),r&&e!==W&&G(W,t,r)}:G,ie=function(e,t){var n=K[e]=b(z.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof z},ae=function(e,t,n){e===W&&ae(Z,t,n),p(e);var r=v(t,!0);return p(n),d(K,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:y(0,!1)})):(d(e,F)||G(e,F,y(1,{})),e[F][r]=!0),re(e,r,n)):G(e,r,n)},se=function(e,t){p(e);var n=g(t),r=_(n).concat(de(n));return B(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=v(e,!0),n=X.call(this,t);return!(this===W&&d(K,t)&&!d(Z,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=g(e),r=v(t,!0);if(n!==W||!d(K,r)||d(Z,r)){var i=$(n,r);return!i||!d(K,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},ce=function(e){var t=q(g(e)),n=[];return B(t,(function(e){d(K,e)||d(D,e)||n.push(e)})),n},de=function(e){var t=e===W,n=q(t?Z:g(e)),r=[];return B(n,(function(e){!d(K,e)||t&&!d(W,e)||r.push(K[e])})),r};(l||(k((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===W&&n.call(Z,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(W,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return Y(this).tag})),k(z,"withoutSetter",(function(e){return ie(I(e),e)})),T.f=le,x.f=ae,C.f=ue,w.f=S.f=ce,O.f=de,L.f=function(e){return ie(R(e),e)},s&&(G(z.prototype,"description",{configurable:!0,get:function(){return Y(this).description}}),a||k(W,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:z}),B(_(ee),(function(e){j(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(J,t))return J[t];var n=z(t);return J[t]=n,Q[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ce,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(m(e))}}),U)&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=z();return"[null]"!=U([e])||"{}"!=U({a:e})||"{}"!=U(Object(e))}))},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(f(t)||void 0!==e)&&!oe(e))return h(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,U.apply(null,i)}});z.prototype[H]||E(z.prototype,H,z.prototype.valueOf),P(z,"Symbol"),D[F]=!0},function(e,t,n){"use strict";var r=n(71),i=n(150),o=n(121),a=n(151),s=n(129),l=n(165).f,u=n(929),c=o.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var d={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new c(e):void 0===e?c():c(e);return""===e&&(d[t]=!0),t};u(h,c);var f=h.prototype=c.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(c("test")),g=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},function(e,t,n){n(947)("iterator")},function(e,t,n){"use strict";function r(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function i(e,t){return e[0]=t[0],e[1]=t[1],e}function o(e){return[e[0],e[1]]}function a(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function c(e){return Math.sqrt(h(e))}n.r(t),n.d(t,"create",(function(){return r})),n.d(t,"copy",(function(){return i})),n.d(t,"clone",(function(){return o})),n.d(t,"set",(function(){return a})),n.d(t,"add",(function(){return s})),n.d(t,"scaleAndAdd",(function(){return l})),n.d(t,"sub",(function(){return u})),n.d(t,"len",(function(){return c})),n.d(t,"length",(function(){return d})),n.d(t,"lenSquare",(function(){return h})),n.d(t,"lengthSquare",(function(){return f})),n.d(t,"mul",(function(){return p})),n.d(t,"div",(function(){return m})),n.d(t,"dot",(function(){return g})),n.d(t,"scale",(function(){return v})),n.d(t,"normalize",(function(){return y})),n.d(t,"distance",(function(){return b})),n.d(t,"dist",(function(){return _})),n.d(t,"distanceSquare",(function(){return w})),n.d(t,"distSquare",(function(){return S})),n.d(t,"negate",(function(){return O})),n.d(t,"lerp",(function(){return C})),n.d(t,"applyTransform",(function(){return x})),n.d(t,"min",(function(){return T})),n.d(t,"max",(function(){return E}));var d=c;function h(e){return e[0]*e[0]+e[1]*e[1]}var f=h;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function m(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function g(e,t){return e[0]*t[0]+e[1]*t[1]}function v(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function y(e,t){var n=c(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function b(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _=b;function w(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var S=w;function O(e,t){return e[0]=-t[0],e[1]=-t[1],e}function C(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function x(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function T(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function E(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},function(e,t,n){var r=n(82),i=n(220),o=n(180),a=n(181),s=n(221),l=function(e,t,n){var u,c,d,h,f=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?i:i[t]||(i[t]={}),_=b.prototype||(b.prototype={});for(u in p&&(n=t),n)d=((c=!f&&y&&void 0!==y[u])?y:n)[u],h=v&&c?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,y&&a(y,u,d,e&l.U),b[u]!=d&&o(b,u,h),g&&_[u]!=d&&(_[u]=d)};r.core=i,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){"use strict";n.r(t),n.d(t,"transitionStore",(function(){return o})),n.d(t,"getAnimationConfig",(function(){return a})),n.d(t,"updateProps",(function(){return l})),n.d(t,"initProps",(function(){return u})),n.d(t,"isElementRemoved",(function(){return c})),n.d(t,"removeElement",(function(){return d})),n.d(t,"removeElementWithFadeOut",(function(){return f})),n.d(t,"saveOldStyle",(function(){return p})),n.d(t,"getOldStyle",(function(){return m}));var r=n(0),i=n(6),o=Object(i.makeInner)();function a(e,t,n,i,o){var a;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();a=s&&s.animation}var l="update"===e;if(t&&t.isAnimationEnabled()){var u=void 0,c=void 0,d=void 0;return i?(u=Object(r.retrieve2)(i.duration,200),c=Object(r.retrieve2)(i.easing,"cubicOut"),d=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),d=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(d=a.delay)),Object(r.isFunction)(d)&&(d=d(n,o)),Object(r.isFunction)(u)&&(u=u(n)),{duration:u||0,delay:d,easing:c}}return null}function s(e,t,n,i,o,s,l){var u,c=!1;Object(r.isFunction)(o)?(l=s,s=o,o=null):Object(r.isObject)(o)&&(s=o.cb,l=o.during,c=o.isFrom,u=o.removeOpt,o=o.dataIndex);var d="leave"===e;d||t.stopAnimation("leave");var h=a(e,i,o,d?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(t,o):null);if(h&&h.duration>0){var f={duration:h.duration,delay:h.delay||0,easing:h.easing,done:s,force:!!s||!!l,setToFinal:!d,scope:e,during:l};c?t.animateFrom(n,f):t.animateTo(n,f)}else t.stopAnimation(),!c&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,o){s("update",e,t,n,r,i,o)}function u(e,t,n,r,i,o){s("enter",e,t,n,r,i,o)}function c(e){if(!e.__zr)return!0;for(var t=0;tRead more about it in \n the documentation or contact us at support@handsontable.com.'],['\n The license key for Handsontable is missing. Use your purchased key to activate the product.\\x20\n Alternatively, you can activate Handsontable to use for non-commercial purposes by\\x20\n passing the key: \'non-commercial-and-evaluation\'.\\x20\n Read more about it in\\x20\n the documentation or contact us at support@handsontable.com.']);return a=function(){return e},e}function s(){var e=h(["\n The license key for Handsontable expired on ",", and is not valid for the installed \n version ",'. Renew your \n license key or downgrade to a version released prior to ','. If you need any \n help, contact us at sales@handsontable.com.'],["\n The license key for Handsontable expired on ",", and is not valid for the installed\\x20\n version ",'. Renew your\\x20\n license key or downgrade to a version released prior to ','. If you need any\\x20\n help, contact us at sales@handsontable.com.']);return s=function(){return e},e}function l(){var e=h(['\n The license key for Handsontable is invalid. \n Read more on how to \n install it properly or contact us at support@handsontable.com.'],['\n The license key for Handsontable is invalid.\\x20\n Read more on how to\\x20\n install it properly or contact us at support@handsontable.com.']);return l=function(){return e},e}function u(){var e=h(["\n The license key for Handsontable is missing. Use your purchased key to activate the product. \n Alternatively, you can activate Handsontable to use for non-commercial purposes by \n passing the key: 'non-commercial-and-evaluation'. If you need any help, contact \n us at support@handsontable.com."],["\n The license key for Handsontable is missing. Use your purchased key to activate the product.\\x20\n Alternatively, you can activate Handsontable to use for non-commercial purposes by\\x20\n passing the key: 'non-commercial-and-evaluation'. If you need any help, contact\\x20\n us at support@handsontable.com."]);return u=function(){return e},e}function c(){var e=h(["\n The license key for Handsontable expired on ",", and is not valid for the installed \n version ",". Renew your license key at handsontable.com or downgrade to a version released prior \n to ",". If you need any help, contact us at sales@handsontable.com."],["\n The license key for Handsontable expired on ",", and is not valid for the installed\\x20\n version ",". Renew your license key at handsontable.com or downgrade to a version released prior\\x20\n to ",". If you need any help, contact us at sales@handsontable.com."]);return c=function(){return e},e}function d(){var e=h(["\n The license key for Handsontable is invalid. \n If you need any help, contact us at support@handsontable.com."],["\n The license key for Handsontable is invalid.\\x20\n If you need any help, contact us at support@handsontable.com."]);return d=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function f(e){return(f="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})(e)}function p(e){var t;switch(f(e)){case"string":case"number":t="".concat(e);break;case"object":t=null===e?"":e.toString();break;case"undefined":t="";break;default:t=e.toString()}return t}function m(e){return void 0!==e}function g(e){return void 0===e}function v(e){return null===e||""===e||g(e)}function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var b="length",_=function(e){return parseInt(e,16)},w=function(e){return parseInt(e,10)},S=function(e,t,n){return e.substr(t,n)},O=function(e){return e.codePointAt(0)-65},C=function(e){return"".concat(e).replace(/\-/g,"")},x=!1,T={invalid:function(){return Object(o.toSingleLine)(d())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return Object(o.toSingleLine)(c(),t,n,t)},missing:function(){return Object(o.toSingleLine)(u())},non_commercial:function(){return""}},E={invalid:function(){return Object(o.toSingleLine)(l())},expired:function(e){var t=e.keyValidityDate,n=e.hotVersion;return Object(o.toSingleLine)(s(),t,n,t)},missing:function(){return Object(o.toSingleLine)(a())},non_commercial:function(){return""}};function k(e,t){var n,r,o=!v(e),a="string"==typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),s="invalid",l="invalid",u=function(e){var t=[][b],n=t;if(e[b]!==O("Z"))return!1;for(var r="",i="B>1:r=S(e,o,o?1===i[b]?9:8:6);return n===t}(e=C(e||""));if(o||a||u)if(u){var c=i()("19/02/2020","DD/MM/YYYY"),d=Math.floor(c.toDate().getTime()/864e5),h=_(S(C(r=e),_("12"),O("F")))/(_(S(C(r),O("B"),~~![][b]))||9);if(n=i()(864e5*(h+1),"x").format("MMMM DD, YYYY"),d>h){var f=i()().diff(c,"days");s=f<=1?"valid":"expired",l=f<=15?"valid":"expired"}else s="valid",l="valid"}else a?(s="non_commercial",l="valid"):(s="invalid",l="invalid");else s="missing",l="missing";("undefined"!=typeof location&&/^([a-z0-9\-]+\.)?\x68\x61\x6E\x64\x73\x6F\x6E\x74\x61\x62\x6C\x65\x2E\x63\x6F\x6D$/i.test(location.host)&&(s="valid",l="valid"),x||"valid"===s)||(T[s]({keyValidityDate:n,hotVersion:"7.4.2"})&&console["non_commercial"===s?"info":"warn"](T[s]({keyValidityDate:n,hotVersion:"7.4.2"})),x=!0);if("valid"!==l&&t.parentNode&&E[l]({keyValidityDate:n,hotVersion:"7.4.2"})){var p=document.createElement("div");p.id="hot-display-license-info",p.innerHTML=E[l]({keyValidityDate:n,hotVersion:"7.4.2"}),t.parentNode.insertBefore(p,t.nextSibling)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"stopImmediatePropagation",(function(){return i})),n.d(t,"isImmediatePropagationStopped",(function(){return o})),n.d(t,"stopPropagation",(function(){return a})),n.d(t,"pageX",(function(){return s})),n.d(t,"pageY",(function(){return l})),n.d(t,"isRightClick",(function(){return u})),n.d(t,"isLeftClick",(function(){return c}));var r=n(1);function i(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0}function o(e){return!1===e.isImmediatePropagationEnabled}function a(e){"function"==typeof e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function s(e){if(e.pageX)return e.pageX;var t=e.target.ownerDocument.defaultView;return e.clientX+Object(r.getWindowScrollLeft)(t)}function l(e){if(e.pageY)return e.pageY;var t=e.target.ownerDocument.defaultView,n=Object(r.getWindowScrollTop)(t);for(t=Object(r.getParentWindow)(t);t;)n-=Object(r.getWindowScrollTop)(t),t=Object(r.getParentWindow)(t);return e.clientY+n}function u(e){return 2===e.button}function c(e){return 0===e.button}},function(e,t,n){"use strict";n.r(t),n.d(t,"VISUAL_DIMENSIONS",(function(){return i})),n.d(t,"SOURCE_FORMAT_ORIGINAL",(function(){return o})),n.d(t,"SOURCE_FORMAT_ARRAY_ROWS",(function(){return a})),n.d(t,"SOURCE_FORMAT_OBJECT_ROWS",(function(){return s})),n.d(t,"SOURCE_FORMAT_KEYED_COLUMNS",(function(){return l})),n.d(t,"SOURCE_FORMAT_TYPED_ARRAY",(function(){return u})),n.d(t,"SOURCE_FORMAT_UNKNOWN",(function(){return c})),n.d(t,"SERIES_LAYOUT_BY_COLUMN",(function(){return d})),n.d(t,"SERIES_LAYOUT_BY_ROW",(function(){return h}));var r=n(0),i=Object(r.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",d="column",h="row"},function(e,t,n){"use strict";n.r(t),n.d(t,"getECData",(function(){return i})),n.d(t,"setCommonECData",(function(){return o}));var r=n(6),i=Object(r.makeInner)(),o=function(e,t,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=t,o.seriesIndex=e,"group"===r.type&&r.traverse((function(r){var o=i(r);o.seriesIndex=e,o.dataIndex=n,o.dataType=t}))}}},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(1425);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(197))},function(e,t,n){"use strict";var r=n(238),i=n(145),o=n(87),a=n(649),s=RegExp.prototype,l=s.toString,u=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),c="toString"!=l.name;(u||c)&&r(RegExp.prototype,"toString",(function(){var e=i(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(71),i=n(87),o=n(183),a=n(487),s=n(937);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){"use strict";n.r(t),n.d(t,"LOCATION_PARAMS",(function(){return l})),n.d(t,"HV_NAMES",(function(){return u})),n.d(t,"box",(function(){return d})),n.d(t,"vbox",(function(){return h})),n.d(t,"hbox",(function(){return f})),n.d(t,"getAvailableSize",(function(){return p})),n.d(t,"getLayoutRect",(function(){return m})),n.d(t,"positionElement",(function(){return g})),n.d(t,"sizeCalculable",(function(){return v})),n.d(t,"fetchLayoutMode",(function(){return y})),n.d(t,"mergeLayoutParam",(function(){return b})),n.d(t,"getLayoutParams",(function(){return _})),n.d(t,"copyLayoutParams",(function(){return w}));var r=n(0),i=n(36),o=n(5),a=n(52),s=r.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=t.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===e){var m=h.width+(p?-p.x+h.x:0);(c=o+m)>r||l.newline?(o=0,c=m,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(p?-p.y+h.y:0);(d=a+g)>i||l.newline?(o+=s+n,a=0,d=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=d+n)}))}var d=c,h=r.curry(c,"vertical"),f=r.curry(c,"horizontal");function p(e,t,n){var r=t.width,i=t.height,s=Object(o.parsePercent)(e.left,r),l=Object(o.parsePercent)(e.top,i),u=Object(o.parsePercent)(e.right,r),c=Object(o.parsePercent)(e.bottom,i);return(isNaN(s)||isNaN(parseFloat(e.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(e.right)))&&(u=r),(isNaN(l)||isNaN(parseFloat(e.top)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.bottom)))&&(c=i),n=a.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function m(e,t,n){n=a.normalizeCssArray(n||0);var r=t.width,s=t.height,l=Object(o.parsePercent)(e.left,r),u=Object(o.parsePercent)(e.top,s),c=Object(o.parsePercent)(e.right,r),d=Object(o.parsePercent)(e.bottom,s),h=Object(o.parsePercent)(e.width,r),f=Object(o.parsePercent)(e.height,s),p=n[2]+n[0],m=n[1]+n[3],g=e.aspect;switch(isNaN(h)&&(h=r-c-m-l),isNaN(f)&&(f=s-d-p-u),null!=g&&(isNaN(h)&&isNaN(f)&&(g>r/s?h=.8*r:f=.8*s),isNaN(h)&&(h=g*f),isNaN(f)&&(f=h/g)),isNaN(l)&&(l=r-c-h-m),isNaN(u)&&(u=s-d-f-p),e.left||e.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-m}switch(e.top||e.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(h)&&(h=r-m-l-(c||0)),isNaN(f)&&(f=s-p-u-(d||0));var v=new i.default(l+n[3],u+n[0],h,f);return v.margin=n,v}function g(e,t,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],d=a&&a.boundingMode||"all";if((s=s||e).x=e.x,s.y=e.y,!u&&!c)return!1;if("raw"===d)l="group"===e.type?new i.default(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();(l=l.clone()).applyTransform(h)}var f=m(r.defaults({width:l.width,height:l.height},t),n,o),p=u?f.x-l.x:0,g=c?f.y-l.y:0;return"raw"===d?(s.x=p,s.y=g):(s.x+=p,s.y+=g),s===e&&e.markRedraw(),!0}function v(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]}function y(e){var t=e.layoutMode||e.constructor.layoutMode;return r.isObject(t)?t:t?{type:t}:null}function b(e,t,n){var i=n&&n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0;if(s(n,(function(t){l[t]=e[t]})),s(n,(function(e){c(t,e)&&(o[e]=l[e]=t[e]),d(o,e)&&a++,d(l,e)&&u++})),i[r])return d(t,n[1])?l[n[2]]=null:d(t,n[2])&&(l[n[1]]=null),l;if(2!==u&&a){if(a>=2)return o;for(var h=0;hv&&(v=S,yv&&(v=O,_=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],d=r[3],h=r[4],f=r[5];return t.x=n.x*i+h,t.y=n.y*d+f,t.width=n.width*i,t.height=n.height*d,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}s.x=u.x=n.x,s.y=c.y=n.y,l.x=c.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(r),c.transform(r),l.transform(r),u.transform(r),t.x=o(s.x,l.x,u.x,c.x),t.y=o(s.y,l.y,u.y,c.y);var p=a(s.x,l.x,u.x,c.x),m=a(s.y,l.y,u.y,c.y);t.width=p-t.x,t.height=m-t.y}else t!==n&&e.copy(t,n)},e}();t.default=f},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_PATH_STYLE",(function(){return h})),n.d(t,"DEFAULT_PATH_ANIMATION_PROPS",(function(){return f}));var r=n(3),i=n(86),o=n(130),a=n(698),s=n(0),l=n(73),u=n(142),c=n(93),d=n(112),h=Object(s.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.DEFAULT_COMMON_STYLE),f={style:Object(s.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.DEFAULT_COMMON_ANIMATION_PROPS.style)},p=d.TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),m=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.__extends)(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?u.DARK_LABEL_COLOR:t>.2?u.LIGHTER_LABEL_COLOR:u.LIGHT_LABEL_COLOR}if(e)return u.LIGHT_LABEL_COLOR}return u.DARK_LABEL_COLOR},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(s.isString)(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Object(l.lum)(e,0)0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&c.SHAPE_CHANGED_BIT)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,e,t)))return!0}if(this.hasFill())return a.contain(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=c.SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:Object(s.extend)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&c.SHAPE_CHANGED_BIT)},t.prototype.createStyle=function(e){return Object(s.createObject)(h,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(s.extend)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var l,u=!(n&&i);if(n&&n.shape?o?i?l=n.shape:(l=Object(s.extend)({},r.shape),Object(s.extend)(l,n.shape)):(l=Object(s.extend)({},i?this.shape:r.shape),Object(s.extend)(l,n.shape)):u&&(l=r.shape),l)if(o){this.shape=Object(s.extend)({},this.shape);for(var c={},d=Object(s.keys)(l),h=0;h0&&void 0!==arguments[0]?arguments[0]:null;return e?(e.pluginHookBucket||(e.pluginHookBucket=this.createEmptyBucket()),e.pluginHookBucket):this.globalBucket}},{key:"add",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Array.isArray(t))Object(r.arrayEach)(t,(function(t){return n.add(e,t,i)}));else{var o=this.getBucket(i);if(void 0===o[e]&&(this.register(e),o[e]=[]),t.skip=!1,-1===o[e].indexOf(t)){var a=!1;t.initialHook&&Object(r.arrayEach)(o[e],(function(n,r){if(n.initialHook)return o[e][r]=t,a=!0,!1})),a||o[e].push(t)}}return this}},{key:"once",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)?Object(r.arrayEach)(t,(function(t){return n.once(e,t,i)})):(t.runOnce=!0,this.add(e,t,i))}},{key:"remove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.getBucket(n);return void 0!==r[e]&&r[e].indexOf(t)>=0&&(t.skip=!0,!0)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getBucket(t);return!(void 0===n[e]||!n[e].length)}},{key:"run",value:function(e,t,n,r,i,o,a,s){var l=this.globalBucket[t],u=l?l.length:0,c=0;if(u)for(;c0&&void 0!==arguments[0]?arguments[0]:null;Object(i.objectEach)(this.getBucket(e),(function(e,t,n){return n[t].length=0}))}},{key:"register",value:function(e){this.isRegistered(e)||s.push(e)}},{key:"deregister",value:function(e){this.isRegistered(e)&&s.splice(s.indexOf(e),1)}},{key:"isRegistered",value:function(e){return s.indexOf(e)>=0}},{key:"getRegistered",value:function(){return s}}]),e}(),u=new l;t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY_CODES",(function(){return i})),n.d(t,"isPrintableChar",(function(){return o})),n.d(t,"isMetaKey",(function(){return a})),n.d(t,"isCtrlKey",(function(){return s})),n.d(t,"isCtrlMetaKey",(function(){return l})),n.d(t,"isKey",(function(){return u}));n(109),n(56),n(89),n(138),n(185);var r=n(2),i={MOUSE_LEFT:1,MOUSE_RIGHT:3,MOUSE_MIDDLE:2,BACKSPACE:8,COMMA:188,INSERT:45,DELETE:46,END:35,ENTER:13,ESCAPE:27,CONTROL:17,COMMAND_LEFT:91,COMMAND_RIGHT:93,COMMAND_FIREFOX:224,ALT:18,HOME:36,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,SPACE:32,SHIFT:16,CAPS_LOCK:20,TAB:9,ARROW_RIGHT:39,ARROW_LEFT:37,ARROW_UP:38,ARROW_DOWN:40,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,A:65,C:67,D:68,F:70,L:76,O:79,P:80,S:83,V:86,X:88};function o(e){return 32===e||e>=48&&e<=57||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||e>=226||e>=65&&e<=90}function a(e){return-1!==[i.ARROW_DOWN,i.ARROW_UP,i.ARROW_LEFT,i.ARROW_RIGHT,i.HOME,i.END,i.DELETE,i.BACKSPACE,i.F1,i.F2,i.F3,i.F4,i.F5,i.F6,i.F7,i.F8,i.F9,i.F10,i.F11,i.F12,i.TAB,i.PAGE_DOWN,i.PAGE_UP,i.ENTER,i.ESCAPE,i.SHIFT,i.CAPS_LOCK,i.ALT].indexOf(e)}function s(e){var t=[];return navigator.platform.includes("Mac")?t.push(i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX):t.push(i.CONTROL),t.includes(e)}function l(e){return[i.CONTROL,i.COMMAND_LEFT,i.COMMAND_RIGHT,i.COMMAND_FIREFOX].includes(e)}function u(e,t){var n=t.split("|"),o=!1;return Object(r.arrayEach)(n,(function(t){if(e===i[t])return o=!0,!1})),o}},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n(0),o=n(524),a=n(36),s=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return Object(r.__extends)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=i.indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=i.indexOf(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n=0&&u.splice(u.indexOf(this.pluginName),1),u.length||this.hot.runHooks("afterPluginsInitialized"),this.initialized=!0}},{key:"enablePlugin",value:function(){this.enabled=!0}},{key:"disablePlugin",value:function(){this.eventManager&&this.eventManager.clear(),this.clearHooks(),this.enabled=!1}},{key:"addHook",value:function(e,t){l.get(this).hooks[e]=l.get(this).hooks[e]||[];var n=l.get(this).hooks[e];this.hot.addHook(e,t),n.push(t),l.get(this).hooks[e]=n}},{key:"removeHooks",value:function(e){var t=this;Object(i.arrayEach)(l.get(this).hooks[e]||[],(function(n){t.hot.removeHook(e,n)}))}},{key:"clearHooks",value:function(){var e=this,t=l.get(this).hooks;Object(r.objectEach)(t,(function(t,n){return e.removeHooks(n)})),t.length=0}},{key:"callOnPluginsReady",value:function(e){this.isPluginsReady?e():this.pluginsInitializedCallbacks.push(e)}},{key:"onAfterPluginsInitialized",value:function(){Object(i.arrayEach)(this.pluginsInitializedCallbacks,(function(e){return e()})),this.pluginsInitializedCallbacks.length=0,this.isPluginsReady=!0}},{key:"onUpdateSettings",value:function(){this.isEnabled&&(this.enabled&&!this.isEnabled()&&this.disablePlugin(),!this.enabled&&this.isEnabled()&&this.enablePlugin(),this.enabled&&this.isEnabled()&&this.updatePlugin())}},{key:"updatePlugin",value:function(){}},{key:"destroy",value:function(){var e=this;this.eventManager&&this.eventManager.destroy(),this.clearHooks(),Object(r.objectEach)(this,(function(t,n){"hot"!==n&&"t"!==n&&(e[n]=null)})),delete this.t,delete this.hot}}])&&s(t.prototype,n),c&&s(t,c),e}();t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n(0),o=n(63),a=n(95),s=n(111),l=n(6),u=n(32),c=Object(l.makeInner)(),d=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=a.getUID("ec_cpt_model"),i}var n;return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=u.fetchLayoutMode(this),r=n?u.getLayoutParams(e):{},o=t.getTheme();i.merge(e,o.get(this.mainType)),i.merge(e,this.getDefaultOption()),n&&u.mergeLayoutParam(e,r,n)},t.prototype.mergeOption=function(e,t){i.merge(this.option,e,!0);var n=u.fetchLayoutMode(this);n&&u.mergeLayoutParam(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Object(s.isExtendedClass)(e))return e.defaultOption;var t=c(this);if(!t.defaultOption){for(var n=[],r=e;r;){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i.merge(a,n[l],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Object(l.queryReferringComponents)(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=((n=t.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),t}(o.default);Object(s.mountExtend)(d,o.default),Object(s.enableClassManagement)(d),a.enableSubTypeDefaulter(d),a.enableTopologicalTravel(d,(function(e){var t=[];i.each(d.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=i.map(t,(function(e){return Object(s.parseClassType)(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset");return t})),t.default=d},function(e,t,n){"use strict";function r(){return[1,0,0,1,0,0]}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+a*u,e[1]=-r*u+a*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function u(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function c(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function d(e){var t=[1,0,0,1,0,0];return o(t,e),t}n.r(t),n.d(t,"create",(function(){return r})),n.d(t,"identity",(function(){return i})),n.d(t,"copy",(function(){return o})),n.d(t,"mul",(function(){return a})),n.d(t,"translate",(function(){return s})),n.d(t,"rotate",(function(){return l})),n.d(t,"scale",(function(){return u})),n.d(t,"invert",(function(){return c})),n.d(t,"clone",(function(){return d}))},function(e,t,n){"use strict";n.r(t),n.d(t,"normalizeSelection",(function(){return a})),n.d(t,"isSeparator",(function(){return s})),n.d(t,"hasSubMenu",(function(){return l})),n.d(t,"isDisabled",(function(){return u})),n.d(t,"isSelectionDisabled",(function(){return c})),n.d(t,"getValidSelection",(function(){return d})),n.d(t,"prepareVerticalAlignClass",(function(){return h})),n.d(t,"prepareHorizontalAlignClass",(function(){return f})),n.d(t,"getAlignmentClasses",(function(){return p})),n.d(t,"align",(function(){return m})),n.d(t,"checkSelectionConsistency",(function(){return v})),n.d(t,"markLabelAsSelected",(function(){return y})),n.d(t,"isItemHidden",(function(){return b})),n.d(t,"filterSeparators",(function(){return O}));n(72),n(56),n(497),n(104),n(187),n(89),n(148);var r=n(2),i=n(1),o=n(250);function a(e){return Object(r.arrayMap)(e,(function(e){return{start:e.getTopLeftCorner(),end:e.getBottomRightCorner()}}))}function s(e){return Object(i.hasClass)(e,"htSeparator")}function l(e){return Object(i.hasClass)(e,"htSubmenu")}function u(e){return Object(i.hasClass)(e,"htDisabled")}function c(e){return Object(i.hasClass)(e,"htSelectionDisabled")}function d(e){var t=e.getSelected();return t?t[0]<0?null:t:null}function h(e,t){if(-1!==e.indexOf(t))return e;var n=e.replace("htTop","").replace("htMiddle","").replace("htBottom","").replace(" ","");return"".concat(n," ").concat(t)}function f(e,t){if(-1!==e.indexOf(t))return e;var n=e.replace("htLeft","").replace("htCenter","").replace("htRight","").replace("htJustify","").replace(" ","");return"".concat(n," ").concat(t)}function p(e,t){var n={};return Object(r.arrayEach)(e,(function(e){for(var r=e.from,i=e.to,o=r.row;o<=i.row;o++)for(var a=r.col;a<=i.col;a++)n[o]||(n[o]=[]),n[o][a]=t(o,a)})),n}function m(e,t,n,i,o){Object(r.arrayEach)(e,(function(e){var r=e.from,a=e.to;if(r.row===a.row&&r.col===a.col)g(r.row,r.col,t,n,i,o);else for(var s=r.row;s<=a.row;s++)for(var l=r.col;l<=a.col;l++)g(s,l,t,n,i,o)}))}function g(e,t,n,r,i,o){var a=i(e,t),s=r;a.className&&(s="vertical"===n?h(a.className,r):f(a.className,r)),o(e,t,"className",s)}function v(e,t){var n=!1;return Array.isArray(e)&&Object(r.arrayEach)(e,(function(e){return e.forAll((function(e,r){if(t(e,r))return n=!0,!1})),n})),n}function y(e){return''.concat(String.fromCharCode(10003),"").concat(e)}function b(e,t){return!e.hidden||!("function"==typeof e.hidden&&e.hidden.call(t))}function _(e,t){for(var n=e.slice(0);00?t[t.length-1].name!==e.name&&t.push(e):t.push(e)})),t}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.KEY,n=e.slice(0);return n=S(n=w(n=_(n,t),t))}},function(e,t,n){"use strict";n.r(t),n.d(t,"ONE_SECOND",(function(){return s})),n.d(t,"ONE_MINUTE",(function(){return l})),n.d(t,"ONE_HOUR",(function(){return u})),n.d(t,"ONE_DAY",(function(){return c})),n.d(t,"ONE_YEAR",(function(){return d})),n.d(t,"defaultLeveledFormatter",(function(){return h})),n.d(t,"fullLeveledFormatter",(function(){return f})),n.d(t,"primaryTimeUnits",(function(){return p})),n.d(t,"timeUnits",(function(){return m})),n.d(t,"pad",(function(){return g})),n.d(t,"getPrimaryTimeUnit",(function(){return v})),n.d(t,"isPrimaryTimeUnit",(function(){return y})),n.d(t,"getDefaultFormatPrecisionOfInterval",(function(){return b})),n.d(t,"format",(function(){return _})),n.d(t,"leveledFormat",(function(){return w})),n.d(t,"getUnitFromValue",(function(){return S})),n.d(t,"getUnitValue",(function(){return O})),n.d(t,"fullYearGetterName",(function(){return C})),n.d(t,"monthGetterName",(function(){return x})),n.d(t,"dateGetterName",(function(){return T})),n.d(t,"hoursGetterName",(function(){return E})),n.d(t,"minutesGetterName",(function(){return k})),n.d(t,"secondsGetterName",(function(){return M})),n.d(t,"millisecondsGetterName",(function(){return A})),n.d(t,"fullYearSetterName",(function(){return D})),n.d(t,"monthSetterName",(function(){return I})),n.d(t,"dateSetterName",(function(){return R})),n.d(t,"hoursSetterName",(function(){return L})),n.d(t,"minutesSetterName",(function(){return j})),n.d(t,"secondsSetterName",(function(){return P})),n.d(t,"millisecondsSetterName",(function(){return N}));var r=n(0),i=n(5),o=n(211),a=n(63),s=1e3,l=60*s,u=60*l,c=24*u,d=365*c,h={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+h.hour,minute:"{yyyy}-{MM}-{dd} "+h.minute,second:"{yyyy}-{MM}-{dd} "+h.second,millisecond:h.none},p=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function g(e,t){return"0000".substr(0,t-(e+="").length)+e}function v(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function y(e){return e===v(e)}function b(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _(e,t,n,r){var s=i.parseDate(e),l=s[C(n)](),u=s[x(n)]()+1,c=Math.floor((u-1)/4)+1,d=s[T(n)](),h=s["get"+(n?"UTC":"")+"Day"](),f=s[E(n)](),p=(f-1)%12+1,m=s[k(n)](),v=s[M(n)](),y=s[A(n)](),b=(r instanceof a.default?r:Object(o.getLocaleModel)(r||o.SYSTEM_LANG)||Object(o.getDefaultLocaleModel)()).getModel("time"),_=b.get("month"),w=b.get("monthAbbr"),S=b.get("dayOfWeek"),O=b.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,c+"").replace(/{MMMM}/g,_[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,g(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,g(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,S[h]).replace(/{ee}/g,O[h]).replace(/{e}/g,h+"").replace(/{HH}/g,g(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,g(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,g(m,2)).replace(/{m}/g,m+"").replace(/{ss}/g,g(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,g(y,3)).replace(/{S}/g,y+"")}function w(e,t,n,i,o){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n))a=n(e.value,t,{level:e.level});else{var s=r.extend({},h);if(e.level>0)for(var l=0;l=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r.isArray(a)){var d=null==e.level?0:e.level>=0?e.level:a.length+e.level;a=a[d=Math.min(d,a.length-1)]}}return _(new Date(e.value),a,o,i)}function S(e,t){var n=i.parseDate(e),r=n[x(t)]()+1,o=n[T(t)](),a=n[E(t)](),s=n[k(t)](),l=n[M(t)](),u=0===n[A(t)](),c=u&&0===l,d=c&&0===s,h=d&&0===a,f=h&&1===o;return f&&1===r?"year":f?"month":h?"day":d?"hour":c?"minute":u?"second":"millisecond"}function O(e,t,n){var o=r.isNumber(e)?i.parseDate(e):e;switch(t=t||S(e,n)){case"year":return o[C(n)]();case"half-year":return o[x(n)]()>=6?1:0;case"quarter":return Math.floor((o[x(n)]()+1)/4);case"month":return o[x(n)]();case"day":return o[T(n)]();case"half-day":return o[E(n)]()/24;case"hour":return o[E(n)]();case"minute":return o[k(n)]();case"second":return o[M(n)]();case"millisecond":return o[A(n)]()}}function C(e){return e?"getUTCFullYear":"getFullYear"}function x(e){return e?"getUTCMonth":"getMonth"}function T(e){return e?"getUTCDate":"getDate"}function E(e){return e?"getUTCHours":"getHours"}function k(e){return e?"getUTCMinutes":"getMinutes"}function M(e){return e?"getUTCSeconds":"getSeconds"}function A(e){return e?"getUTCMilliseconds":"getMilliseconds"}function D(e){return e?"setUTCFullYear":"setFullYear"}function I(e){return e?"setUTCMonth":"setMonth"}function R(e){return e?"setUTCDate":"setDate"}function L(e){return e?"setUTCHours":"setHours"}function j(e){return e?"setUTCMinutes":"setMinutes"}function P(e){return e?"setUTCSeconds":"setSeconds"}function N(e){return e?"setUTCMilliseconds":"setMilliseconds"}},function(e,t,n){"use strict";n.r(t),n.d(t,"use",(function(){return f}));var r=n(118),i=n(67),o=n(57),a=n(43),s=n(58),l=n(0),u=n(449),c=n(327),d=[],h={registerPreprocessor:r.registerPreprocessor,registerProcessor:r.registerProcessor,registerPostInit:r.registerPostInit,registerPostUpdate:r.registerPostUpdate,registerUpdateLifecycle:r.registerUpdateLifecycle,registerAction:r.registerAction,registerCoordinateSystem:r.registerCoordinateSystem,registerLayout:r.registerLayout,registerVisual:r.registerVisual,registerTransform:r.registerTransform,registerLoading:r.registerLoading,registerMap:r.registerMap,registerImpl:u.registerImpl,PRIORITY:r.PRIORITY,ComponentModel:a.default,ComponentView:i.default,SeriesModel:s.default,ChartView:o.default,registerComponentModel:function(e){a.default.registerClass(e)},registerComponentView:function(e){i.default.registerClass(e)},registerSeriesModel:function(e){s.default.registerClass(e)},registerChartView:function(e){o.default.registerClass(e)},registerSubTypeDefaulter:function(e,t){a.default.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Object(c.registerPainter)(e,t)}};function f(e){Object(l.isArray)(e)?Object(l.each)(e,(function(e){f(e)})):Object(l.indexOf)(d,e)>=0||(d.push(e),Object(l.isFunction)(e)&&(e={install:e}),e.install(h))}},function(e,t,n){"use strict";n.r(t),n.d(t,"getListenersCounter",(function(){return h}));n(116);var r=n(1),i=n(4),o=n(101),a=n(26);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;s(this,e),this.context=t||this,this.context.eventListeners||(this.context.eventListeners=[])}var t,n,r;return t=e,(n=[{key:"addEventListener",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.context;function s(e){n.call(this,d(a,e))}return"boolean"==typeof i||Object(o.isPassiveEventSupported)()||(i=!1),this.context.eventListeners.push({element:e,event:t,callback:n,callbackProxy:s,options:i,eventManager:this}),e.addEventListener(t,s,i),u+=1,function(){r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.context.eventListeners.length;o;)if(o-=1,(r=this.context.eventListeners[o]).event===t&&r.element===e){if(n&&n!==r.callback)continue;if(i&&r.eventManager!==this)continue;this.context.eventListeners.splice(o,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),u-=1}}},{key:"clearEvents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.context)for(var t=this.context.eventListeners.length;t;){t-=1;var n=this.context.eventListeners[t];n&&this.removeEventListener(n.element,n.event,n.callback,e)}}},{key:"clear",value:function(){this.clearEvents()}},{key:"destroy",value:function(){this.clearEvents(),this.context=null}},{key:"destroyWithOwnEventsOnly",value:function(){this.clearEvents(!0),this.context=null}},{key:"fireEvent",value:function(e,t){var n=e.document,r=e;n||(r=(n=e.ownerDocument?e.ownerDocument:e).defaultView);var i,o={bubbles:!0,cancelable:"mousemove"!==t,view:r,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};n.createEvent?(i=n.createEvent("MouseEvents")).initMouseEvent(t,o.bubbles,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget||n.body.parentNode):i=n.createEventObject(),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on".concat(t),i)}}])&&l(t.prototype,n),r&&l(t,r),e}();function d(e,t){var n,s,l,u,d;t.isTargetWebComponent=!1,t.realTarget=t.target;var h=t.stopImmediatePropagation;if(t.stopImmediatePropagation=function(){h.apply(this),Object(a.stopImmediatePropagation)(this)},!c.isHotTableEnv)return t;for(d=(t=Object(r.polymerWrap)(t)).path?t.path.length:0;d;){if(d-=1,"HOT-TABLE"===t.path[d].nodeName)n=!0;else if(n&&t.path[d].shadowRoot){u=t.path[d];break}0!==d||u||(u=t.path[d])}return u||(u=t.target),t.isTargetWebComponent=!0,Object(o.isWebComponentSupportedNatively)()?t.realTarget=t.srcElement||t.toElement:(Object(i.hasOwnProperty)(e,"hot")||e.isHotTableEnv||e.wtTable)&&(Object(i.hasOwnProperty)(e,"hot")?s=e.hot?e.hot.view.wt.wtTable.TABLE:null:e.isHotTableEnv?s=e.view.activeWt.wtTable.TABLE.parentNode.parentNode:e.wtTable&&(s=e.wtTable.TABLE.parentNode.parentNode),l=Object(r.closest)(t.target,["HOT-TABLE"],s),t.realTarget=l&&s.querySelector("HOT-TABLE")||t.target),Object.defineProperty(t,"target",{get:function(){return Object(r.polymerWrap)(u)},enumerable:!0,configurable:!0}),t}function h(){return u}t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"ITEMS",(function(){return b})),n.d(t,"predefinedItems",(function(){return w})),n.d(t,"addItem",(function(){return S}));n(56);var r,i=n(4),o=n(380),a=n(381),s=n(382),l=n(383),u=n(384),c=n(385),d=n(386),h=n(387),f=n(388),p=n(389),m=n(250),g=n(390),v=n(391);function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ALIGNMENT",(function(){return o.KEY})),n.d(t,"CLEAR_COLUMN",(function(){return a.KEY})),n.d(t,"COLUMN_LEFT",(function(){return s.KEY})),n.d(t,"COLUMN_RIGHT",(function(){return l.KEY})),n.d(t,"READ_ONLY",(function(){return u.KEY})),n.d(t,"REDO",(function(){return c.KEY})),n.d(t,"REMOVE_COLUMN",(function(){return d.KEY})),n.d(t,"REMOVE_ROW",(function(){return h.KEY})),n.d(t,"ROW_ABOVE",(function(){return f.KEY})),n.d(t,"ROW_BELOW",(function(){return p.KEY})),n.d(t,"SEPARATOR",(function(){return m.KEY})),n.d(t,"NO_ITEMS",(function(){return g.KEY})),n.d(t,"UNDO",(function(){return v.KEY}));var b=[f.KEY,p.KEY,s.KEY,l.KEY,a.KEY,h.KEY,d.KEY,v.KEY,c.KEY,u.KEY,o.KEY,m.KEY,g.KEY],_=(y(r={},m.KEY,m.default),y(r,g.KEY,g.default),y(r,f.KEY,f.default),y(r,p.KEY,p.default),y(r,s.KEY,s.default),y(r,l.KEY,l.default),y(r,a.KEY,a.default),y(r,h.KEY,h.default),y(r,d.KEY,d.default),y(r,v.KEY,v.default),y(r,c.KEY,c.default),y(r,u.KEY,u.default),y(r,o.KEY,o.default),r);function w(){var e={};return Object(i.objectEach)(_,(function(t,n){e[n]=t()})),e}function S(e,t){-1===b.indexOf(e)&&(_[e]=t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"conditions",(function(){return r})),n.d(t,"getCondition",(function(){return i})),n.d(t,"getConditionDescriptor",(function(){return o})),n.d(t,"registerCondition",(function(){return a}));n(72);var r={};function i(e,t){if(!r[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));var n=r[e],i=n.condition,o=n.descriptor,a=t;return o.inputValuesDecorator&&(a=o.inputValuesDecorator(a)),function(e){return i.apply(e.meta.instance,[].concat([e],[a]))}}function o(e){if(!r[e])throw Error('Filter condition "'.concat(e,'" does not exist.'));return r[e].descriptor}function a(e,t,n){n.key=e,r[e]={condition:t,descriptor:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"cubicAt",(function(){return h})),n.d(t,"cubicDerivativeAt",(function(){return f})),n.d(t,"cubicRootAt",(function(){return p})),n.d(t,"cubicExtrema",(function(){return m})),n.d(t,"cubicSubdivide",(function(){return g})),n.d(t,"cubicProjectPoint",(function(){return v})),n.d(t,"cubicLength",(function(){return y})),n.d(t,"quadraticAt",(function(){return b})),n.d(t,"quadraticDerivativeAt",(function(){return _})),n.d(t,"quadraticRootAt",(function(){return w})),n.d(t,"quadraticExtremum",(function(){return S})),n.d(t,"quadraticSubdivide",(function(){return O})),n.d(t,"quadraticProjectPoint",(function(){return C})),n.d(t,"quadraticLength",(function(){return x}));var r=n(21),i=Math.pow,o=Math.sqrt,a=o(3),s=Object(r.create)(),l=Object(r.create)(),u=Object(r.create)();function c(e){return e>-1e-8&&e<1e-8}function d(e){return e>1e-8||e<-1e-8}function h(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function f(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function p(e,t,n,r,s,l){var u=r+3*(t-n)-e,d=3*(n-2*t+e),h=3*(t-e),f=e-s,p=d*d-3*u*h,m=d*h-9*u*f,g=h*h-3*d*f,v=0;if(c(p)&&c(m)){if(c(d))l[0]=0;else(k=-h/d)>=0&&k<=1&&(l[v++]=k)}else{var y=m*m-4*p*g;if(c(y)){var b=m/p,_=-b/2;(k=-d/u+b)>=0&&k<=1&&(l[v++]=k),_>=0&&_<=1&&(l[v++]=_)}else if(y>0){var w=o(y),S=p*d+1.5*u*(-m+w),O=p*d+1.5*u*(-m-w);(k=(-d-((S=S<0?-i(-S,1/3):i(S,1/3))+(O=O<0?-i(-O,1/3):i(O,1/3))))/(3*u))>=0&&k<=1&&(l[v++]=k)}else{var C=(2*p*d-3*u*m)/(2*o(p*p*p)),x=Math.acos(C)/3,T=o(p),E=Math.cos(x),k=(-d-2*T*E)/(3*u),M=(_=(-d+T*(E+a*Math.sin(x)))/(3*u),(-d+T*(E-a*Math.sin(x)))/(3*u));k>=0&&k<=1&&(l[v++]=k),_>=0&&_<=1&&(l[v++]=_),M>=0&&M<=1&&(l[v++]=M)}}return v}function m(e,t,n,r,i){var a=6*n-12*t+6*e,s=9*t+3*r-3*e-9*n,l=3*t-3*e,u=0;if(c(s)){if(d(a))(f=-l/a)>=0&&f<=1&&(i[u++]=f)}else{var h=a*a-4*s*l;if(c(h))i[0]=-a/(2*s);else if(h>0){var f,p=o(h),m=(-a-p)/(2*s);(f=(-a+p)/(2*s))>=0&&f<=1&&(i[u++]=f),m>=0&&m<=1&&(i[u++]=m)}}return u}function g(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function v(e,t,n,i,a,c,d,f,p,m,g){var v,y,b,_,w,S=.005,O=1/0;s[0]=p,s[1]=m;for(var C=0;C<1;C+=.05)l[0]=h(e,n,a,d,C),l[1]=h(t,i,c,f,C),(_=Object(r.distSquare)(s,l))=0&&_=0&&f<=1&&(i[u++]=f)}else{var h=s*s-4*a*l;if(c(h))(f=-s/(2*a))>=0&&f<=1&&(i[u++]=f);else if(h>0){var f,p=o(h),m=(-s-p)/(2*a);(f=(-s+p)/(2*a))>=0&&f<=1&&(i[u++]=f),m>=0&&m<=1&&(i[u++]=m)}}return u}function S(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function O(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function C(e,t,n,i,a,c,d,h,f){var p,m=.005,g=1/0;s[0]=d,s[1]=h;for(var v=0;v<1;v+=.05){l[0]=b(e,n,a,v),l[1]=b(t,i,c,v),(S=Object(r.distSquare)(s,l))=0&&S1?"."+t[1]:"")}function u(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}n.d(t,"getTextRect",(function(){return s.getTextRect}));var c=r.normalizeCssArray,d=/([&<>"'])/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"};function f(e){return null==e?"":(e+"").replace(d,(function(e,t){return h[t]}))}function p(e,t,n){function a(e){return e&&r.trim(e)?e:"-"}function s(e){return!(null==e||isNaN(e)||!isFinite(e))}var u="time"===t,c=e instanceof Date;if(u||c){var d=u?Object(i.parseDate)(e):e;if(!isNaN(+d))return Object(o.format)(d,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===t)return r.isStringSafe(e)?a(e):r.isNumber(e)&&s(e)?e+"":"-";var h=Object(i.numericToNumber)(e);return s(h)?l(h):r.isStringSafe(e)?a(e):"boolean"==typeof e?e+"":"-"}var m=["a","b","c","d","e","f","g"],g=function(e,t){return"{"+e+(null==t?"":t)+"}"};function v(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var o=t[0].$vars||[],a=0;a':'':{renderMode:a,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===o?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function _(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=Object(i.parseDate)(t),a=n?"getUTC":"get",s=r[a+"FullYear"](),l=r[a+"Month"]()+1,u=r[a+"Date"](),c=r[a+"Hours"](),d=r[a+"Minutes"](),h=r[a+"Seconds"](),f=r[a+"Milliseconds"]();return e=e.replace("MM",Object(o.pad)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",s%100+"").replace("dd",Object(o.pad)(u,2)).replace("d",u).replace("hh",Object(o.pad)(c,2)).replace("h",c).replace("mm",Object(o.pad)(d,2)).replace("m",d).replace("ss",Object(o.pad)(h,2)).replace("s",h).replace("SSS",Object(o.pad)(f,3))}function w(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function S(e,t){return t=t||"transparent",r.isString(e)?e:r.isObject(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function O(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},function(e,t,n){"use strict";n.r(t);var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:"undefined"==typeof navigator?(i.node=!0,i.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]);i&&(n.ie=!0,n.version=i[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i),t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"warning",(function(){return l})),n.d(t,"format",(function(){return u})),n.d(t,"isEmptyValue",(function(){return c})),n.d(t,"isEmptyObject",(function(){return d})),n.d(t,"asyncMap",(function(){return f})),n.d(t,"complementError",(function(){return p})),n.d(t,"deepMerge",(function(){return m}));var r=n(338),i=n.n(r),o=n(217),a=n.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var e=arguments.length,t=Array(e),n=0;n=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),l=t[r];r1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(41),o=n(95),a=n(111),s=n(6),l=n(9),u=n(303),c=n(205),d=n(14),h=s.makeInner(),f=Object(c.default)(),p=function(){function e(){this.group=new i.default,this.uid=o.getUID("viewChart"),this.renderTask=Object(u.createTask)({plan:v,reset:y}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){Object(d.traverseElements)(this.group,e)},e.markUpdateMethod=function(e,t){h(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function m(e,t,n){e&&Object(l.isHighDownDispatcher)(e)&&("emphasis"===t?l.enterEmphasis:l.leaveEmphasis)(e,n)}function g(e,t,n){var i=s.queryDataIndex(e,t),o=t&&null!=t.highlightKey?Object(l.getHighlightDigit)(t.highlightKey):null;null!=i?Object(r.each)(s.normalizeToArray(i),(function(t){m(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){m(e,n,o)}))}function v(e){return f(e.model)}function y(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&h(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),b[l]}a.enableClassExtend(p,["dispose"]),a.enableClassManagement(p);var b={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};t.default=p},function(e,t,n){"use strict";n.r(t),n.d(t,"SERIES_UNIVERSAL_TRANSITION_PROP",(function(){return v}));var r=n(3),i=n(0),o=n(53),a=n(6),s=n(43),l=n(252),u=n(272),c=n(32),d=n(303),h=n(111),f=n(396),p=n(534),m=a.makeInner();function g(e,t){return e.getName(t)||e.getId(t)}var v="__universalTransitionEnabled",y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}var n;return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(d.createTask)({count:_,reset:w}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(m(this).sourceManager=new f.SourceManager(this)).prepareSource();var r=this.getInitialData(e,n);O(r,this),this.dataTask.context.data=r,m(this).dataBeforeProcessed=r,b(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(c.fetchLayoutMode)(this),r=n?Object(c.getLayoutParams)(e):{},o=this.subType;s.default.hasClass(o)&&(o+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),a.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Object(c.mergeLayoutParam)(e,r,n)},t.prototype.mergeOption=function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=Object(c.fetchLayoutMode)(this);n&&Object(c.mergeLayoutParam)(this.option,e,n);var r=m(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(e,t);O(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,m(this).dataBeforeProcessed=o,b(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=l.PaletteMixin.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(o)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[g(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,o=this.option,a=o.selectedMode,s=t.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s.default.registerClass(e)},t.protoInitialize=((n=t.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),t}(s.default);function b(e){var t=e.name;a.isNameSpecified(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function _(e){return e.model.getRawData().count()}function w(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),S}function S(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function O(e,t){i.each(i.concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,i.curry(C,t))}))}function C(e,t){var n=x(e);return n&&n.setOutputEnd((t||this).count()),t}function x(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.mixin(y,u.DataFormatMixin),i.mixin(y,l.PaletteMixin),Object(h.mountExtend)(y,s.default),t.default=y},function(e,t,n){"use strict";n.r(t);var r=n(359);n.d(t,"registerRootComparator",(function(){return r.registerRootComparator})),n.d(t,"getRootComparator",(function(){return r.getRootComparator})),n.d(t,"getCompareFunctionFactory",(function(){return r.getCompareFunctionFactory}));var i=n(431);n.d(t,"FIRST_AFTER_SECOND",(function(){return i.FIRST_AFTER_SECOND})),n.d(t,"FIRST_BEFORE_SECOND",(function(){return i.FIRST_BEFORE_SECOND})),n.d(t,"DO_NOT_SWAP",(function(){return i.DO_NOT_SWAP})),n.d(t,"sort",(function(){return i.sort}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getWidth",(function(){return s})),n.d(t,"innerGetBoundingRect",(function(){return l})),n.d(t,"getBoundingRect",(function(){return u})),n.d(t,"adjustTextX",(function(){return c})),n.d(t,"adjustTextY",(function(){return d})),n.d(t,"getLineHeight",(function(){return h})),n.d(t,"measureText",(function(){return f})),n.d(t,"parsePercent",(function(){return p})),n.d(t,"calculateTextPosition",(function(){return m}));var r=n(36),i=n(242),o=n(90),a={};function s(e,t){t=t||o.DEFAULT_FONT;var n=a[t];n||(n=a[t]=new i.default(500));var r=n.get(e);return null==r&&(r=o.platformApi.measureText(e,t).width,n.put(e,r)),r}function l(e,t,n,i){var o=s(e,t),a=h(t),l=c(0,o,n),u=d(0,a,i);return new r.default(l,u,o,a)}function u(e,t,n,i){var o=((e||"")+"").split("\n");if(1===o.length)return l(o[0],t,n,i);for(var a=new r.default(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function m(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=p(r[0],n.width),u+=p(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom"}return(e=e||{}).x=l,e.y=u,e.align=c,e.verticalAlign=d,e}},function(e,t,n){"use strict";n.r(t);n(56);var r=n(1),i=n(4),o=n(2),a=n(91),s=n(48),l=n(436);function u(e,t){for(var n=0;n=this.wot.getSetting("totalRows")-this.wot.getSetting("fixedRowsBottom"),l={left:this.clone.wtTable.spreader.offsetLeft,top:this.clone.wtTable.spreader.offsetTop},u={left:e.offsetLeft,top:e.offsetTop};return r?this.getRelativeCellPositionWithinWindow(o,i,u,l):this.getRelativeCellPositionWithinHolder(o,s,i,u,l)}Object(a.warn)("The provided element is not a child of the ".concat(this.type," overlay"))}},{key:"getRelativeCellPositionWithinWindow",value:function(e,t,n,r){var i=this.wot.wtTable.wtRootElement.getBoundingClientRect(),o=0,a=0;(o=t?i.left<=0?-1*i.left:0:r.left,e)?a=this.clone.wtTable.TABLE.getBoundingClientRect().top-i.top:a=r.top;return{left:n.left+o,top:n.top+a}}},{key:"getRelativeCellPositionWithinHolder",value:function(e,t,n,r,i){var o=this.clone.cloneSource.wtOverlays.leftOverlay.getScrollPosition(),a=this.clone.cloneSource.wtOverlays.topOverlay.getScrollPosition(),s=0,l=0;if(n||(s=o-i.left),t){var u=this.wot.wtTable.wtRootElement.getBoundingClientRect();l=-1*this.clone.wtTable.TABLE.getBoundingClientRect().top+u.top}else e||(l=a-i.top);return{left:r.left-s,top:r.top-l}}},{key:"makeClone",value:function(t){if(-1===e.CLONE_TYPES.indexOf(t))throw new Error('Clone type "'.concat(t,'" is not supported.'));var n=this.wot,i=n.wtTable,o=n.rootDocument,a=n.rootWindow,s=o.createElement("DIV"),u=o.createElement("TABLE");s.className="ht_clone_".concat(t," handsontable"),s.style.position="absolute",s.style.top=0,s.style.left=0,s.style.overflow="hidden",u.className=i.TABLE.className,s.appendChild(u),this.type=t,i.wtRootElement.parentNode.appendChild(s);var c=this.wot.getSetting("preventOverflow");return!0===c||"horizontal"===c&&this.type===e.CLONE_TOP||"vertical"===c&&this.type===e.CLONE_LEFT?this.mainTableScrollableElement=a:"hidden"===a.getComputedStyle(i.wtRootElement.parentNode).getPropertyValue("overflow")?this.mainTableScrollableElement=i.holder:this.mainTableScrollableElement=Object(r.getScrollableElement)(i.TABLE),new l.default({cloneSource:this.wot,cloneOverlay:this,table:u})}},{key:"refresh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.shouldBeRendered();this.clone&&(this.needFullRender||t)&&this.clone.draw(e),this.needFullRender=t}},{key:"reset",value:function(){if(this.clone){var e=this.clone.wtTable.holder,t=this.clone.wtTable.hider,n=e.style,r=t.style,i=e.parentNode.style;Object(o.arrayEach)([n,r,i],(function(e){e.width="",e.height=""}))}}},{key:"destroy",value:function(){new s.default(this.clone).destroy()}}]),e}();t.default=h},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";n.r(t);var r=n(53),i=n(111),o=n(1043),a=n(1044),s=n(525),l=n(526),u=n(0),c=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i0,N=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),B=a.calculatedLineHeight,F=0;F=0&&"right"===(I=S[D]).align;)this._placeToken(I,e,C,v,A,"right",b),x-=I.width,A-=I.width,D--;for(M+=(r-(M-g)-(y-A)-x)/2;T<=D;)I=S[T],this._placeToken(I,e,C,v,M+I.width/2,"center",b),M+=I.width,T++;v+=C}},t.prototype._placeToken=function(e,t,n,r,i,l,u){var d=t.rich[e.styleName]||{};d.text=e.text;var f=e.verticalAlign,p=r+n/2;"top"===f?p=r+e.height/2:"bottom"===f&&(p=r+n-e.height/2),!e.isLineHolder&&k(d)&&this._renderBackground(d,t,"right"===l?i-e.width:"center"===l?i-e.width/2:i,p-e.height/2,e.width,e.height);var m=!!d.backgroundColor,g=e.textPadding;g&&(i=T(i,l,g),p-=e.height/2-g[0]-e.innerHeight/2);var v=this._getOrCreateChild(o.default),y=v.createStyle();v.useStyle(y);var b=this._defaultStyle,w=!1,S=0,O=x("fill"in d?d.fill:"fill"in t?t.fill:(w=!0,b.fill)),E=C("stroke"in d?d.stroke:"stroke"in t?t.stroke:m||u||b.autoStroke&&!w?null:(S=2,b.stroke)),M=d.textShadowBlur>0||t.textShadowBlur>0;y.text=e.text,y.x=i,y.y=p,M&&(y.shadowBlur=d.textShadowBlur||t.textShadowBlur||0,y.shadowColor=d.textShadowColor||t.textShadowColor||"transparent",y.shadowOffsetX=d.textShadowOffsetX||t.textShadowOffsetX||0,y.shadowOffsetY=d.textShadowOffsetY||t.textShadowOffsetY||0),y.textAlign=l,y.textBaseline="middle",y.font=e.font||h.DEFAULT_FONT,y.opacity=Object(a.retrieve3)(d.opacity,t.opacity,1),_(y,d),E&&(y.lineWidth=Object(a.retrieve3)(d.lineWidth,t.lineWidth,S),y.lineDash=Object(a.retrieve2)(d.lineDash,t.lineDash),y.lineDashOffset=t.lineDashOffset||0,y.stroke=E),O&&(y.fill=O);var A=e.contentWidth,D=e.contentHeight;v.setBoundingRect(new c.default(Object(s.adjustTextX)(y.x,A,y.textAlign),Object(s.adjustTextY)(y.y,D,y.textBaseline),A,D))},t.prototype._renderBackground=function(e,t,n,r,i,o){var s,c,d,h=e.backgroundColor,f=e.borderWidth,p=e.borderColor,m=h&&h.image,g=h&&!m,v=e.borderRadius,y=this;if(g||e.lineHeight||f&&p){(s=this._getOrCreateChild(u.default)).useStyle(s.createStyle()),s.style.fill=null;var b=s.shape;b.x=n,b.y=r,b.width=i,b.height=o,b.r=v,s.dirtyShape()}if(g)(d=s.style).fill=h||null,d.fillOpacity=Object(a.retrieve2)(e.fillOpacity,1);else if(m){(c=this._getOrCreateChild(l.default)).onload=function(){y.dirtyStyle()};var _=c.style;_.image=h.image,_.x=n,_.y=r,_.width=i,_.height=o}f&&p&&((d=s.style).lineWidth=f,d.stroke=p,d.strokeOpacity=Object(a.retrieve2)(e.strokeOpacity,1),d.lineDash=e.borderDash,d.lineDashOffset=e.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(d.strokeFirst=!0,d.lineWidth*=2));var w=(s||c).style;w.shadowBlur=e.shadowBlur||0,w.shadowColor=e.shadowColor||"transparent",w.shadowOffsetX=e.shadowOffsetX||0,w.shadowOffsetY=e.shadowOffsetY||0,w.opacity=Object(a.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return w(e)&&(t=[e.fontStyle,e.fontWeight,b(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(a.trim)(t)||e.textFont||e.font},t}(d.default),g={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},y=["fontStyle","fontWeight","fontSize","fontFamily"];function b(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?h.DEFAULT_FONT_SIZE+"px":e+"px":e}function _(e,t){for(var n=0;n=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,i,o,a=s(this),d=c(a,0),h=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,h++,o)}return d.length=h,d}})},function(e,t,n){"use strict";n.r(t),n.d(t,"parse",(function(){return g})),n.d(t,"lift",(function(){return y})),n.d(t,"toHex",(function(){return b})),n.d(t,"fastLerp",(function(){return _})),n.d(t,"fastMapToColor",(function(){return w})),n.d(t,"lerp",(function(){return S})),n.d(t,"mapToColor",(function(){return O})),n.d(t,"modifyHSL",(function(){return C})),n.d(t,"modifyAlpha",(function(){return x})),n.d(t,"stringify",(function(){return T})),n.d(t,"lum",(function(){return E})),n.d(t,"random",(function(){return k}));var r=n(242),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return(e=Math.round(e))<0?0:e>255?255:e}function a(e){return e<0?0:e>1?1:e}function s(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function l(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){return e+(t-e)*n}function d(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var f=new r.default(20),p=null;function m(e,t){p&&h(p,t),p=f.put(e,p||t.slice())}function g(e,t){if(e){t=t||[];var n=f.get(e);if(n)return h(t,n);var r=(e+="").replace(/ /g,"").toLowerCase();if(r in i)return h(t,i[r]),m(e,t),t;var o,a=r.length;if("#"===r.charAt(0))return 4===a||5===a?(o=parseInt(r.slice(1,4),16))>=0&&o<=4095?(d(t,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===a?parseInt(r.slice(4),16)/15:1),m(e,t),t):void d(t,0,0,0,1):7===a||9===a?(o=parseInt(r.slice(1,7),16))>=0&&o<=16777215?(d(t,(16711680&o)>>16,(65280&o)>>8,255&o,9===a?parseInt(r.slice(7),16)/255:1),m(e,t),t):void d(t,0,0,0,1):void 0;var u=r.indexOf("("),c=r.indexOf(")");if(-1!==u&&c+1===a){var p=r.substr(0,u),g=r.substr(u+1,c-(u+1)).split(","),y=1;switch(p){case"rgba":if(4!==g.length)return 3===g.length?d(t,+g[0],+g[1],+g[2],1):d(t,0,0,0,1);y=l(g.pop());case"rgb":return 3!==g.length?void d(t,0,0,0,1):(d(t,s(g[0]),s(g[1]),s(g[2]),y),m(e,t),t);case"hsla":return 4!==g.length?void d(t,0,0,0,1):(g[3]=l(g[3]),v(g,t),m(e,t),t);case"hsl":return 3!==g.length?void d(t,0,0,0,1):(v(g,t),m(e,t),t);default:return}}d(t,0,0,0,1)}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=l(e[1]),i=l(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return d(t=t||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e,t){var n=g(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return T(n,4===n.length?"rgba":"rgb")}}function b(e){var t=g(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function _(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),s=Math.ceil(r),l=t[i],u=t[s],d=r-i;return n[0]=o(c(l[0],u[0],d)),n[1]=o(c(l[1],u[1],d)),n[2]=o(c(l[2],u[2],d)),n[3]=a(c(l[3],u[3],d)),n}}var w=_;function S(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),s=Math.ceil(r),l=g(t[i]),u=g(t[s]),d=r-i,h=T([o(c(l[0],u[0],d)),o(c(l[1],u[1],d)),o(c(l[2],u[2],d)),a(c(l[3],u[3],d))],"rgba");return n?{color:h,leftIndex:i,rightIndex:s,value:r}:h}}var O=S;function C(e,t,n,r){var i,o=g(e);if(e)return o=function(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+c-h:o===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}(o),null!=t&&(o[0]=(i=t,(i=Math.round(i))<0?0:i>360?360:i)),null!=n&&(o[1]=l(n)),null!=r&&(o[2]=l(r)),T(v(o),"rgba")}function x(e,t){var n=g(e);if(n&&null!=t)return n[3]=a(t),T(n,"rgba")}function T(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function E(e,t){var n=g(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function k(){return T([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91}; /*! * Programatically add the following */ for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";n.r(t),n.d(t,"createTooltipMarkup",(function(){return c})),n.d(t,"buildTooltipMarkup",(function(){return m})),n.d(t,"retrieveVisualColorForTooltipMarker",(function(){return y})),n.d(t,"getPaddingFromTooltipModel",(function(){return b})),n.d(t,"TooltipMarkupStyleCreator",(function(){return _}));var r=n(52),i=n(0),o=n(141),a=n(5);function s(e,t){var n=e.color||"#6e7079",i=e.fontSize||12,o=e.fontWeight||"400",a=e.color||"#464646",s=e.fontSize||14,l=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+Object(r.encodeHTML)(i+"")+"px;color:"+Object(r.encodeHTML)(n)+";font-weight:"+Object(r.encodeHTML)(o+""),valueStyle:"font-size:"+Object(r.encodeHTML)(s+"")+"px;color:"+Object(r.encodeHTML)(a)+";font-weight:"+Object(r.encodeHTML)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var l=[0,10,20,30],u=["","\n","\n\n","\n\n\n"];function c(e,t){return t.type=e,t}function d(e){return"section"===e.type}function h(e){return d(e)?f:p}function f(e,t,n,a){var c,f=t.noHeader,p=(c=function e(t){if(d(t)){var n=0,r=t.blocks.length,o=r>1||r>0&&!t.noHeader;return Object(i.each)(t.blocks,(function(t){var r=e(t);r>=n&&(n=r+ +(o&&(!r||d(t)&&!t.noHeader)))})),n}return 0}(t),{html:l[c],richText:u[c]}),m=[],y=t.blocks||[];Object(i.assert)(!y||Object(i.isArray)(y)),y=y||[];var b=e.orderMode;if(t.sortBlocks&&b){y=y.slice();var _={valueAsc:"asc",valueDesc:"desc"};if(Object(i.hasOwn)(_,b)){var w=new o.SortOrderComparator(_[b],null);y.sort((function(e,t){return w.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===b&&y.reverse()}Object(i.each)(y,(function(n,r){var o=t.valueFormatter,s=h(n)(o?Object(i.extend)(Object(i.extend)({},e),{valueFormatter:o}):e,n,r>0?p.html:0,a);null!=s&&m.push(s)}));var S="richText"===e.renderMode?m.join(p.richText):g(m.join(""),f?n:p.html);if(f)return S;var O=Object(r.makeValueReadable)(t.header,"ordinal",e.useUTC),C=s(a,e.renderMode).nameStyle;return"richText"===e.renderMode?v(e,O,C)+p.richText+S:g('
'+Object(r.encodeHTML)(O)+"
"+S,n)}function p(e,t,n,o){var a=e.renderMode,l=t.noName,u=t.noValue,c=!t.markerType,d=t.name,h=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(e){return e=Object(i.isArray)(e)?e:[e],Object(i.map)(e,(function(e,t){return Object(r.makeValueReadable)(e,Object(i.isArray)(y)?y[t]:y,h)}))};if(!l||!u){var p=c?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),m=l?"":Object(r.makeValueReadable)(d,"ordinal",h),y=t.valueType,b=u?[]:f(t.value),_=!c||!l,w=!c&&l,S=s(o,a),O=S.nameStyle,C=S.valueStyle;return"richText"===a?(c?"":p)+(l?"":v(e,m,O))+(u?"":function(e,t,n,r,o){var a=[o],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(i.isArray)(t)?t.join(" "):t,a)}(e,b,_,w,C)):g((c?"":p)+(l?"":function(e,t,n){return''+Object(r.encodeHTML)(e)+""}(m,!c,O))+(u?"":function(e,t,n,o){var a=n?"10px":"20px",s=t?"float:right;margin-left:"+a:"";return e=Object(i.isArray)(e)?e:[e],''+Object(i.map)(e,(function(e){return Object(r.encodeHTML)(e)})).join("  ")+""}(b,_,w,C)),n)}}function m(e,t,n,r,i,o){if(e)return h(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,o)}function g(e,t){return'
'+e+'
'}function v(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function y(e,t){var n=e.getData().getItemVisual(t,"style")[e.visualDrawType];return Object(r.convertToColorString)(n)}function b(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var _=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Object(a.getRandomIdBase)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var o="richText"===n?this._generateStyleName():null,a=Object(r.getTooltipMarker)({color:t,type:e,renderMode:n,markerId:o});return Object(i.isString)(a)?a:(this.richTextStyles[o]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(i.isArray)(t)?Object(i.each)(t,(function(e){return Object(i.extend)(n,e)})):Object(i.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"normalizeColor",(function(){return s})),n.d(t,"isAroundZero",(function(){return l})),n.d(t,"round3",(function(){return u})),n.d(t,"round4",(function(){return c})),n.d(t,"round1",(function(){return d})),n.d(t,"getMatrixStr",(function(){return h})),n.d(t,"TEXT_ALIGN_TO_ANCHOR",(function(){return f})),n.d(t,"adjustTextY",(function(){return p})),n.d(t,"hasShadow",(function(){return m})),n.d(t,"getShadowKey",(function(){return g})),n.d(t,"getClipPathsKey",(function(){return v})),n.d(t,"isImagePattern",(function(){return y})),n.d(t,"isSVGPattern",(function(){return b})),n.d(t,"isPattern",(function(){return _})),n.d(t,"isLinearGradient",(function(){return w})),n.d(t,"isRadialGradient",(function(){return S})),n.d(t,"isGradient",(function(){return O})),n.d(t,"getIdURL",(function(){return C})),n.d(t,"getPathPrecision",(function(){return x})),n.d(t,"getSRTTransformString",(function(){return T})),n.d(t,"encodeBase64",(function(){return E}));var r=n(0),i=n(73),o=n(53),a=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=Object(i.parse)(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}function l(e){return e<1e-4&&e>-1e-4}function u(e){return a(1e3*e)/1e3}function c(e){return a(1e4*e)/1e4}function d(e){return a(10*e)/10}function h(e){return"matrix("+u(e[0])+","+u(e[1])+","+u(e[2])+","+u(e[3])+","+c(e[4])+","+c(e[5])+")"}var f={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function m(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function g(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function v(e){var t=[];if(e)for(var n=0;n0&&r>0||n<0&&r<0)}function v(e){var t,n,i=e.getLabelModel().get("formatter"),o="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(n=i,function(t,r){return e.scale.getFormattedLabel(t,r,n)}):r.isString(i)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(i):r.isFunction(i)?(t=i,function(n,r){return null!=o&&(r=n.value-o),t(y(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function y(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function b(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,o,a=n.getExtent();o=n instanceof i.default?n.count():(r=n.getTicks()).length;var s,u,c,d,h,f,p,m,g=e.getLabelModel(),y=v(e),b=1;o>40&&(b=Math.ceil(o/40));for(var _=0;_e[1]&&(e[1]=r[1])}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"registerRenderer",(function(){return h})),n.d(t,"getRenderer",(function(){return v})),n.d(t,"hasRenderer",(function(){return p})),n.d(t,"getRegisteredRendererNames",(function(){return m})),n.d(t,"getRegisteredRenderers",(function(){return g}));var r=n(154),i=n(1285),o=n(1286),a=n(1287),s=n(1288),l=n(1289),u=n(1290),c=n(1291),d=Object(r.default)("renderers"),h=d.register,f=d.getItem,p=d.hasItem,m=d.getNames,g=d.getValues;function v(e){if("function"==typeof e)return e;if(!p(e))throw Error('No registered renderer found under "'.concat(e,'" name'));return f(e)}h("base",i.default),h("autocomplete",o.default),h("checkbox",a.default),h("html",s.default),h("numeric",l.default),h("password",u.default),h("text",c.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"clientToLocal",(function(){return u})),n.d(t,"getNativeEvent",(function(){return d})),n.d(t,"normalizeEvent",(function(){return h})),n.d(t,"addEventListener",(function(){return f})),n.d(t,"removeEventListener",(function(){return p})),n.d(t,"stop",(function(){return m})),n.d(t,"isMiddleOrRightButtonOnMouseUpDown",(function(){return g}));var r=n(123);n.d(t,"Dispatcher",(function(){return r.default}));var i=n(53),o=n(446),a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[],l=i.default.browser.firefox&&+i.default.browser.version.split(".")[0]<39;function u(e,t,n,r){return n=n||{},r?c(e,t,n):l&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):c(e,t,n),n}function c(e,t,n){if(i.default.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(Object(o.isCanvasEl)(e)){var l=e.getBoundingClientRect();return n.zrX=r-l.left,void(n.zrY=a-l.top)}if(Object(o.transformCoordWithViewport)(s,e,r,a))return n.zrX=s[0],void(n.zrY=s[1])}n.zrX=n.zrY=0}function d(e){return e||window.event}function h(e,t,n){if(null!=(t=d(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];i&&u(e,i,t,n)}else{u(e,t,t,n);var o=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;return 3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&a.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function f(e,t,n,r){e.addEventListener(t,n,r)}function p(e,t,n,r){e.removeEventListener(t,n,r)}var m=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function g(e){return 2===e.which||3===e.which}},function(e,t,n){"use strict";n.r(t),n.d(t,"SVGNS",(function(){return i})),n.d(t,"XLINKNS",(function(){return o})),n.d(t,"XMLNS",(function(){return a})),n.d(t,"XML_NAMESPACE",(function(){return s})),n.d(t,"createElement",(function(){return l})),n.d(t,"createVNode",(function(){return u})),n.d(t,"vNodeToString",(function(){return c})),n.d(t,"getCssString",(function(){return d})),n.d(t,"createBrushScope",(function(){return h})),n.d(t,"createSVGVNode",(function(){return f}));var r=n(0),i="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xlink",a="http://www.w3.org/2000/xmlns/",s="http://www.w3.org/XML/1998/namespace";function l(e){return document.createElementNS(i,e)}function u(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function c(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var i=t.children,o=t.tag;return function(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}(o,t.attrs)+(t.text||"")+(i?""+n+Object(r.map)(i,(function(t){return e(t)})).join(n)+n:"")+("")}(e)}function d(e,t,n){var i=(n=n||{}).newline?"\n":"",o=" {"+i,a=i+"}",s=Object(r.map)(Object(r.keys)(e),(function(t){return t+o+Object(r.map)(Object(r.keys)(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(i)+a})).join(i),l=Object(r.map)(Object(r.keys)(t),(function(e){return"@keyframes "+e+o+Object(r.map)(Object(r.keys)(t[e]),(function(n){return n+o+Object(r.map)(Object(r.keys)(t[e][n]),(function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(i)+a})).join(i)+a})).join(i);return s||l?[""].join(i):""}function h(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function f(e,t,n,r){return u("svg","root",{width:e,height:t,xmlns:i,"xmlns:xlink":o,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}},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){"use strict";n.r(t),n.d(t,"isFunction",(function(){return i})),n.d(t,"throttle",(function(){return o})),n.d(t,"throttleAfterHits",(function(){return a})),n.d(t,"debounce",(function(){return s})),n.d(t,"pipe",(function(){return l})),n.d(t,"partial",(function(){return u})),n.d(t,"curry",(function(){return c})),n.d(t,"curryRight",(function(){return d}));n(72),n(497),n(104),n(122);var r=n(2);function i(e){return"function"==typeof e}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=0,r={lastCallThrottled:!0},i=null;function o(){for(var o=this,a=arguments.length,s=new Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=o(e,t),i=n;function a(){i=n}function s(){for(var t=arguments.length,n=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:200,r=null;function i(){for(var i=this,o=arguments.length,a=new Array(o),s=0;s1?t-1:0),r=1;r=t?e.apply(this,s):n(s)}}([])}function d(e){var t=e.length;return function n(r){return function(){for(var i=arguments.length,o=new Array(i),a=0;a=t?e.apply(this,s):n(s)}}([])}},function(e,t,n){var r=n(71),i=n(1655);r({target:"Array",stat:!0,forced:!n(943)((function(e){Array.from(e)}))},{from:i})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_COMMON_STYLE",(function(){return u})),n.d(t,"DEFAULT_COMMON_ANIMATION_PROPS",(function(){return c}));var r=n(3),i=n(524),o=n(36),a=n(0),s=n(93),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var d=["z","z2","invisible"],h=["invisible"],f=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.__extends)(t,e),t.prototype._init=function(t){for(var n=Object(a.keys)(t),r=0;r=0)d=c*e.length;else for(var h=0;h=2&&"="===e.charAt(0)}function i(e){return"string"==typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}function o(e){return i(e)?e.substr(1):e}function a(e){var t=/(\\"|"(?:\\"|[^"])*"|(\+))|(\\'|'(?:\\'|[^'])*'|(\+))/g,n=e.match(t)||[],r=-1;return e.toUpperCase().replace(t,(function(){return n[r+=1]}))}function s(e,t){return function(n){return{row:"row"===e?t:n.row,column:"column"===e?t:n.column}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"REDRAW_BIT",(function(){return r})),n.d(t,"STYLE_CHANGED_BIT",(function(){return i})),n.d(t,"SHAPE_CHANGED_BIT",(function(){return o}));var r=1,i=2,o=4},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";n.r(t),n.d(t,"getUID",(function(){return a})),n.d(t,"enableSubTypeDefaulter",(function(){return s})),n.d(t,"enableTopologicalTravel",(function(){return l})),n.d(t,"inheritDefaultOption",(function(){return u}));var r=n(0),i=n(111),o=Math.round(10*Math.random());function a(e){return[e||"",o++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Object(i.parseClassType)(e);t[r.main]=n},e.determineSubType=function(n,r){var o=r.type;if(!o){var a=Object(i.parseClassType)(n).main;e.hasSubTypes(n)&&t[a]&&(o=t[a](r))}return o}}function l(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,i,o,a){if(e.length){var s=function(e){var i={},o=[];return r.each(e,(function(a){var s=n(i,a),l=function(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}(s.originalDeps=t(a),e);s.entryCount=l.length,0===s.entryCount&&o.push(a),r.each(l,(function(e){r.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var t=n(i,e);r.indexOf(t.successor,e)<0&&t.successor.push(a)}))})),{graph:i,noEntryList:o}}(i),l=s.graph,u=s.noEntryList,c={};for(r.each(e,(function(e){c[e]=!0}));u.length;){var d=u.pop(),h=l[d],f=!!c[d];f&&(o.call(a,d,h.originalDeps.slice()),delete c[d]),r.each(h.successor,f?m:p)}r.each(c,(function(){throw new Error("")}))}function p(e){l[e].entryCount--,0===l[e].entryCount&&u.push(e)}function m(e){c[e]=!0,p(e)}}}function u(e,t){return r.merge(r.merge({},e,!0),t,!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"ToolboxFeature",(function(){return r})),n.d(t,"registerFeature",(function(){return o})),n.d(t,"getFeature",(function(){return a}));var r=function(){},i={};function o(e,t){i[e]=t}function a(e){return i[e]}},function(e,t,n){"use strict";n.r(t),n.d(t,"TYPE_NUMERIC",(function(){return j})),n.d(t,"TYPE_TEXT",(function(){return P})),n.d(t,"TYPE_DATE",(function(){return N})),n.d(t,"TYPES",(function(){return B})),n.d(t,"default",(function(){return F}));var r=n(4),i=n(2),o=n(49),a=n(50),s=n(462);n.d(t,"CONDITION_NONE",(function(){return s.CONDITION_NAME}));var l=n(332);n.d(t,"CONDITION_EMPTY",(function(){return l.CONDITION_NAME}));var u=n(463);n.d(t,"CONDITION_NOT_EMPTY",(function(){return u.CONDITION_NAME}));var c=n(333);n.d(t,"CONDITION_EQUAL",(function(){return c.CONDITION_NAME}));var d=n(464);n.d(t,"CONDITION_NOT_EQUAL",(function(){return d.CONDITION_NAME}));var h=n(685);n.d(t,"CONDITION_GREATER_THAN",(function(){return h.CONDITION_NAME}));var f=n(686);n.d(t,"CONDITION_GREATER_THAN_OR_EQUAL",(function(){return f.CONDITION_NAME}));var p=n(687);n.d(t,"CONDITION_LESS_THAN",(function(){return p.CONDITION_NAME}));var m=n(688);n.d(t,"CONDITION_LESS_THAN_OR_EQUAL",(function(){return m.CONDITION_NAME}));var g=n(393);n.d(t,"CONDITION_BETWEEN",(function(){return g.CONDITION_NAME}));var v=n(689);n.d(t,"CONDITION_NOT_BETWEEN",(function(){return v.CONDITION_NAME}));var y=n(690);n.d(t,"CONDITION_BEGINS_WITH",(function(){return y.CONDITION_NAME}));var b=n(691);n.d(t,"CONDITION_ENDS_WITH",(function(){return b.CONDITION_NAME}));var _=n(444);n.d(t,"CONDITION_CONTAINS",(function(){return _.CONDITION_NAME}));var w=n(692);n.d(t,"CONDITION_NOT_CONTAINS",(function(){return w.CONDITION_NAME}));var S=n(443);n.d(t,"CONDITION_DATE_BEFORE",(function(){return S.CONDITION_NAME}));var O=n(442);n.d(t,"CONDITION_DATE_AFTER",(function(){return O.CONDITION_NAME}));var C=n(693);n.d(t,"CONDITION_TOMORROW",(function(){return C.CONDITION_NAME}));var x=n(694);n.d(t,"CONDITION_TODAY",(function(){return x.CONDITION_NAME}));var T=n(695);n.d(t,"CONDITION_YESTERDAY",(function(){return T.CONDITION_NAME}));var E=n(1004);n.d(t,"CONDITION_BY_VALUE",(function(){return E.CONDITION_NAME}));var k=n(1005);n.d(t,"CONDITION_TRUE",(function(){return k.CONDITION_NAME}));var M=n(1006);n.d(t,"CONDITION_FALSE",(function(){return M.CONDITION_NAME}));var A=n(280);n.d(t,"OPERATION_AND",(function(){return A.OPERATION_ID}));var D=n(445);n.d(t,"OPERATION_OR",(function(){return D.OPERATION_ID}));var I,R=n(522);function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"OPERATION_OR_THEN_VARIABLE",(function(){return R.OPERATION_ID}));var j="numeric",P="text",N="date",B=(L(I={},j,[s.CONDITION_NAME,o.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,o.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,o.SEPARATOR,h.CONDITION_NAME,f.CONDITION_NAME,p.CONDITION_NAME,m.CONDITION_NAME,g.CONDITION_NAME,v.CONDITION_NAME]),L(I,P,[s.CONDITION_NAME,o.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,o.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,o.SEPARATOR,y.CONDITION_NAME,b.CONDITION_NAME,o.SEPARATOR,_.CONDITION_NAME,w.CONDITION_NAME]),L(I,N,[s.CONDITION_NAME,o.SEPARATOR,l.CONDITION_NAME,u.CONDITION_NAME,o.SEPARATOR,c.CONDITION_NAME,d.CONDITION_NAME,o.SEPARATOR,S.CONDITION_NAME,O.CONDITION_NAME,g.CONDITION_NAME,o.SEPARATOR,C.CONDITION_NAME,x.CONDITION_NAME,T.CONDITION_NAME]),I);function F(e){var t=[],n=e;return B[n]||(n=P),Object(i.arrayEach)(B[n],(function(e){var n;n=e===o.SEPARATOR?{name:o.SEPARATOR}:Object(r.clone)(Object(a.getConditionDescriptor)(e)),t.push(n)})),t}},function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_IMAGE_STYLE",(function(){return s})),n.d(t,"DEFAULT_IMAGE_ANIMATION_PROPS",(function(){return l}));var r=n(3),i=n(86),o=n(36),a=n(0),s=Object(a.defaults)({x:0,y:0},i.DEFAULT_COMMON_STYLE),l={style:Object(a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.DEFAULT_COMMON_ANIMATION_PROPS.style)};var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.createStyle=function(e){return Object(a.createObject)(s,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,i=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!i)return 0;var o="width"===e?"height":"width",a=t[o];return null==a?i[e]:i[e]/i[o]*a},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return l},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new o.default(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(i.default);u.prototype.type="image",t.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"RegisteredEditor",(function(){return S})),n.d(t,"_getEditorInstance",(function(){return O})),n.d(t,"registerEditor",(function(){return x})),n.d(t,"getEditor",(function(){return C})),n.d(t,"getEditorInstance",(function(){return O})),n.d(t,"hasEditor",(function(){return b})),n.d(t,"getRegisteredEditorNames",(function(){return _})),n.d(t,"getRegisteredEditors",(function(){return w}));n(15),n(12),n(16),n(88),n(17);var r=n(154),i=n(39),o=n(174),a=n(565),s=n(1279),l=n(1280),u=n(1281),c=n(566),d=n(1282),h=n(1283),f=n(1284),p=n(249),m=new WeakMap,g=Object(r.default)("editors"),v=g.register,y=g.getItem,b=g.hasItem,_=g.getNames,w=g.getValues;function S(e){var t={},n=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new n(e)),t[e.guid]},i.default.getSingleton().add("afterDestroy",(function(){t[this.guid]=null}))}function O(e,t){var n;if("function"==typeof e)m.get(e)||x(null,e),n=m.get(e);else{if("string"!=typeof e)throw Error('Only strings and functions can be passed as "editor" parameter');n=y(e)}if(!n)throw Error('No editor registered under name "'.concat(e,'"'));return n.getInstance(t)}function C(e){if(!b(e))throw Error('No registered editor found under "'.concat(e,'" name'));return y(e).getConstructor()}function x(e,t){var n=new S(t);"string"==typeof e&&v(e,n),m.set(t,n)}x("base",o.default),x("autocomplete",a.default),x("checkbox",s.default),x("date",l.default),x("dropdown",u.default),x("handsontable",c.default),x("numeric",d.default),x("password",h.default),x("select",f.default),x("text",p.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"toSingleLine",(function(){return i}));n(89),n(148),n(494);var r=n(2);function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;it
t";var n=document.createElement("CAPTION");n.innerHTML="c
c
c
c",n.style.padding="0",n.style.margin="0",e.insertBefore(n,t),document.body.appendChild(e),i=e.offsetHeight<2*e.lastChild.offsetHeight,document.body.removeChild(e)}(),i}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o||(o="object"===("undefined"==typeof Intl?"undefined":r(Intl))?new Intl.Collator(e,t).compare:"function"==typeof String.prototype.localeCompare?function(e,t){return"".concat(e).localeCompare(t)}:function(e,t){return e===t?0:e>t?-1:1})}function w(){if(void 0!==a)return a;try{var e={get passive(){a=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){a=!1}return a}u||(u=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-s)),r=window.setTimeout((function(){e(t+n)}),n);return s=t+n,r}),c||(c=function(e){clearTimeout(e)})},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=e.getSetting("totalRows")||this.col>=e.getSetting("totalColumns"))}},{key:"isEqual",value:function(e){return e===this||this.row===e.row&&this.col===e.col}},{key:"isSouthEastOf",value:function(e){return this.row>=e.row&&this.col>=e.col}},{key:"isNorthWestOf",value:function(e){return this.row<=e.row&&this.col<=e.col}},{key:"isSouthWestOf",value:function(e){return this.row>=e.row&&this.col<=e.col}},{key:"isNorthEastOf",value:function(e){return this.row<=e.row&&this.col>=e.col}},{key:"toObject",value:function(){return{row:this.row,col:this.col}}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"DEC_LENGTH",(function(){return r})),n.d(t,"WEEK_LENGTH",(function(){return i})),n.d(t,"getMixedMonthObject",(function(){return o})),n.d(t,"getMixedMonthName",(function(){return a})),n.d(t,"getShorthand",(function(){return s})),n.d(t,"getStartDate",(function(){return l})),n.d(t,"getEndDate",(function(){return u})),n.d(t,"getAdditionalData",(function(){return c})),n.d(t,"setStartDate",(function(){return d})),n.d(t,"setEndDate",(function(){return h})),n.d(t,"parseDate",(function(){return f})),n.d(t,"getDateYear",(function(){return p}));n(72),n(187),n(12),n(30);var r=31,i=7;function o(e,t){return{name:e,days:i,daysBeforeFullWeeks:0,daysAfterFullWeeks:0,fullWeeks:1,index:t}}function a(e,t){var n=s(t[e].name),r=e>0?s(t[e-1].name):null,i=s(t[0].name),o=s(t[t.length-1].name);return e>0?"".concat(r,"/").concat(n):e===t.length-1?"".concat(n,"/").concat(i):"".concat(o,"/").concat(n)}function s(e){return e.substring(0,3)}function l(e){return f(Array.isArray(e)?e[1]:e.startDate)}function u(e){return f(Array.isArray(e)?e[2]:e.endDate)}function c(e){return Array.isArray(e)?e[3]:e.additionalData}function d(e,t){Array.isArray(e)?e[1]=t:e.startDate=t}function h(e,t){Array.isArray(e)?e[2]=t:e.endDate=t}function f(e){var t=e;return null===t?null:t instanceof Date||"Invalid Date"!==(t=new Date(t)).toString()?t:null}function p(e){var t=f(e);return t?t.getFullYear():null}},function(e,t,n){"use strict";var r=n(71),i=n(129),o=n(425),a=n(485),s=n(160),l=n(203),u=n(426),c=n(126),d=n(427),h=n(184),f=d("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),m=c("species"),g=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!f||!p},{slice:function(e,t){var n,r,c,d=l(this),h=s(d.length),f=a(e,h),p=a(void 0===t?h:t,h);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,f,p);for(r=new(void 0===n?Array:n)(v(p-f,0)),c=0;f=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(n.getSource().sourceFormat===g.SOURCE_FORMAT_ORIGINAL&&!n.pure)for(var a=[],s=e;s0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),c.isArray(i)?i=i.slice():S(i)&&(i=c.extend({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,S(t)?c.extend(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){S(e)?c.extend(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?c.extend(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Object(y.setCommonECData)(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){c.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:O(this.dimensions,this._getDimInfo,this),this.hostModel)),s(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(c.slice(arguments)))})},e.internalField=(r=function(e){var t=e._invertedIndicesMap;c.each(t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new C(o.categories.length);for(var s=0;s1&&(l+="__ec__"+c),r[t]=l}})),e}();t.default=E},function(e,t,n){"use strict";n.r(t),n.d(t,"setBrowserMeta",(function(){return s})),n.d(t,"setPlatformMeta",(function(){return l})),n.d(t,"isChrome",(function(){return u})),n.d(t,"isEdge",(function(){return c})),n.d(t,"isIE",(function(){return d})),n.d(t,"isIE8",(function(){return h})),n.d(t,"isIE9",(function(){return f})),n.d(t,"isMSBrowser",(function(){return p})),n.d(t,"isMobileBrowser",(function(){return m})),n.d(t,"isSafari",(function(){return g})),n.d(t,"isFirefox",(function(){return v})),n.d(t,"isWindowsOS",(function(){return y})),n.d(t,"isMacOS",(function(){return b})),n.d(t,"isLinuxOS",(function(){return _}));var r=n(4),i=function(e){var t={value:!1,test:function(n,r){t.value=e(n,r)}};return t},o={chrome:i((function(e,t){return/Chrome/.test(e)&&/Google/.test(t)})),edge:i((function(e){return/Edge/.test(e)})),firefox:i((function(e){return/Firefox/.test(e)})),ie:i((function(e){return/Trident/.test(e)})),ie8:i((function(){return!document.createTextNode("test").textContent})),ie9:i((function(){return!!document.documentMode})),mobile:i((function(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)})),safari:i((function(e,t){return/Safari/.test(e)&&/Apple Computer/.test(t)}))},a={mac:i((function(e){return/^Mac/.test(e)})),win:i((function(e){return/^Win/.test(e)})),linux:i((function(e){return/^Linux/.test(e)}))};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.userAgent,n=void 0===t?navigator.userAgent:t,i=e.vendor,a=void 0===i?navigator.vendor:i;Object(r.objectEach)(o,(function(e){(0,e.test)(n,a)}))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.platform,n=void 0===t?navigator.platform:t;Object(r.objectEach)(a,(function(e){(0,e.test)(n)}))}function u(){return o.chrome.value}function c(){return o.edge.value}function d(){return o.ie.value}function h(){return o.ie8.value}function f(){return o.ie9.value}function p(){return o.ie.value||o.edge.value}function m(){return o.mobile.value}function g(){return o.safari.value}function v(){return o.firefox.value}function y(){return a.win.value}function b(){return a.mac.value}function _(){return a.linux.value}s(),l()},function(e,t,n){"use strict";n.r(t),n.d(t,"toUpperCaseFirst",(function(){return i})),n.d(t,"equalsIgnoreCase",(function(){return o})),n.d(t,"randomString",(function(){return a})),n.d(t,"isPercentValue",(function(){return s})),n.d(t,"substitute",(function(){return l})),n.d(t,"stripTags",(function(){return c}));n(56),n(12),n(89),n(30),n(148);var r=n(25);function i(e){return e[0].toUpperCase()+e.substr(1)}function o(){for(var e=[],t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return"".concat(e).replace(/(?:\\)?\[([^[\]]+)]/g,(function(e,n){return"\\"===e.charAt(0)?e.substr(1,e.length-1):void 0===t[n]?"":t[n]}))}var u=/<\/?\w+\/?>|<\w+[\s|/][^>]*>/gi;function c(e){return"".concat(e).replace(u,"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"isValueNice",(function(){return i})),n.d(t,"isIntervalOrLogScale",(function(){return o})),n.d(t,"intervalScaleNiceTicks",(function(){return a})),n.d(t,"increaseInterval",(function(){return s})),n.d(t,"getIntervalPrecision",(function(){return l})),n.d(t,"fixExtent",(function(){return c})),n.d(t,"contain",(function(){return d})),n.d(t,"normalize",(function(){return h})),n.d(t,"scale",(function(){return f}));var r=n(5);function i(e){var t=Math.pow(10,Object(r.quantityExponent)(Math.abs(e))),n=Math.abs(e/t);return 0===n||1===n||2===n||3===n||5===n}function o(e){return"interval"===e.type||"log"===e.type}function a(e,t,n,i){var o={},a=e[1]-e[0],s=o.interval=Object(r.nice)(a/t,!0);null!=n&&si&&(s=o.interval=i);var u=o.intervalPrecision=l(s);return c(o.niceTickExtent=[Object(r.round)(Math.ceil(e[0]/s)*s,u),Object(r.round)(Math.floor(e[1]/s)*s,u)],e),o}function s(e){var t=Math.pow(10,Object(r.quantityExponent)(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Object(r.round)(n*t)}function l(e){return Object(r.getPrecision)(e)+2}function u(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function c(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),u(e,0,t),u(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function d(e,t){return e>=t[0]&&e<=t[1]}function h(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function f(e,t){return e*(t[1]-t[0])+t[0]}},function(e,t,n){"use strict";var r=n(71),i=n(636).includes,o=n(420);r({target:"Array",proto:!0,forced:!n(184)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(4),o={_localHooks:Object.create(null),addLocalHook:function(e,t){return this._localHooks[e]||(this._localHooks[e]=[]),this._localHooks[e].push(t),this},runLocalHooks:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o5e-5||e<-5e-5}var s=[],l=[],u=r.create(),c=Math.abs,d=function(){function e(){}var t;return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||r.create(),t?this.getLocalTransform(n):o(n),e&&(t?r.mul(n,e,n):r.copy(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&o(n)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(s);var n=s[0]<0?-1:1,i=s[1]<0?-1:1,o=((s[0]-n)*t+n)/s[0]||0,a=((s[1]-i)*t+i)/s[1]||0;e[0]*=o,e[1]*=o,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(r.mul(l,e.invTransform,t),t=l);var n=this.originX,i=this.originY;(n||i)&&(u[4]=n,u[5]=i,r.mul(l,t,u),l[4]-=n,l[5]-=i,t=l),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&c(e[0]-1)>1e-10&&c(e[3]-1)>1e-10?Math.sqrt(c(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){f(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,i=e.originY||0,o=e.scaleX,a=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,c=e.x,d=e.y,h=e.skewX?Math.tan(e.skewX):0,f=e.skewY?Math.tan(-e.skewY):0;if(n||i||s||l){var p=n+s,m=i+l;t[4]=-p*o-h*m*a,t[5]=-m*a-f*p*o}else t[4]=t[5]=0;return t[0]=o,t[3]=a,t[1]=f*o,t[2]=h*a,u&&r.rotate(t,t,u),t[4]+=n+c,t[5]+=i+d,t},e.initDefaultProps=((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,void(t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0)),e}(),h=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function f(e,t){for(var n=0;n'.concat(String.fromCharCode(10003),"").concat(e)}},function(e,t,n){var r=n(410)("wks"),i=n(314),o=n(82).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){var r=n(223),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(71),i=n(485),o=n(293),a=n(160),s=n(183),l=n(648),u=n(426),c=n(427),d=n(184),h=c("splice"),f=d("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!h||!f},{splice:function(e,t){var n,r,c,d,h,f,g=s(this),v=a(g.length),y=i(e,v),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=v-y):(n=b-2,r=m(p(o(t),0),v-y)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,r),d=0;dv-r+n;d--)delete g[d-1]}else if(n>r)for(d=v-r;d>y;d--)f=d+n-1,(h=d+r-1)in g?g[f]=g[h]:delete g[f];for(d=0;d0}},{key:"hasPrecedent",value:function(e){return Object(i.arrayFilter)(this.precedents,(function(t){return t.isEqual(e)})).length>0}}]),t}(o.default);t.default=f},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return U})),n.d(t,"dependencies",(function(){return $})),n.d(t,"PRIORITY",(function(){return G})),n.d(t,"init",(function(){return je})),n.d(t,"connect",(function(){return Pe})),n.d(t,"disConnect",(function(){return Ne})),n.d(t,"disconnect",(function(){return Be})),n.d(t,"dispose",(function(){return Fe})),n.d(t,"getInstanceByDom",(function(){return He})),n.d(t,"getInstanceById",(function(){return Ve})),n.d(t,"registerTheme",(function(){return Ye})),n.d(t,"registerPreprocessor",(function(){return We})),n.d(t,"registerProcessor",(function(){return ze})),n.d(t,"registerPostInit",(function(){return Ue})),n.d(t,"registerPostUpdate",(function(){return $e})),n.d(t,"registerUpdateLifecycle",(function(){return Ge})),n.d(t,"registerAction",(function(){return qe})),n.d(t,"registerCoordinateSystem",(function(){return Xe})),n.d(t,"getCoordinateSystemDimensions",(function(){return Ke})),n.d(t,"registerLayout",(function(){return Ze})),n.d(t,"registerVisual",(function(){return Je})),n.d(t,"registerLoading",(function(){return tt})),n.d(t,"setCanvasCreator",(function(){return nt})),n.d(t,"registerMap",(function(){return rt})),n.d(t,"getMap",(function(){return it})),n.d(t,"registerTransform",(function(){return ot})),n.d(t,"dataTool",(function(){return at}));var r=n(3),i=n(327),o=n(0),a=n(53),s=n(395),l=n(123),u=n(528),c=n(530),d=n(226),h=n(1051),f=n(697),p=n(1056),m=n(58),g=n(67),v=n(57),y=n(70),b=n(98),_=n(23),w=n(37),S=n(28),O=n(9),C=n(6),x=n(124),T=n(581),E=n(1057),k=n(699),M=n(1058),A=n(1059),D=n(111),I=n(1035),R=n(701),L=n(162),j=n(38),P=n(364),N=n(533),B=n(211),F=n(281),H=n(1054),V=n(218),Y=n(90),W=n(449);n.d(t,"registerLocale",(function(){return B.registerLocale}));var z="undefined"!=typeof window,U="5.3.2",$={zrender:"5.3.1"},G={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},q="__pendingUpdate",X=/^[a-zA-Z0-9_]+$/;function K(e){return function(){for(var t=[],n=0;n0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this.__flagInMainProcess)if(this._disposed)Se(this.id);else{var r,i,a;if(Object(o.isObject)(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this.__flagInMainProcess=!0,!this._model||t){var s=new h.default(this._api),l=this._theme,c=this._model=new u.default;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:i},Te);var d={seriesTransition:a,optionChanged:!0};if(n)this[q]={silent:r,updateParams:d},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{Q(this),ne.update.call(this,null,d)}catch(e){throw this[q]=null,this.__flagInMainProcess=!1,e}this._ssr||this._zr.flush(),this[q]=null,this.__flagInMainProcess=!1,ae.call(this,r),se.call(this,r)}}},t.prototype.setTheme=function(){Object(j.deprecateLog)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||z&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(a.default.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(o.each)(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],i=this;Object(o.each)(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(o.each)(r,(function(e){e.group.ignore=!1})),a}Se(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max;if(De[n]){var s=1/0,l=1/0,u=-1/0,c=-1/0,d=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(o.each)(Ae,(function(i,h){if(i.group===n){var f=t?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(Object(o.clone)(e)),p=i.getDom().getBoundingClientRect();s=r(p.left,s),l=r(p.top,l),u=a(p.right,u),c=a(p.bottom,c),d.push({dom:f,left:p.left,top:p.top})}}));var f=(u*=h)-(s*=h),p=(c*=h)-(l*=h),m=Y.platformApi.createCanvas(),g=i.init(m,{renderer:t?"svg":"canvas"});if(g.resize({width:f,height:p}),t){var v="";return Object(o.each)(d,(function(e){var t=e.left-s,n=e.top-l;v+=''+e.dom+""})),g.painter.getSvgRoot().innerHTML=v,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return e.connectedBackgroundColor&&g.add(new y.default({shape:{x:0,y:0,width:f,height:p},style:{fill:e.connectedBackgroundColor}})),Object(o.each)(d,(function(e){var t=new b.default({style:{x:e.left*h-s,y:e.top*h-l,image:e.dom}});g.add(t)})),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Se(this.id)},t.prototype.convertToPixel=function(e,t){return re(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return re(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=C.parseFinder(r,e);return Object(o.each)(i,(function(e,r){r.indexOf("Models")>=0&&Object(o.each)(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0}),this)}),this),!!n}Se(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=C.parseFinder(n,e,{defaultMainType:"series"});var i=r.seriesModel.getData(),o=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?i.indexOfRawIndex(r.dataIndex):null;return null!=o?Object(L.getItemVisualFromData)(i,o,t):Object(L.getVisualFromData)(i,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(o.each)(we,(function(t){var n=function(n){var r,i=e.getModel(),a=n.target;if("globalout"===t?r={}:a&&Object(F.findEventDispatcher)(a,(function(e){var t=Object(S.getECData)(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return r=Object(o.extend)({},t.eventData),!0}),!0),r){var s=r.componentType,l=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=r.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&e["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:u,view:c},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),Object(o.each)(Ce,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),Object(o.each)(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),Object(P.handleLegacySelectEvents)(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Se(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Se(this.id);else{this._disposed=!0,this.getDom()&&C.setAttribute(this.getDom(),Le,"");var e=this._api,t=this._model;Object(o.each)(this._componentsViews,(function(n){n.dispose(t,e)})),Object(o.each)(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Ae[this.id]}},t.prototype.resize=function(e){if(!this.__flagInMainProcess)if(this._disposed)Se(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[q]&&(null==r&&(r=this[q].silent),n=!0,this[q]=null),this.__flagInMainProcess=!0;try{n&&Q(this),ne.update.call(this,{type:"resize",animation:Object(o.extend)({duration:0},e&&e.animation)})}catch(e){throw this.__flagInMainProcess=!1,e}this.__flagInMainProcess=!1,ae.call(this,r),se.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Se(this.id);else if(Object(o.isObject)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Me[e]){var n=Me[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Se(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(o.extend)({},e);return t.type=Ce[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Se(this.id);else if(Object(o.isObject)(t)||(t={silent:!!t}),Oe[e.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(e);else{var n=t.silent;oe.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&a.default.browser.weChat&&this._throttledZrFlush(),ae.call(this,n),se.call(this,n)}},t.prototype.updateLabelLayout=function(){V.default.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Se(this.id);else{var t=e.seriesIndex;0,this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){for(var t=[],n=e.currentStates,r=0;r0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(_.isElementRemoved(e))return;if(e instanceof w.default&&Object(O.savePathStates)(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&t(e)}}))}Q=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),ee(e,!0),ee(e,!1),t.plan()},ee=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;lt.get("hoverLayerThreshold")&&!a.default.node&&!a.default.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}(e,t),V.default.trigger("series:afterupdate",t,r,u)},me=function(e){e.__needsUpdateStatus=!0,e.getZr().wakeUp()},ge=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){_.isElementRemoved(e)||t(e)})),e.__needsUpdateStatus=!1)},fe=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){Object(O.enterEmphasis)(t,n),me(e)},n.prototype.leaveEmphasis=function(t,n){Object(O.leaveEmphasis)(t,n),me(e)},n.prototype.enterBlur=function(t){Object(O.enterBlur)(t),me(e)},n.prototype.leaveBlur=function(t){Object(O.leaveBlur)(t),me(e)},n.prototype.enterSelect=function(t){Object(O.enterSelect)(t),me(e)},n.prototype.leaveSelect=function(t){Object(O.leaveSelect)(t),me(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(c.default))(e)},pe=function(e){function t(e,t){for(var n=0;n=0)){Qe.push(n);var a=k.default.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function tt(e,t){Me[e]=t}function nt(e){Object(Y.setPlatformAPI)({createCanvas:e})}function rt(e,t,n){var r=Object(W.getImpl)("registerMap");r&&r(e,t,n)}function it(e){var t=Object(W.getImpl)("getMap");return t&&t(e)}var ot=N.registerExternalTransform;Je(2e3,T.seriesStyleTask),Je(4500,T.dataStyleTask),Je(4500,T.dataColorPaletteTask),Je(2e3,R.seriesSymbolTask),Je(4500,R.dataSymbolTask),Je(7e3,H.default),We(f.default),ze(900,p.default),tt("default",E.default),qe({type:O.HIGHLIGHT_ACTION_TYPE,event:O.HIGHLIGHT_ACTION_TYPE,update:O.HIGHLIGHT_ACTION_TYPE},o.noop),qe({type:O.DOWNPLAY_ACTION_TYPE,event:O.DOWNPLAY_ACTION_TYPE,update:O.DOWNPLAY_ACTION_TYPE},o.noop),qe({type:O.SELECT_ACTION_TYPE,event:O.SELECT_ACTION_TYPE,update:O.SELECT_ACTION_TYPE},o.noop),qe({type:O.UNSELECT_ACTION_TYPE,event:O.UNSELECT_ACTION_TYPE,update:O.UNSELECT_ACTION_TYPE},o.noop),qe({type:O.TOGGLE_SELECT_ACTION_TYPE,event:O.TOGGLE_SELECT_ACTION_TYPE,update:O.TOGGLE_SELECT_ACTION_TYPE},o.noop),Ye("light",M.default),Ye("dark",A.default);var at={}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(73),o=n(5),a=(n(38),r.each),s=r.isObject,l=function(){function e(t){var n=t.mappingMethod,i=t.type,o=this.option=r.clone(t);this.type=i,this.mappingMethod=n,this._normalizeData=y[n];var s=e.visualHandlers[i];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._normalizedToVisual=s._normalizedToVisual[n],"piecewise"===n?(u(o),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,r.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(o)):"category"===n?o.categories?function(e){var t=e.categories,n=e.categoryMap={},i=e.visual;if(a(t,(function(e,t){n[e]=t})),!r.isArray(i)){var o=[];r.isObject(i)?a(i,(function(e,t){var r=n[t];o[null!=r?r:-1]=e})):o[-1]=i,i=v(e,o)}for(var s=t.length-1;s>=0;s--)null==i[s]&&(delete n[t[s]],t.pop())}(o):u(o,!0):(r.assert("linear"!==n||o.dataExtent),u(o))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return r.bind(this._normalizeData,this)},e.listVisualTypes=function(){return r.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){r.isObject(e)?r.each(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,i){var o,a=r.isArray(t)?[]:r.isObject(t)?{}:(o=!0,null);return e.eachVisual(t,(function(e,t){var r=n.call(i,e,t);o?a=r:a[t]=r})),a},e.retrieveVisuals=function(t){var n,r={};return t&&a(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(r.isArray(e))e=e.slice();else{if(!s(e))return[];var t=[];a(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var i,o=1/0,a=0,s=t.length;a2,i=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},function(e,t,n){"use strict";n.r(t);var r=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function a(e,t,n,a){var s=e[t];if(s){var l=s[r]||s,u=s["\0__throttleType"];if(s[i]!==n||u!==a){if(null==n||!a)return e[t]=l;(s=e[t]=o(l,n,"debounce"===a))[r]=l,s["\0__throttleType"]=a,s[i]=n}return s}}function s(e,t){var n=e[t];n&&n[r]&&(n.clear&&n.clear(),e[t]=n[r])}},function(e,t,n){"use strict"; /*! @name @videojs/vhs-utils @version 2.3.0 @license MIT */Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(8))&&"object"==typeof r&&"default"in r?r.default:r,o={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},a=["video","audio","text"],s=["Video","Audio","Text"],l=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},u=function(e){return e.map(l)},c=function(e){void 0===e&&(e="");var t=e.split(","),n={},r=[];return t.forEach((function(e){var t;e=e.trim(),a.forEach((function(r){var i=o[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var a=e.substring(0,i[1].length),s=e.replace(a,"");n[r]={type:a,details:s}}})),t||r.push(e)})),r.length&&(n.unknown=r),n},d=function(e){return void 0===e&&(e=""),o.audio.test(e.trim().toLowerCase())},h=function(e){return void 0===e&&(e=""),o.text.test(e.trim().toLowerCase())},f=function(e){if(e&&"string"==typeof e){var t=e.toLowerCase().split(",").map((function(e){return l(e.trim())})),n="video";1===t.length&&d(t[0])?n="audio":1===t.length&&h(t[0])&&(n="application");var r="mp4";return t.every((function(e){return o.mp4.test(e)}))?r="mp4":t.every((function(e){return o.webm.test(e)}))?r="webm":t.every((function(e){return o.ogg.test(e)}))&&(r="ogg"),n+"/"+r+';codecs="'+e+'"'}};t.DEFAULT_AUDIO_CODEC="mp4a.40.2",t.DEFAULT_VIDEO_CODEC="avc1.4d400d",t.browserSupportsCodec=function(e){return void 0===e&&(e=""),i.MediaSource&&i.MediaSource.isTypeSupported&&i.MediaSource.isTypeSupported(f(e))||!1},t.codecsFromDefault=function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},t.getMimeForCodec=f,t.isAudioCodec=d,t.isTextCodec=h,t.isVideoCodec=function(e){return void 0===e&&(e=""),o.video.test(e.trim().toLowerCase())},t.mapLegacyAvcCodecs=function(e){return e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e){return u([e])[0]}))},t.muxerSupportsCodec=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t=w?i=n+w:t&&n-i>=w?i=n-w:!t&&n>i?i=n+(w-C(n-i)):t&&n0&&(this._ux=b(n/o.devicePixelRatio/e)||0,this._uy=b(n/o.devicePixelRatio/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(l.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=b(e-this._xi),r=b(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(l.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(l.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(l.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),O[0]=r,O[1]=i,x(O,o),r=O[0];var a=(i=O[1])-r;return this.addData(l.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=v(i)*n+e,this._yi=y(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(l.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!S||(this.data=new Float32Array(t));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){d[0]=d[1]=f[0]=f[1]=Number.MAX_VALUE,h[0]=h[1]=p[0]=p[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,o=0,s=0,u=0;for(e=0;en||b(C)>r||f===t-1)&&(S=Math.sqrt(N*N+C*C),i=O,o=E);break;case l.C:var x=e[f++],T=e[f++],E=(O=e[f++],e[f++]),k=e[f++],M=e[f++];S=Object(s.cubicLength)(i,o,x,T,O,E,k,M,10),i=k,o=M;break;case l.Q:x=e[f++],T=e[f++],O=e[f++],E=e[f++];S=Object(s.quadraticLength)(i,o,x,T,O,E,10),i=O,o=E;break;case l.A:var A=e[f++],D=e[f++],I=e[f++],R=e[f++],L=e[f++],j=e[f++],P=j+L;f+=1;e[f++];_&&(a=v(L)*I+A,u=y(L)*R+D),S=g(I,R)*m(w,Math.abs(j)),i=v(P)*I+A,o=y(P)*R+D;break;case l.R:a=i=e[f++],u=o=e[f++],S=2*e[f++]+2*e[f++];break;case l.Z:var N=a-i;C=u-o;S=Math.sqrt(N*N+C*C),i=a,o=u}S>=0&&(c[h++]=S,d+=S)}return this._pathLen=d,d},e.prototype.rebuildPath=function(e,t){var n,r,i,o,a,d,h,f,p,_,w=this.data,S=this._ux,O=this._uy,C=this._len,x=t<1,T=0,E=0,k=0;if(!x||(this._pathSegLen||this._calculateLength(),h=this._pathSegLen,f=t*this._pathLen))e:for(var M=0;M0&&(e.lineTo(p,_),k=0),A){case l.M:n=i=w[M++],r=o=w[M++],e.moveTo(i,o);break;case l.L:a=w[M++],d=w[M++];var I=b(a-i),R=b(d-o);if(I>S||R>O){if(x){if(T+(re=h[E++])>f){var L=(f-T)/re;e.lineTo(i*(1-L)+a*L,o*(1-L)+d*L);break e}T+=re}e.lineTo(a,d),i=a,o=d,k=0}else{var j=I*I+R*R;j>k&&(p=a,_=d,k=j)}break;case l.C:var P=w[M++],N=w[M++],B=w[M++],F=w[M++],H=w[M++],V=w[M++];if(x){if(T+(re=h[E++])>f){L=(f-T)/re;Object(s.cubicSubdivide)(i,P,B,H,L,u),Object(s.cubicSubdivide)(o,N,F,V,L,c),e.bezierCurveTo(u[1],c[1],u[2],c[2],u[3],c[3]);break e}T+=re}e.bezierCurveTo(P,N,B,F,H,V),i=H,o=V;break;case l.Q:P=w[M++],N=w[M++],B=w[M++],F=w[M++];if(x){if(T+(re=h[E++])>f){L=(f-T)/re;Object(s.quadraticSubdivide)(i,P,B,L,u),Object(s.quadraticSubdivide)(o,N,F,L,c),e.quadraticCurveTo(u[1],c[1],u[2],c[2]);break e}T+=re}e.quadraticCurveTo(P,N,B,F),i=B,o=F;break;case l.A:var Y=w[M++],W=w[M++],z=w[M++],U=w[M++],$=w[M++],G=w[M++],q=w[M++],X=!w[M++],K=z>U?z:U,Z=b(z-U)>.001,J=$+G,Q=!1;if(x)T+(re=h[E++])>f&&(J=$+G*(f-T)/re,Q=!0),T+=re;if(Z&&e.ellipse?e.ellipse(Y,W,z,U,q,$,J,X):e.arc(Y,W,K,$,J,X),Q)break e;D&&(n=v($)*z+Y,r=y($)*U+W),i=v(J)*z+Y,o=y(J)*U+W;break;case l.R:n=i=w[M],r=o=w[M+1],a=w[M++],d=w[M++];var ee=w[M++],te=w[M++];if(x){if(T+(re=h[E++])>f){var ne=f-T;e.moveTo(a,d),e.lineTo(a+m(ne,ee),d),(ne-=ee)>0&&e.lineTo(a+ee,d+m(ne,te)),(ne-=te)>0&&e.lineTo(a+g(ee-ne,0),d+te),(ne-=ee)>0&&e.lineTo(a,d+g(te-ne,0));break e}T+=re}e.rect(a,d,ee,te);break;case l.Z:if(x){var re;if(T+(re=h[E++])>f){L=(f-T)/re;e.lineTo(i*(1-L)+n*L,o*(1-L)+r*L);break e}T+=re}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=l,e.initDefaultProps=((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),e}();t.default=T},function(e,t,n){"use strict";n.r(t),n.d(t,"BE_ORDINAL",(function(){return a})),n.d(t,"resetSourceDefaulter",(function(){return l})),n.d(t,"makeSeriesEncodeForAxisCoordSys",(function(){return u})),n.d(t,"makeSeriesEncodeForNameBased",(function(){return c})),n.d(t,"querySeriesUpstreamDatasetModel",(function(){return d})),n.d(t,"queryDatasetUpstreamDatasetModels",(function(){return h})),n.d(t,"guessOrdinal",(function(){return f}));var r=n(6),i=n(0),o=n(27),a={Must:1,Might:2,Not:3},s=Object(r.makeInner)();function l(e){s(e).datasetMap=Object(i.createHashMap)()}function u(e,t,n){var r={},o=d(t);if(!o||!e)return r;var a,l,u=[],c=[],h=t.ecModel,f=s(h).datasetMap,p=o.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(i.each)(e,(function(t,n){var o=Object(i.isObject)(t)?t:e[n]={name:t};"ordinal"===o.type&&null==a&&(a=n,l=v(o)),r[o.name]=[]}));var m=f.get(p)||f.set(p,{categoryWayDim:l,valueWayDim:0});function g(e,t,n){for(var r=0;r=0){var i=n.getData().tree.root,o=e.targetNode;if(r.isString(o)&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function a(e,t){var n=o(e);return r.indexOf(n,t)>=0}function s(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}},function(e,t,n){var r;"undefined"!=typeof self&&self,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){t.nil=new Error("#NULL!"),t.div0=new Error("#DIV/0!"),t.value=new Error("#VALUE!"),t.ref=new Error("#REF!"),t.name=new Error("#NAME?"),t.num=new Error("#NUM!"),t.na=new Error("#N/A"),t.error=new Error("#ERROR!"),t.data=new Error("#GETTING_DATA")},function(e,t,n){var r=n(0);t.flattenShallow=function(e){return e&&e.reduce?e.reduce((function(e,t){var n=Array.isArray(e),r=Array.isArray(t);return n&&r?e.concat(t):n?(e.push(t),e):r?[e].concat(t):[e,t]})):e},t.isFlat=function(e){if(!e)return!1;for(var t=0;t-1?parseFloat(e):parseInt(e,10)),t}t.__esModule=!0,t.toNumber=r,t.invertNumber=function(e){return-1*r(e)}},function(e,t,n){var r=n(1),i=n(0),o=n(5),a=n(8),s=n(7);t.ABS=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.abs(e)},t.ACOS=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.acos(e);return isNaN(t)&&(t=i.num),t},t.ACOSH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.log(e+Math.sqrt(e*e-1));return isNaN(t)&&(t=i.num),t},t.ACOT=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.atan(1/e)},t.ACOTH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=.5*Math.log((e+1)/(e-1));return isNaN(t)&&(t=i.num),t},t.AGGREGATE=function(e,n,a,s){if(e=r.parseNumber(e),n=r.parseNumber(e),r.anyIsError(e,n))return i.value;switch(e){case 1:return o.AVERAGE(a);case 2:return o.COUNT(a);case 3:return o.COUNTA(a);case 4:return o.MAX(a);case 5:return o.MIN(a);case 6:return t.PRODUCT(a);case 7:return o.STDEV.S(a);case 8:return o.STDEV.P(a);case 9:return t.SUM(a);case 10:return o.VAR.S(a);case 11:return o.VAR.P(a);case 12:return o.MEDIAN(a);case 13:return o.MODE.SNGL(a);case 14:return o.LARGE(a,s);case 15:return o.SMALL(a,s);case 16:return o.PERCENTILE.INC(a,s);case 17:return o.QUARTILE.INC(a,s);case 18:return o.PERCENTILE.EXC(a,s);case 19:return o.QUARTILE.EXC(a,s)}},t.ARABIC=function(e){if(!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(e))return i.value;var t=0;return e.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,(function(e){t+={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1}[e]})),t},t.ASIN=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.asin(e);return isNaN(t)&&(t=i.num),t},t.ASINH=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e+Math.sqrt(e*e+1))},t.ATAN=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.atan(e)},t.ATAN2=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:Math.atan2(e,t)},t.ATANH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.log((1+e)/(1-e))/2;return isNaN(t)&&(t=i.num),t},t.BASE=function(e,t,n){if(n=n||0,e=r.parseNumber(e),t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(e,t,n))return i.value;n=void 0===n?0:n;var o=e.toString(t);return new Array(Math.max(n+1-o.length,0)).join("0")+o},t.CEILING=function(e,n,o){if(n=void 0===n?1:Math.abs(n),o=o||0,e=r.parseNumber(e),n=r.parseNumber(n),o=r.parseNumber(o),r.anyIsError(e,n,o))return i.value;if(0===n)return 0;var a=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.ceil(e/n)*n,a):0===o?-t.ROUND(Math.floor(Math.abs(e)/n)*n,a):-t.ROUND(Math.ceil(Math.abs(e)/n)*n,a)},t.CEILING.MATH=t.CEILING,t.CEILING.PRECISE=t.CEILING,t.COMBIN=function(e,n){return e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n)?i.value:t.FACT(e)/(t.FACT(n)*t.FACT(e-n))},t.COMBINA=function(e,n){return e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n)?i.value:0===e&&0===n?1:t.COMBIN(e+n-1,e-1)},t.COS=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.cos(e)},t.COSH=function(e){return(e=r.parseNumber(e))instanceof Error?e:(Math.exp(e)+Math.exp(-e))/2},t.COT=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.tan(e)},t.COTH=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var t=Math.exp(2*e);return(t+1)/(t-1)},t.CSC=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.sin(e)},t.CSCH=function(e){return(e=r.parseNumber(e))instanceof Error?e:2/(Math.exp(e)-Math.exp(-e))},t.DECIMAL=function(e,t){return arguments.length<1?i.value:parseInt(e,t)},t.DEGREES=function(e){return(e=r.parseNumber(e))instanceof Error?e:180*e/Math.PI},t.EVEN=function(e){return(e=r.parseNumber(e))instanceof Error?e:t.CEILING(e,-2,-1)},t.EXP=function(e){return arguments.length<1?i.na:"number"!=typeof e||arguments.length>1?i.error:e=Math.exp(e)};var l=[];t.FACT=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var n=Math.floor(e);return 0===n||1===n?1:(l[n]>0||(l[n]=t.FACT(n-1)*n),l[n])},t.FACTDOUBLE=function(e){if((e=r.parseNumber(e))instanceof Error)return e;var n=Math.floor(e);return n<=0?1:n*t.FACTDOUBLE(n-2)},t.FLOOR=function(e,n){if(e=r.parseNumber(e),n=r.parseNumber(n),r.anyIsError(e,n))return i.value;if(0===n)return 0;if(!(e>0&&n>0||e<0&&n<0))return i.num;n=Math.abs(n);var o=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.floor(e/n)*n,o):-t.ROUND(Math.ceil(Math.abs(e)/n),o)},t.FLOOR.MATH=function(e,n,o){if(n=void 0===n?1:n,o=void 0===o?0:o,e=r.parseNumber(e),n=r.parseNumber(n),o=r.parseNumber(o),r.anyIsError(e,n,o))return i.value;if(0===n)return 0;n=n?Math.abs(n):1;var a=-Math.floor(Math.log(n)/Math.log(10));return e>=0?t.ROUND(Math.floor(e/n)*n,a):0===o||void 0===o?-t.ROUND(Math.ceil(Math.abs(e)/n)*n,a):-t.ROUND(Math.floor(Math.abs(e)/n)*n,a)},t.FLOOR.PRECISE=t.FLOOR.MATH,t.GCD=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t=e.length,n=e[0],i=n<0?-n:n,o=1;os?i%=s:s%=i;i+=s}return i},t.INT=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.floor(e)},t.ISO={CEILING:t.CEILING},t.LCM=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t,n,i,o,a=1;void 0!==(i=e.pop());)for(;i>1;){if(i%2){for(t=3,n=Math.floor(Math.sqrt(i));t<=n&&i%t;t+=2);o=t<=n?t:i}else o=2;for(i/=o,a*=o,t=e.length;t;e[--t]%o==0&&1==(e[t]/=o)&&e.splice(t,1));}return a},t.LN=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e)},t.LN10=function(){return Math.log(10)},t.LN2=function(){return Math.log(2)},t.LOG10E=function(){return Math.LOG10E},t.LOG2E=function(){return Math.LOG2E},t.LOG=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:(t=void 0===t?10:t,Math.log(e)/Math.log(t))},t.LOG10=function(e){return(e=r.parseNumber(e))instanceof Error?e:Math.log(e)/Math.log(10)},t.MOD=function(e,t){if(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t))return i.value;if(0===t)return i.div0;var n=Math.abs(e%t);return t>0?n:-n},t.MROUND=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:e*t<0?i.num:Math.round(e/t)*t},t.MULTINOMIAL=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var n=0,i=1,o=0;o0?t:-t},t.PI=function(){return Math.PI},t.E=function(){return Math.E},t.POWER=function(e,t){if(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t))return i.value;var n=Math.pow(e,t);return isNaN(n)?i.num:n},t.PRODUCT=function(){var e=r.parseNumberArray(r.flatten(arguments));if(e instanceof Error)return e;for(var t=1,n=0;n0?1:-1)*Math.floor(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)},t.ROUNDUP=function(e,t){return e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.value:(e>0?1:-1)*Math.ceil(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)},t.SEC=function(e){return(e=r.parseNumber(e))instanceof Error?e:1/Math.cos(e)},t.SECH=function(e){return(e=r.parseNumber(e))instanceof Error?e:2/(Math.exp(e)+Math.exp(-e))},t.SERIESSUM=function(e,t,n,o){if(e=r.parseNumber(e),t=r.parseNumber(t),n=r.parseNumber(n),o=r.parseNumberArray(o),r.anyIsError(e,t,n,o))return i.value;for(var a=o[0]*Math.pow(e,t),s=1;s=t)},t.LT=function(e,t){return 2!==arguments.length?i.na:(e=r.parseNumber(e),t=r.parseNumber(t),r.anyIsError(e,t)?i.error:e0?1:-1)*Math.floor(Math.abs(e)*Math.pow(10,t))/Math.pow(10,t)}},function(e,t,n){var r=n(4),i=n(6),o=n(10),a=n(1),s=n(7),l=n(0),u=n(11);t.AVEDEV=function(){var e=a.parseNumberArray(a.flatten(arguments));return e instanceof Error?e:o.sum(o(e).subtract(o.mean(e)).abs()[0])/e.length},t.AVERAGE=function(){for(var e,t=a.numbers(a.flatten(arguments)),n=t.length,r=0,i=0,o=0;o=n)return r;r++}},t.CHISQ={},t.CHISQ.DIST=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?l.value:n?o.chisquare.cdf(e,t):o.chisquare.pdf(e,t)},t.CHISQ.DIST.RT=function(e,t){return!e|!t?l.na:e<1||t>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t?l.value:1-o.chisquare.cdf(e,t)},t.CHISQ.INV=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?l.value:o.chisquare.inv(e,t)},t.CHISQ.INV.RT=function(e,t){return!e|!t?l.na:e<0||e>1||t<1||t>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t?l.value:o.chisquare.inv(1-e,t)},t.CHISQ.TEST=function(e,t){if(2!==arguments.length)return l.na;if(!(e instanceof Array&&t instanceof Array))return l.value;if(e.length!==t.length)return l.value;if(e[0]&&t[0]&&e[0].length!==t[0].length)return l.value;var n,r,i,o=e.length;for(r=0;r=2;)n=n*e/r,r-=2;for(var i=n,o=t;i>1e-10*n;)n+=i=i*e/(o+=2);return 1-n}return Math.round(1e6*d(u,s))/1e6},t.COLUMN=function(e,t){return 2!==arguments.length?l.na:t<0?l.num:e instanceof Array&&"number"==typeof t?0!==e.length?o.col(e,t):void 0:l.value},t.COLUMNS=function(e){return 1!==arguments.length?l.na:e instanceof Array?0===e.length?0:o.cols(e):l.value},t.CONFIDENCE={},t.CONFIDENCE.NORM=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?l.value:o.normalci(1,e,t,n)[1]-1},t.CONFIDENCE.T=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?l.value:o.tci(1,e,t,n)[1]-1},t.CORREL=function(e,t){return e=a.parseNumberArray(a.flatten(e)),t=a.parseNumberArray(a.flatten(t)),a.anyIsError(e,t)?l.value:o.corrcoeff(e,t)},t.COUNT=function(){return a.numbers(a.flatten(arguments)).length},t.COUNTA=function(){var e=a.flatten(arguments);return e.length-t.COUNTBLANK(e)},t.COUNTIN=function(e,t){var n=0;e=a.flatten(e);for(var r=0;r1?l.num:o.centralF.inv(e,t,n)},t.F.INV.RT=function(e,t,n){return 3!==arguments.length?l.na:e<0||e>1||t<1||t>Math.pow(10,10)||n<1||n>Math.pow(10,10)?l.num:"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:o.centralF.inv(1-e,t,n)},t.F.TEST=function(e,t){if(!e||!t)return l.na;if(!(e instanceof Array&&t instanceof Array))return l.na;if(e.length<2||t.length<2)return l.div0;var n=function(e,t){for(var n=0,r=0;rt[o-1]&&e[s]<=t[o]&&(i[o]+=1):o===r&&e[s]>t[r-1]&&(i[r]+=1)}return i},t.GAMMA=function(e){return(e=a.parseNumber(e))instanceof Error?e:0===e||parseInt(e,10)===e&&e<0?l.num:o.gammafn(e)},t.GAMMA.DIST=function(e,t,n,r){return 4!==arguments.length?l.na:e<0||t<=0||n<=0||"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:r?o.gamma.cdf(e,t,n,!0):o.gamma.pdf(e,t,n,!1)},t.GAMMA.INV=function(e,t,n){return 3!==arguments.length?l.na:e<0||e>1||t<=0||n<=0?l.num:"number"!=typeof e||"number"!=typeof t||"number"!=typeof n?l.value:o.gamma.inv(e,t,n)},t.GAMMALN=function(e){return(e=a.parseNumber(e))instanceof Error?e:o.gammaln(e)},t.GAMMALN.PRECISE=function(e){return 1!==arguments.length?l.na:e<=0?l.num:"number"!=typeof e?l.value:o.gammaln(e)},t.GAUSS=function(e){return(e=a.parseNumber(e))instanceof Error?e:o.normal.cdf(e,0,1)-.5},t.GEOMEAN=function(){var e=a.parseNumberArray(a.flatten(arguments));return e instanceof Error?e:o.geomean(e)},t.GROWTH=function(e,t,n,r){if((e=a.parseNumberArray(e))instanceof Error)return e;var i;if(void 0===t)for(t=[],i=1;i<=e.length;i++)t.push(i);if(void 0===n)for(n=[],i=1;i<=e.length;i++)n.push(i);if(t=a.parseNumberArray(t),n=a.parseNumberArray(n),a.anyIsError(t,n))return l.value;void 0===r&&(r=!0);var o,s,u=e.length,c=0,d=0,h=0,f=0;for(i=0;io&&(o=r[t],i=[]),r[t]===o&&(i[i.length]=t);return i},t.MODE.SNGL=function(){var e=a.parseNumberArray(a.flatten(arguments));return e instanceof Error?e:t.MODE.MULT(e).sort((function(e,t){return e-t}))[0]},t.NEGBINOM={},t.NEGBINOM.DIST=function(e,t,n,r){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?l.value:r?o.negbin.cdf(e,t,n):o.negbin.pdf(e,t,n)},t.NORM={},t.NORM.DIST=function(e,t,n,r){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?l.value:n<=0?l.num:r?o.normal.cdf(e,t,n):o.normal.pdf(e,t,n)},t.NORM.INV=function(e,t,n){return e=a.parseNumber(e),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n)?l.value:o.normal.inv(e,t,n)},t.NORM.S={},t.NORM.S.DIST=function(e,t){return(e=a.parseNumber(e))instanceof Error?l.value:t?o.normal.cdf(e,0,1):o.normal.pdf(e,0,1)},t.NORM.S.INV=function(e){return(e=a.parseNumber(e))instanceof Error?l.value:o.normal.inv(e,0,1)},t.PEARSON=function(e,t){if(t=a.parseNumberArray(a.flatten(t)),e=a.parseNumberArray(a.flatten(e)),a.anyIsError(t,e))return l.value;for(var n=o.mean(e),r=o.mean(t),i=e.length,s=0,u=0,c=0,d=0;d1-1/(n+1))return l.num;var r=t*(n+1)-1,i=Math.floor(r);return a.cleanFloat(r===i?e[r]:e[i]+(r-i)*(e[i+1]-e[i]))},t.PERCENTILE.INC=function(e,t){if(e=a.parseNumberArray(a.flatten(e)),t=a.parseNumber(t),a.anyIsError(e,t))return l.value;var n=t*((e=e.sort((function(e,t){return e-t}))).length-1),r=Math.floor(n);return a.cleanFloat(n===r?e[n]:e[r]+(n-r)*(e[r+1]-e[r]))},t.PERCENTRANK={},t.PERCENTRANK.EXC=function(e,t,n){if(n=void 0===n?3:n,e=a.parseNumberArray(a.flatten(e)),t=a.parseNumber(t),n=a.parseNumber(n),a.anyIsError(e,t,n))return l.value;e=e.sort((function(e,t){return e-t}));for(var r=u.UNIQUE.apply(null,e),i=e.length,o=r.length,s=Math.pow(10,n),c=0,d=!1,h=0;!d&&h=r[h]&&(t=r[h]&&(t=0?t[e.indexOf(n)]:0;for(var i=e.sort((function(e,t){return e-t})),o=i.length,s=0,u=0;u=n&&i[u]<=r&&(s+=t[e.indexOf(i[u])]);return s},t.QUARTILE={},t.QUARTILE.EXC=function(e,n){if(e=a.parseNumberArray(a.flatten(e)),n=a.parseNumber(n),a.anyIsError(e,n))return l.value;switch(n){case 1:return t.PERCENTILE.EXC(e,.25);case 2:return t.PERCENTILE.EXC(e,.5);case 3:return t.PERCENTILE.EXC(e,.75);default:return l.num}},t.QUARTILE.INC=function(e,n){if(e=a.parseNumberArray(a.flatten(e)),n=a.parseNumber(n),a.anyIsError(e,n))return l.value;switch(n){case 1:return t.PERCENTILE.INC(e,.25);case 2:return t.PERCENTILE.INC(e,.5);case 3:return t.PERCENTILE.INC(e,.75);default:return l.num}},t.RANK={},t.RANK.AVG=function(e,t,n){if(e=a.parseNumber(e),t=a.parseNumberArray(a.flatten(t)),a.anyIsError(e,t))return l.value;for(var r=(n=n||!1)?function(e,t){return e-t}:function(e,t){return t-e},i=(t=(t=a.flatten(t)).sort(r)).length,o=0,s=0;s1?(2*t.indexOf(e)+o+1)/2:t.indexOf(e)+1},t.RANK.EQ=function(e,t,n){if(e=a.parseNumber(e),t=a.parseNumberArray(a.flatten(t)),a.anyIsError(e,t))return l.value;var r=(n=n||!1)?function(e,t){return e-t}:function(e,t){return t-e};return(t=t.sort(r)).indexOf(e)+1},t.ROW=function(e,t){return 2!==arguments.length?l.na:t<0?l.num:e instanceof Array&&"number"==typeof t?0!==e.length?o.row(e,t):void 0:l.value},t.ROWS=function(e){return 1!==arguments.length?l.na:e instanceof Array?0===e.length?0:o.rows(e):l.value},t.RSQ=function(e,n){return e=a.parseNumberArray(a.flatten(e)),n=a.parseNumberArray(a.flatten(n)),a.anyIsError(e,n)?l.value:Math.pow(t.PEARSON(e,n),2)},t.SKEW=function(){var e=a.parseNumberArray(a.flatten(arguments));if(e instanceof Error)return e;for(var t=o.mean(e),n=e.length,r=0,i=0;i1||t<1?l.num:a.anyIsError(e,t)?l.value:Math.abs(o.studentt.inv(e/2,t))},t.T.TEST=function(e,n){if(e=a.parseNumberArray(a.flatten(e)),n=a.parseNumberArray(a.flatten(n)),a.anyIsError(e,n))return l.value;var r,i=o.mean(e),s=o.mean(n),u=0,c=0;for(r=0;r-1;)e[t]="TRUE";for(var n=0;(n=e.indexOf(!1))>-1;)e[n]="FALSE";return e.join("")},t.DBCS=function(){throw new Error("DBCS is not implemented")},t.DOLLAR=function(){throw new Error("DOLLAR is not implemented")},t.EXACT=function(e,t){return 2!==arguments.length?i.na:e===t},t.FIND=function(e,t,n){return arguments.length<2?i.na:(n=void 0===n?0:n,t?t.indexOf(e,n-1)+1:null)},t.FIXED=function(){throw new Error("FIXED is not implemented")},t.HTML2TEXT=function(e){var t="";return e&&(e instanceof Array?e.forEach((function(e){""!==t&&(t+="\n"),t+=e.replace(/<(?:.|\n)*?>/gm,"")})):t=e.replace(/<(?:.|\n)*?>/gm,"")),t},t.LEFT=function(e,t){return t=void 0===t?1:t,(t=r.parseNumber(t))instanceof Error||"string"!=typeof e?i.value:e?e.substring(0,t):null},t.LEN=function(e){return 0===arguments.length?i.error:"string"==typeof e?e?e.length:0:e.length?e.length:i.value},t.LOWER=function(e){return"string"!=typeof e?i.value:e?e.toLowerCase():e},t.MID=function(e,t,n){if(t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(t,n)||"string"!=typeof e)return n;var i=t-1,o=i+n;return e.substring(i,o)},t.NUMBERVALUE=function(e,t,n){return t=void 0===t?".":t,n=void 0===n?",":n,Number(e.replace(t,".").replace(n,""))},t.PRONETIC=function(){throw new Error("PRONETIC is not implemented")},t.PROPER=function(e){return void 0===e||0===e.length?i.value:(!0===e&&(e="TRUE"),!1===e&&(e="FALSE"),isNaN(e)&&"number"==typeof e?i.value:("number"==typeof e&&(e=""+e),e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))))},t.REGEXEXTRACT=function(e,t){if(arguments.length<2)return i.na;var n=e.match(new RegExp(t));return n?n[n.length>1?n.length-1:0]:null},t.REGEXMATCH=function(e,t,n){if(arguments.length<2)return i.na;var r=e.match(new RegExp(t));return n?r:!!r},t.REGEXREPLACE=function(e,t,n){return arguments.length<3?i.na:e.replace(new RegExp(t),n)},t.REPLACE=function(e,t,n,o){return t=r.parseNumber(t),n=r.parseNumber(n),r.anyIsError(t,n)||"string"!=typeof e||"string"!=typeof o?i.value:e.substr(0,t-1)+o+e.substr(t-1+n)},t.REPT=function(e,t){return(t=r.parseNumber(t))instanceof Error?t:new Array(t+1).join(e)},t.RIGHT=function(e,t){return t=void 0===t?1:t,(t=r.parseNumber(t))instanceof Error?t:e?e.substring(e.length-t):i.na},t.SEARCH=function(e,t,n){var r;return"string"!=typeof e||"string"!=typeof t?i.value:(n=void 0===n?0:n,0===(r=t.toLowerCase().indexOf(e.toLowerCase(),n-1)+1)?i.value:r)},t.SPLIT=function(e,t){return e.split(t)},t.SUBSTITUTE=function(e,t,n,r){if(arguments.length<2)return i.na;if(!(e&&t&&n))return e;if(void 0===r)return e.replace(new RegExp(t,"g"),n);for(var o=0,a=0;e.indexOf(t,o)>0;)if(o=e.indexOf(t,o+1),++a===r)return e.substring(0,o)+n+e.substring(o+t.length)},t.T=function(e){return"string"==typeof e?e:""},t.TEXT=function(){throw new Error("TEXT is not implemented")},t.TRIM=function(e){return"string"!=typeof e?i.value:e.replace(/ +/g," ").trim()},t.UNICHAR=t.CHAR,t.UNICODE=t.CODE,t.UPPER=function(e){return"string"!=typeof e?i.value:e.toUpperCase()},t.VALUE=function(){throw new Error("VALUE is not implemented")}},function(e,t){var n=[">",">=","<","<=","=","<>"],r=["operator","literal"];function i(e,t){if(-1===r.indexOf(t))throw new Error("Unsupported token type: "+t);return{value:e,type:t}}function o(e){for(var t,r="",o=[],a=0;a=0?o.push(i(s,"operator")):r+=s}return r.length>0&&o.push(i(("string"!=typeof(t=r)||/^\d+(\.\d+)?$/.test(t)&&(t=-1===t.indexOf(".")?parseInt(t,10):parseFloat(t)),t),"literal")),o.length>0&&"operator"!==o[0].type&&o.unshift(i("=","operator")),o}t.TOKEN_TYPE_OPERATOR="operator",t.TOKEN_TYPE_LITERAL="literal",t.parse=function(e){return o(function(e){for(var t=e.length,n=[],r=0,i="",o="";r":case"<":case"=":o+=a,i.length>0&&(n.push(i),i="");break;default:o.length>0&&(n.push(o),o=""),i+=a}r++}return i.length>0&&n.push(i),o.length>0&&n.push(o),n}(e))},t.createToken=i,t.compute=function(e){for(var t,n=[],r=0;r":n=e[0]>e[1];break;case">=":n=e[0]>=e[1];break;case"<":n=e[0]":n=e[0]!=e[1]}return n}(n,t)}},function(e,t,n){var r=n(0);t.CELL=function(){throw new Error("CELL is not implemented")},t.ERROR={},t.ERROR.TYPE=function(e){switch(e){case r.nil:return 1;case r.div0:return 2;case r.value:return 3;case r.ref:return 4;case r.name:return 5;case r.num:return 6;case r.na:return 7;case r.data:return 8}return r.na},t.INFO=function(){throw new Error("INFO is not implemented")},t.ISBLANK=function(e){return null===e},t.ISBINARY=function(e){return/^[01]{1,10}$/.test(e)},t.ISERR=function(e){return[r.value,r.ref,r.div0,r.num,r.name,r.nil].indexOf(e)>=0||"number"==typeof e&&(isNaN(e)||!isFinite(e))},t.ISERROR=function(e){return t.ISERR(e)||e===r.na},t.ISEVEN=function(e){return!(1&Math.floor(Math.abs(e)))},t.ISFORMULA=function(){throw new Error("ISFORMULA is not implemented")},t.ISLOGICAL=function(e){return!0===e||!1===e},t.ISNA=function(e){return e===r.na},t.ISNONTEXT=function(e){return"string"!=typeof e},t.ISNUMBER=function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)},t.ISODD=function(e){return!!(1&Math.floor(Math.abs(e)))},t.ISREF=function(){throw new Error("ISREF is not implemented")},t.ISTEXT=function(e){return"string"==typeof e},t.N=function(e){return this.ISNUMBER(e)?e:e instanceof Date?e.getTime():!0===e?1:!1===e?0:this.ISERROR(e)?e:0},t.NA=function(){return r.na},t.SHEET=function(){throw new Error("SHEET is not implemented")},t.SHEETS=function(){throw new Error("SHEETS is not implemented")},t.TYPE=function(e){return this.ISNUMBER(e)?1:this.ISTEXT(e)?2:this.ISLOGICAL(e)?4:this.ISERROR(e)?16:Array.isArray(e)?64:void 0}},function(e,t,n){var r=n(0),i=n(1),o=new Date(Date.UTC(1900,0,1)),a=[void 0,0,1,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,1,2,3,4,5,6,0],s=[[],[1,2,3,4,5,6,7],[7,1,2,3,4,5,6],[6,0,1,2,3,4,5],[],[],[],[],[],[],[],[7,1,2,3,4,5,6],[6,7,1,2,3,4,5],[5,6,7,1,2,3,4],[4,5,6,7,1,2,3],[3,4,5,6,7,1,2],[2,3,4,5,6,7,1],[1,2,3,4,5,6,7]],l=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]];function u(e){return 1===new Date(e,1,29).getMonth()}function c(e,t){return Math.ceil((t-e)/1e3/60/60/24)}function d(e){var t=e>-22038912e5?2:1;return Math.ceil((e-o)/864e5)+t}t.DATE=function(e,t,n){return e=i.parseNumber(e),t=i.parseNumber(t),n=i.parseNumber(n),i.anyIsError(e,t,n)?r.value:e<0||t<0||n<0?r.num:new Date(e,t-1,n)},t.DATEVALUE=function(e){var t,n=2;return"string"!=typeof e?r.value:(t=Date.parse(e),isNaN(t)?r.value:(t<=-22038912e5&&(n=1),Math.ceil((t-o)/864e5)+n))},t.DAY=function(e){var t=i.parseDate(e);return t instanceof Error?t:t.getDate()},t.DAYS=function(e,t){return e=i.parseDate(e),t=i.parseDate(t),e instanceof Error?e:t instanceof Error?t:d(e)-d(t)},t.DAYS360=function(e,t,n){if(n=i.parseBool(n),e=i.parseDate(e),t=i.parseDate(t),e instanceof Error)return e;if(t instanceof Error)return t;if(n instanceof Error)return n;var r,o,a=e.getMonth(),s=t.getMonth();if(n)r=31===e.getDate()?30:e.getDate(),o=31===t.getDate()?30:t.getDate();else{var l=new Date(e.getFullYear(),a+1,0).getDate(),u=new Date(t.getFullYear(),s+1,0).getDate();r=e.getDate()===l?30:e.getDate(),t.getDate()===u?r<30?(s++,o=1):o=30:o=t.getDate()}return 360*(t.getFullYear()-e.getFullYear())+30*(s-a)+(o-r)},t.EDATE=function(e,t){return(e=i.parseDate(e))instanceof Error?e:isNaN(t)?r.value:(t=parseInt(t,10),e.setMonth(e.getMonth()+t),d(e))},t.EOMONTH=function(e,t){return(e=i.parseDate(e))instanceof Error?e:isNaN(t)?r.value:(t=parseInt(t,10),d(new Date(e.getFullYear(),e.getMonth()+t+1,0)))},t.HOUR=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getHours()},t.INTERVAL=function(e){if("number"!=typeof e&&"string"!=typeof e)return r.value;e=parseInt(e,10);var t=Math.floor(e/94608e4);e%=94608e4;var n=Math.floor(e/2592e3);e%=2592e3;var i=Math.floor(e/86400);e%=86400;var o=Math.floor(e/3600);e%=3600;var a=Math.floor(e/60),s=e%=60;return"P"+(t=t>0?t+"Y":"")+(n=n>0?n+"M":"")+(i=i>0?i+"D":"")+"T"+(o=o>0?o+"H":"")+(a=a>0?a+"M":"")+(s=s>0?s+"S":"")},t.ISOWEEKNUM=function(e){if((e=i.parseDate(e))instanceof Error)return e;e.setHours(0,0,0),e.setDate(e.getDate()+4-(e.getDay()||7));var t=new Date(e.getFullYear(),0,1);return Math.ceil(((e-t)/864e5+1)/7)},t.MINUTE=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getMinutes()},t.MONTH=function(e){return(e=i.parseDate(e))instanceof Error?e:e.getMonth()+1},t.NETWORKDAYS=function(e,t,n){return this.NETWORKDAYS.INTL(e,t,1,n)},t.NETWORKDAYS.INTL=function(e,t,n,o){if((e=i.parseDate(e))instanceof Error)return e;if((t=i.parseDate(t))instanceof Error)return t;if(!((n=void 0===n?l[1]:l[n])instanceof Array))return r.value;void 0===o?o=[]:o instanceof Array||(o=[o]);for(var a=0;a0?d.getUTCDay():d.getDay(),f=!1;h!==n[0]&&h!==n[1]||(f=!0);for(var p=0;pl||o===l&&r>=s))return(a===d&&u(a)||function(e,t){var n=e.getFullYear(),r=new Date(n,2,1);if(u(n)&&e=r)return!0;var i=t.getFullYear(),o=new Date(i,2,1);return u(i)&&t>=o&&e=0;)t+=e[n];return t},e.sumsqrd=function(e){for(var t=0,n=e.length;--n>=0;)t+=e[n]*e[n];return t},e.sumsqerr=function(t){for(var n,r=e.mean(t),i=0,o=t.length;--o>=0;)i+=(n=t[o]-r)*n;return i},e.sumrow=function(e){for(var t=0,n=e.length;--n>=0;)t+=e[n];return t},e.product=function(e){for(var t=1,n=e.length;--n>=0;)t*=e[n];return t},e.min=function(e){for(var t=e[0],n=0;++nt&&(t=e[n]);return t},e.unique=function(e){for(var t={},n=[],r=0;ra?(l=[i[t]],a=o,s=0):o===a&&(l.push(i[t]),s++),o=1);return 0===s?l[0]:l},e.range=function(t){return e.max(t)-e.min(t)},e.variance=function(t,n){return e.sumsqerr(t)/(t.length-(n?1:0))},e.pooledvariance=function(t){return t.reduce((function(t,n){return t+e.sumsqerr(n)}),0)/(t.reduce((function(e,t){return e+t.length}),0)-t.length)},e.deviation=function(t){for(var n=e.mean(t),r=t.length,i=new Array(r),o=0;o=0;o--)i.push(t.abs(n[o]-r));return e.mean(i)},e.meddev=function(n){for(var r=e.median(n),i=[],o=n.length-1;o>=0;o--)i.push(t.abs(n[o]-r));return e.median(i)},e.coeffvar=function(t){return e.stdev(t)/e.mean(t)},e.quartiles=function(e){var n=e.length,i=e.slice().sort(r);return[i[t.round(n/4)-1],i[t.round(n/2)-1],i[t.round(3*n/4)-1]]},e.quantiles=function(e,n,o,a){var s,l,u,c,d,h=e.slice().sort(r),f=[n.length],p=e.length;for(void 0===o&&(o=3/8),void 0===a&&(a=3/8),s=0;s1){for(l=!0===r?this:this.transpose();s1){for("sumrow"!==t&&(l=!0===r?this:this.transpose());s1){for(s=s.transpose();an?t:n;return e.pow(10,17-~~(e.log(r>0?r:-r)*e.LOG10E))}var a=Array.isArray||function(e){return"[object Array]"===i.call(e)};function s(e){return"[object Function]"===i.call(e)}function l(e){return"number"==typeof e&&e-e==0}function u(){return new u._init(arguments)}function c(){return 0}function d(){return 1}function h(e,t){return e===t?1:0}u.fn=u.prototype,u._init=function(e){if(a(e[0]))if(a(e[0][0])){s(e[1])&&(e[0]=u.map(e[0],e[1]));for(var t=0;t=0;t--,r++)n[r]=[e[r][t]];return n},u.transpose=function(e){var t,n,r,i,o,s=[];for(a(e[0])||(e=[e]),n=e.length,r=e[0].length,o=0;o0&&(s[r][0]=e[r][0]),l=1;lt&&n>0)return[];if(n>0)for(r=e;rt;r+=n)i.push(r);return i},u.slice=function(){function e(e,t,n,r){var i,o=[],a=e.length;if(void 0===t&&void 0===n&&void 0===r)return u.copy(e);if(r=r||1,(t=(t=t||0)>=0?t:a+t)===(n=(n=n||e.length)>=0?n:a+n)||0===r)return[];if(tn&&r>0)return[];if(r>0)for(i=t;in;i+=r)o.push(e[i]);return o}return function(t,n){var r,i;return l((n=n||{}).row)?l(n.col)?t[n.row][n.col]:e(u.rowa(t,n.row),(r=n.col||{}).start,r.end,r.step):l(n.col)?e(u.cola(t,n.col),(i=n.row||{}).start,i.end,i.step):(i=n.row||{},r=n.col||{},e(t,i.start,i.end,i.step).map((function(t){return e(t,r.start,r.end,r.step)})))}}(),u.sliceAssign=function(t,n,r){var i,o;if(l(n.row)){if(l(n.col))return t[n.row][n.col]=r;n.col=n.col||{},n.col.start=n.col.start||0,n.col.end=n.col.end||t[0].length,n.col.step=n.col.step||1,i=u.arange(n.col.start,e.min(t.length,n.col.end),n.col.step);var a=n.row;return i.forEach((function(e,n){t[a][e]=r[n]})),t}if(l(n.col)){n.row=n.row||{},n.row.start=n.row.start||0,n.row.end=n.row.end||t.length,n.row.step=n.row.step||1,o=u.arange(n.row.start,e.min(t[0].length,n.row.end),n.row.step);var s=n.col;return o.forEach((function(e,n){t[e][s]=r[n]})),t}return void 0===r[0].length&&(r=[r]),n.row.start=n.row.start||0,n.row.end=n.row.end||t.length,n.row.step=n.row.step||1,n.col.start=n.col.start||0,n.col.end=n.col.end||t[0].length,n.col.step=n.col.step||1,o=u.arange(n.row.start,e.min(t.length,n.row.end),n.row.step),i=u.arange(n.col.start,e.min(t[0].length,n.col.end),n.col.step),o.forEach((function(e,n){i.forEach((function(i,o){t[e][i]=r[n][o]}))})),t},u.diagonal=function(e){var t=u.zeros(e.length,e.length);return e.forEach((function(e,n){t[n][n]=e})),t},u.copy=function(e){return e.map((function(e){return l(e)?e:e.map((function(e){return e}))}))};var f=u.prototype;return f.length=0,f.push=Array.prototype.push,f.sort=Array.prototype.sort,f.splice=Array.prototype.splice,f.slice=Array.prototype.slice,f.toArray=function(){return this.length>1?r.call(this):r.call(this)[0]},f.map=function(e,t){return u(u.map(this,e,t))},f.cumreduce=function(e,t){return u(u.cumreduce(this,e,t))},f.alter=function(e){return u.alter(this,e),this},function(e){for(var t=0;t=0;s--)a*=r,a+=u[s];if(o=a/n+.5*t.log(i)+(n-.5)*t.log(n)-n,e<=7)for(s=1;s<=l;s++)o-=t.log(n-1),n-=1;return o},e.gammafn=function(e){var n,r,i,o,a=[-1.716185138865495,24.76565080557592,-379.80425647094563,629.3311553128184,866.9662027904133,-31451.272968848367,-36144.413418691176,66456.14382024054],s=[-30.8402300119739,315.35062697960416,-1015.1563674902192,-3107.771671572311,22538.11842098015,4755.846277527881,-134659.9598649693,-115132.2596755535],l=!1,u=0,c=0,d=0,h=e;if(h<=0){if(!(o=h%1+36e-17))return 1/0;l=(1&h?-1:1)*t.PI/t.sin(t.PI*o),h=1-h}for(i=h,r=h<1?h++:(h-=u=(0|h)-1)-1,n=0;n<8;++n)d=(d+a[n])*r,c=c*r+s[n];if(o=d/c+1,ih)for(n=0;n=1?n:1/n)+.4*n+17);if(r<0||n<=0)return NaN;if(r170||r>170?t.exp(e.combinationln(n,r)):e.factorial(n)/e.factorial(r)/e.factorial(n-r)},e.combinationln=function(t,n){return e.factorialln(t)-e.factorialln(n)-e.factorialln(t-n)},e.permutation=function(t,n){return e.factorial(t)/e.factorial(t-n)},e.betafn=function(n,r){if(!(n<=0||r<=0))return n+r>170?t.exp(e.betaln(n,r)):e.gammafn(n)*e.gammafn(r)/e.gammafn(n+r)},e.betaln=function(t,n){return e.gammaln(t)+e.gammaln(n)-e.gammaln(t+n)},e.betacf=function(e,n,r){var i,o,a,s,l=1,u=n+r,c=n+1,d=n-1,h=1,f=1-u*e/c;for(t.abs(f)<1e-30&&(f=1e-30),s=f=1/f;l<=100&&(f=1+(o=l*(r-l)*e/((d+(i=2*l))*(n+i)))*f,t.abs(f)<1e-30&&(f=1e-30),h=1+o/h,t.abs(h)<1e-30&&(h=1e-30),s*=(f=1/f)*h,f=1+(o=-(n+l)*(u+l)*e/((n+i)*(c+i)))*f,t.abs(f)<1e-30&&(f=1e-30),h=1+o/h,t.abs(h)<1e-30&&(h=1e-30),s*=a=(f=1/f)*h,!(t.abs(a-1)<3e-7));l++);return s},e.gammapinv=function(n,r){var i,o,a,s,l,u,c=0,d=r-1,h=e.gammaln(r);if(n>=1)return t.max(100,r+100*t.sqrt(r));if(n<=0)return 0;for(r>1?(l=t.log(d),u=t.exp(d*(l-1)-h),s=n<.5?n:1-n,i=(2.30753+.27061*(o=t.sqrt(-2*t.log(s))))/(1+o*(.99229+.04481*o))-o,n<.5&&(i=-i),i=t.max(.001,r*t.pow(1-1/(9*r)-i/(3*t.sqrt(r)),3))):i=n<(o=1-r*(.253+.12*r))?t.pow(n/o,1/r):1-t.log(1-(n-o)/(1-o));c<12;c++){if(i<=0)return 0;if((i-=o=(a=(e.lowRegGamma(r,i)-n)/(o=r>1?u*t.exp(-(i-d)+d*(t.log(i)-l)):t.exp(-i+d*t.log(i)-h)))/(1-.5*t.min(1,a*((r-1)/i-1))))<=0&&(i=.5*(i+o)),t.abs(o)<1e-8*i)break}return i},e.erf=function(e){var n,r,i,o,a=[-1.3026537197817094,.6419697923564902,.019476473204185836,-.00956151478680863,-.000946595344482036,.000366839497852761,42523324806907e-18,-20278578112534e-18,-1624290004647e-18,130365583558e-17,1.5626441722e-8,-8.5238095915e-8,6.529054439e-9,5.059343495e-9,-9.91364156e-10,-2.27365122e-10,96467911e-18,2394038e-18,-6886027e-18,894487e-18,313092e-18,-112708e-18,381e-18,7106e-18,-1523e-18,-94e-18,121e-18,-28e-18],s=a.length-1,l=!1,u=0,c=0;for(e<0&&(e=-e,l=!0),r=4*(n=2/(2+e))-2;s>0;s--)i=u,u=r*u-c+a[s],c=i;return o=n*t.exp(-e*e+.5*(a[0]+r*u)-c),l?o-1:1-o},e.erfc=function(t){return 1-e.erf(t)},e.erfcinv=function(n){var r,i,o,a,s=0;if(n>=2)return-100;if(n<=0)return 100;for(a=n<1?n:2-n,r=-.70711*((2.30753+.27061*(o=t.sqrt(-2*t.log(a/2))))/(1+o*(.99229+.04481*o))-o);s<2;s++)r+=(i=e.erfc(r)-a)/(1.1283791670955126*t.exp(-r*r)-r*i);return n<1?r:-r},e.ibetainv=function(n,r,i){var o,a,s,l,u,c,d,h,f,p,m=r-1,g=i-1,v=0;if(n<=0)return 0;if(n>=1)return 1;for(r>=1&&i>=1?(s=n<.5?n:1-n,c=(2.30753+.27061*(l=t.sqrt(-2*t.log(s))))/(1+l*(.99229+.04481*l))-l,n<.5&&(c=-c),d=(c*c-3)/6,h=2/(1/(2*r-1)+1/(2*i-1)),f=c*t.sqrt(d+h)/h-(1/(2*i-1)-1/(2*r-1))*(d+5/6-2/(3*h)),c=r/(r+i*t.exp(2*f))):(o=t.log(r/(r+i)),a=t.log(i/(r+i)),c=n<(l=t.exp(r*o)/r)/(f=l+(u=t.exp(i*a)/i))?t.pow(r*f*n,1/r):1-t.pow(i*f*(1-n),1/i)),p=-e.gammaln(r)-e.gammaln(i)+e.gammaln(r+i);v<10;v++){if(0===c||1===c)return c;if((c-=l=(u=(e.ibeta(c,r,i)-n)/(l=t.exp(m*t.log(c)+g*t.log(1-c)+p)))/(1-.5*t.min(1,u*(m/c-g/(1-c)))))<=0&&(c=.5*(c+l)),c>=1&&(c=.5*(c+l+1)),t.abs(l)<1e-8*c&&v>0)break}return c},e.ibeta=function(n,r,i){var o=0===n||1===n?0:t.exp(e.gammaln(r+i)-e.gammaln(r)-e.gammaln(i)+r*t.log(n)+i*t.log(1-n));return!(n<0||n>1)&&(n<(r+1)/(r+i+2)?o*e.betacf(n,r,i)/r:1-o*e.betacf(1-n,i,r)/i)},e.randn=function(n,r){var i,o,a,s,l;if(r||(r=n),n)return e.create(n,r,(function(){return e.randn()}));do{i=e._random_fn(),o=1.7156*(e._random_fn()-.5),l=(a=i-.449871)*a+(s=t.abs(o)+.386595)*(.196*s-.25472*a)}while(l>.27597&&(l>.27846||o*o>-4*t.log(i)*i*i));return o/i},e.randg=function(n,r,i){var o,a,s,l,u,c,d=n;if(i||(i=r),n||(n=1),r)return(c=e.zeros(r,i)).alter((function(){return e.randg(n)})),c;n<1&&(n+=1),o=n-1/3,a=1/t.sqrt(9*o);do{do{l=1+a*(u=e.randn())}while(l<=0);l*=l*l,s=e._random_fn()}while(s>1-.331*t.pow(u,4)&&t.log(s)>.5*u*u+o*(1-l+t.log(l)));if(n==d)return o*l;do{s=e._random_fn()}while(0===s);return t.pow(s,1/d)*o*l},function(t){for(var n=0;ni;)d=l,s=u+(o=-(n+c)*(n+r+c)*e/(n+2*c)/(n+2*c+1))*s,l=(a=l+o*a)+(o=(c+=1)*(r-c)*e/(n+2*c-1)/(n+2*c))*l,a/=u=s+o*u,s/=u,l/=u,u=1;return l/n}function r(n,r,i){var o=[.9815606342467192,.9041172563704749,.7699026741943047,.5873179542866175,.3678314989981802,.1252334085114689],a=[.04717533638651183,.10693932599531843,.16007832854334622,.20316742672306592,.2334925365383548,.24914704581340277],s=.5*n;if(s>=8)return 1;var l,u=2*e.normal.cdf(s,0,1,1,0)-1;u=u>=t.exp(-50/i)?t.pow(u,i):0;for(var c=s,d=(8-s)/(l=n>3?2:3),h=c+d,f=0,p=i-1,m=1;m<=l;m++){for(var g=0,v=.5*(h+c),y=.5*(h-c),b=1;b<=12;b++){var _,w=v+y*(660)break;var O=2*e.normal.cdf(w,0,1,1,0)*.5-2*e.normal.cdf(w,n,1,1,0)*.5;O>=t.exp(-30/p)&&(g+=O=a[_-1]*t.exp(-.5*S)*t.pow(O,p))}f+=g*=2*y*i/t.sqrt(2*t.PI),c=h,h+=d}return(u+=f)<=t.exp(-30/r)?0:(u=t.pow(u,r))>=1?1:u}!function(t){for(var n=0;n1||n<0?0:1==r&&1==i?1:r<512&&i<512?t.pow(n,r-1)*t.pow(1-n,i-1)/e.betafn(r,i):t.exp((r-1)*t.log(n)+(i-1)*t.log(1-n)-e.betaln(r,i))},cdf:function(t,n,r){return t>1||t<0?1*(t>1):e.ibeta(t,n,r)},inv:function(t,n,r){return e.ibetainv(t,n,r)},mean:function(e,t){return e/(e+t)},median:function(t,n){return e.ibetainv(.5,t,n)},mode:function(e,t){return(e-1)/(e+t-2)},sample:function(t,n){var r=e.randg(t);return r/(r+e.randg(n))},variance:function(e,n){return e*n/(t.pow(e+n,2)*(e+n+1))}}),e.extend(e.centralF,{pdf:function(n,r,i){var o;return n<0?0:r<=2?0===n&&r<2?1/0:0===n&&2===r?1:1/e.betafn(r/2,i/2)*t.pow(r/i,r/2)*t.pow(n,r/2-1)*t.pow(1+r/i*n,-(r+i)/2):(o=r*n/(i+n*r),r*(i/(i+n*r))/2*e.binomial.pdf((r-2)/2,(r+i-2)/2,o))},cdf:function(t,n,r){return t<0?0:e.ibeta(n*t/(n*t+r),n/2,r/2)},inv:function(t,n,r){return r/(n*(1/e.ibetainv(t,n/2,r/2)-1))},mean:function(e,t){return t>2?t/(t-2):void 0},mode:function(e,t){return e>2?t*(e-2)/(e*(t+2)):void 0},sample:function(t,n){return 2*e.randg(t/2)/t/(2*e.randg(n/2)/n)},variance:function(e,t){if(!(t<=4))return 2*t*t*(e+t-2)/(e*(t-2)*(t-2)*(t-4))}}),e.extend(e.cauchy,{pdf:function(e,n,r){return r<0?0:r/(t.pow(e-n,2)+t.pow(r,2))/t.PI},cdf:function(e,n,r){return t.atan((e-n)/r)/t.PI+.5},inv:function(e,n,r){return n+r*t.tan(t.PI*(e-.5))},median:function(e){return e},mode:function(e){return e},sample:function(n,r){return e.randn()*t.sqrt(1/(2*e.randg(.5)))*r+n}}),e.extend(e.chisquare,{pdf:function(n,r){return n<0?0:0===n&&2===r?.5:t.exp((r/2-1)*t.log(n)-n/2-r/2*t.log(2)-e.gammaln(r/2))},cdf:function(t,n){return t<0?0:e.lowRegGamma(n/2,t/2)},inv:function(t,n){return 2*e.gammapinv(t,.5*n)},mean:function(e){return e},median:function(e){return e*t.pow(1-2/(9*e),3)},mode:function(e){return e-2>0?e-2:0},sample:function(t){return 2*e.randg(t/2)},variance:function(e){return 2*e}}),e.extend(e.exponential,{pdf:function(e,n){return e<0?0:n*t.exp(-n*e)},cdf:function(e,n){return e<0?0:1-t.exp(-n*e)},inv:function(e,n){return-t.log(1-e)/n},mean:function(e){return 1/e},median:function(e){return 1/e*t.log(2)},mode:function(){return 0},sample:function(n){return-1/n*t.log(e._random_fn())},variance:function(e){return t.pow(e,-2)}}),e.extend(e.gamma,{pdf:function(n,r,i){return n<0?0:0===n&&1===r?1/i:t.exp((r-1)*t.log(n)-n/i-e.gammaln(r)-r*t.log(i))},cdf:function(t,n,r){return t<0?0:e.lowRegGamma(n,t/r)},inv:function(t,n,r){return e.gammapinv(t,n)*r},mean:function(e,t){return e*t},mode:function(e,t){if(e>1)return(e-1)*t},sample:function(t,n){return e.randg(t)*n},variance:function(e,t){return e*t*t}}),e.extend(e.invgamma,{pdf:function(n,r,i){return n<=0?0:t.exp(-(r+1)*t.log(n)-i/n-e.gammaln(r)+r*t.log(i))},cdf:function(t,n,r){return t<=0?0:1-e.lowRegGamma(n,r/t)},inv:function(t,n,r){return r/e.gammapinv(1-t,n)},mean:function(e,t){return e>1?t/(e-1):void 0},mode:function(e,t){return t/(e+1)},sample:function(t,n){return n/e.randg(t)},variance:function(e,t){if(!(e<=2))return t*t/((e-1)*(e-1)*(e-2))}}),e.extend(e.kumaraswamy,{pdf:function(e,n,r){return 0===e&&1===n?r:1===e&&1===r?n:t.exp(t.log(n)+t.log(r)+(n-1)*t.log(e)+(r-1)*t.log(1-t.pow(e,n)))},cdf:function(e,n,r){return e<0?0:e>1?1:1-t.pow(1-t.pow(e,n),r)},inv:function(e,n,r){return t.pow(1-t.pow(1-e,1/r),1/n)},mean:function(t,n){return n*e.gammafn(1+1/t)*e.gammafn(n)/e.gammafn(1+1/t+n)},median:function(e,n){return t.pow(1-t.pow(2,-1/n),1/e)},mode:function(e,n){if(e>=1&&n>=1&&1!==e&&1!==n)return t.pow((e-1)/(e*n-1),1/e)},variance:function(){throw new Error("variance not yet implemented")}}),e.extend(e.lognormal,{pdf:function(e,n,r){return e<=0?0:t.exp(-t.log(e)-.5*t.log(2*t.PI)-t.log(r)-t.pow(t.log(e)-n,2)/(2*r*r))},cdf:function(n,r,i){return n<0?0:.5+.5*e.erf((t.log(n)-r)/t.sqrt(2*i*i))},inv:function(n,r,i){return t.exp(-1.4142135623730951*i*e.erfcinv(2*n)+r)},mean:function(e,n){return t.exp(e+n*n/2)},median:function(e){return t.exp(e)},mode:function(e,n){return t.exp(e-n*n)},sample:function(n,r){return t.exp(e.randn()*r+n)},variance:function(e,n){return(t.exp(n*n)-1)*t.exp(2*e+n*n)}}),e.extend(e.noncentralt,{pdf:function(n,r,i){return t.abs(i)<1e-14?e.studentt.pdf(n,r):t.abs(n)<1e-14?t.exp(e.gammaln((r+1)/2)-i*i/2-.5*t.log(t.PI*r)-e.gammaln(r/2)):r/n*(e.noncentralt.cdf(n*t.sqrt(1+2/r),r+2,i)-e.noncentralt.cdf(n,r,i))},cdf:function(n,r,i){if(t.abs(i)<1e-14)return e.studentt.cdf(n,r);var o=!1;n<0&&(o=!0,i=-i);for(var a=e.normal.cdf(-i,0,1),s=1e-14+1,l=s,u=n*n/(n*n+r),c=0,d=t.exp(-i*i/2),h=t.exp(-i*i/2-.5*t.log(2)-e.gammaln(1.5))*i;c<200||l>1e-14||s>1e-14;)l=s,c>0&&(d*=i*i/(2*c),h*=i*i/(2*(c+.5))),a+=.5*(s=d*e.beta.cdf(u,c+.5,r/2)+h*e.beta.cdf(u,c+1,r/2)),c++;return o?1-a:a}}),e.extend(e.normal,{pdf:function(e,n,r){return t.exp(-.5*t.log(2*t.PI)-t.log(r)-t.pow(e-n,2)/(2*r*r))},cdf:function(n,r,i){return.5*(1+e.erf((n-r)/t.sqrt(2*i*i)))},inv:function(t,n,r){return-1.4142135623730951*r*e.erfcinv(2*t)+n},mean:function(e){return e},median:function(e){return e},mode:function(e){return e},sample:function(t,n){return e.randn()*n+t},variance:function(e,t){return t*t}}),e.extend(e.pareto,{pdf:function(e,n,r){return e1e100?1e100:r,1/(t.sqrt(r)*e.betafn(.5,r/2))*t.pow(1+n*n/r,-(r+1)/2)},cdf:function(n,r){var i=r/2;return e.ibeta((n+t.sqrt(n*n+r))/(2*t.sqrt(n*n+r)),i,i)},inv:function(n,r){var i=e.ibetainv(2*t.min(n,1-n),.5*r,.5);return i=t.sqrt(r*(1-i)/i),n>.5?i:-i},mean:function(e){return e>1?0:void 0},median:function(){return 0},mode:function(){return 0},sample:function(n){return e.randn()*t.sqrt(n/(2*e.randg(n/2)))},variance:function(e){return e>2?e/(e-2):e>1?1/0:void 0}}),e.extend(e.weibull,{pdf:function(e,n,r){return e<0||n<0||r<0?0:r/n*t.pow(e/n,r-1)*t.exp(-t.pow(e/n,r))},cdf:function(e,n,r){return e<0?0:1-t.exp(-t.pow(e/n,r))},inv:function(e,n,r){return n*t.pow(-t.log(1-e),1/r)},mean:function(t,n){return t*e.gammafn(1+1/n)},median:function(e,n){return e*t.pow(t.log(2),1/n)},mode:function(e,n){return n<=1?0:e*t.pow((n-1)/n,1/n)},sample:function(n,r){return n*t.pow(-t.log(e._random_fn()),1/r)},variance:function(n,r){return n*n*e.gammafn(1+2/r)-t.pow(e.weibull.mean(n,r),2)}}),e.extend(e.uniform,{pdf:function(e,t,n){return en?0:1/(n-t)},cdf:function(e,t,n){return e=i)return 1;if(o<0||o>1||i<=0)return NaN;var s=o,l=(r=t.floor(r))+1,u=i-r,c=l+u,d=t.exp(e.gammaln(c)-e.gammaln(u)-e.gammaln(l)+l*t.log(s)+u*t.log(1-s));return a=s<(l+1)/(c+2)?d*n(s,l,u,1e-10):1-d*n(1-s,u,l,1e-10),t.round(1/1e-10*(1-a))/(1/1e-10)}}),e.extend(e.negbin,{pdf:function(n,r,i){return n===n>>>0&&(n<0?0:e.combination(n+r-1,r-1)*t.pow(1-i,n)*t.pow(i,r))},cdf:function(t,n,r){var i=0,o=0;if(t<0)return 0;for(;o<=t;o++)i+=e.negbin.pdf(o,n,r);return i}}),e.extend(e.hypgeom,{pdf:function(n,r,i,o){if(n!=n|0)return!1;if(n<0||no||n>i)return 0;if(2*i>r)return 2*o>r?e.hypgeom.pdf(r-i-o+n,r,r-i,r-o):e.hypgeom.pdf(o-n,r,r-i,o);if(2*o>r)return e.hypgeom.pdf(i-n,r,i,r-o);if(i1&&s=o||n>=i)return 1;if(2*i>r)return 2*o>r?e.hypgeom.cdf(r-i-o+n,r,r-i,r-o):1-e.hypgeom.cdf(o-n-1,r,r-i,o);if(2*o>r)return 1-e.hypgeom.cdf(i-n-1,r,i,r-o);if(i1&&lo);return i-1},sampleLarge:function(n){var r,i,o,a,s,l,u,c,d,h,f=n;for(a=t.sqrt(f),s=t.log(f),l=.02483*(u=.931+2.53*a)-.059,c=1.1239+1.1328/(u-3.4),d=.9277-3.6224/(u-2);;){if(i=t.random()-.5,o=t.random(),h=.5-t.abs(i),r=t.floor((2*l/h+u)*i+f+.43),h>=.07&&o<=d)return r;if(!(r<0||h<.013&&o>h)&&t.log(o)+t.log(c)-t.log(l/(h*h)+u)<=r*s-f-e.loggam(r+1))return r}},sample:function(e){return e<10?this.sampleSmall(e):this.sampleLarge(e)}}),e.extend(e.triangular,{pdf:function(e,t,n,r){return n<=t||rn?NaN:en?0:er?NaN:e<=n?0:e>=r?1:e<=i?t.pow(e-n,2)/((r-n)*(i-n)):1-t.pow(r-e,2)/((r-n)*(r-i))},inv:function(e,n,r,i){return r<=n||ir?NaN:e<=(i-n)/(r-n)?n+(r-n)*t.sqrt(e*((i-n)/(r-n))):n+(r-n)*(1-t.sqrt((1-e)*(1-(i-n)/(r-n))))},mean:function(e,t,n){return(e+t+n)/3},median:function(e,n,r){return r<=(e+n)/2?n-t.sqrt((n-e)*(n-r))/t.sqrt(2):r>(e+n)/2?e+t.sqrt((n-e)*(r-e))/t.sqrt(2):void 0},mode:function(e,t,n){return n},sample:function(n,r,i){var o=e._random_fn();return o<(i-n)/(r-n)?n+t.sqrt(o*(r-n)*(i-n)):r-t.sqrt((1-o)*(r-n)*(r-i))},variance:function(e,t,n){return(e*e+t*t+n*n-e*t-e*n-t*n)/18}}),e.extend(e.arcsine,{pdf:function(e,n,r){return r<=n?NaN:e<=n||e>=r?0:2/t.PI*t.pow(t.pow(r-n,2)-t.pow(2*e-n-r,2),-.5)},cdf:function(e,n,r){return e25e3)return r(n,1,a);var u,c=.5*o,d=c*t.log(o)-o*t.log(2)-e.gammaln(c),h=c-1,f=.25*o;u=o<=100?1:o<=800?.5:o<=5e3?.25:.125,d+=t.log(u);for(var p=0,m=1;m<=50;m++){for(var g=0,v=(2*m-1)*u,y=1;y<=16;y++){var b,_;8=-30&&(g+=r(8=1&&g<=1e-14)break;p+=g}if(g>1e-14)throw new Error("tukey.cdf failed to converge");return p>1&&(p=1),p},inv:function(n,r,i){if(i<2||r<2)return NaN;if(n<0||n>1)return NaN;if(0===n)return 0;if(1===n)return 1/0;var o,a=function(e,n,r){var i=.5-.5*e,o=t.sqrt(t.log(1/(i*i))),a=o+((((-453642210148e-16*o-.204231210125)*o-.342242088547)*o-1)*o+.322232421088)/((((.0038560700634*o+.10353775285)*o+.531103462366)*o+.588581570495)*o+.099348462606);r<120&&(a+=(a*a*a+a)/r/4);var s=.8832-.2368*a;return r<120&&(s+=-1.214/r+1.208*a/r),a*(s*t.log(n-1)+1.4142)}(n,r,i),s=e.tukey.cdf(a,r,i)-n;o=s>0?t.max(0,a-1):a+1;for(var l,u=e.tukey.cdf(o,r,i)-n,c=1;c<50;c++)if(l=o-u*(o-a)/(u-s),s=u,a=o,l<0&&(l=0,u=-n),u=e.tukey.cdf(l,r,i)-n,o=l,t.abs(o-a)<1e-4)return l;throw new Error("tukey.inv failed to converge")}})}(r,Math),function(e,t){var n,r,i=Array.prototype.push,o=e.utils.isArray;function a(t){return o(t)||t instanceof e}e.extend({add:function(t,n){return a(n)?(a(n[0])||(n=[n]),e.map(t,(function(e,t,r){return e+n[t][r]}))):e.map(t,(function(e){return e+n}))},subtract:function(t,n){return a(n)?(a(n[0])||(n=[n]),e.map(t,(function(e,t,r){return e-n[t][r]||0}))):e.map(t,(function(e){return e-n}))},divide:function(t,n){return a(n)?(a(n[0])||(n=[n]),e.multiply(t,e.inv(n))):e.map(t,(function(e){return e/n}))},multiply:function(t,n){var r,i,o,s,l,u,c,d;if(void 0===t.length&&void 0===n.length)return t*n;if(l=t.length,u=t[0].length,c=e.zeros(l,o=a(n)?n[0].length:u),d=0,a(n)){for(;d=0;l--){for(f=0,u=l+1;u<=c-1;u++)f+=p[u]*n[l][u];p[l]=(n[l][i-1]-f)/n[l][l]}return p},gauss_jordan:function(n,r){var i,o,a,s=e.aug(n,r),l=s.length,u=s[0].length,c=0;for(o=0;ot.abs(s[d][o])&&(d=a);var h=s[o];for(s[o]=s[d],s[d]=h,a=o+1;a=0;o--){for(c=s[o][o],a=0;ao-1;i--)s[a][i]-=s[o][i]*s[a][o]/c;for(s[o][o]/=c,i=l;id?(f[c][d]=n[c][d],p[c][d]=m[c][d]=0):co;)a=u,u=e.add(e.multiply(l,a),s),c++;return u},gauss_seidel:function(n,r,i,o){for(var a,s,l,u,c,d=0,h=n.length,f=[],p=[],m=[];da?(f[d][a]=n[d][a],p[d][a]=m[d][a]=0):do;)s=c,c=e.add(e.multiply(u,s),l),d+=1;return c},SOR:function(n,r,i,o,a){for(var s,l,u,c,d,h=0,f=n.length,p=[],m=[],g=[];hs?(p[h][s]=n[h][s],m[h][s]=g[h][s]=0):ho;)l=d,d=e.add(e.multiply(c,l),u),h++;return d},householder:function(n){for(var r,i,o,a,s=n.length,l=n[0].length,u=0,c=[],d=[];u0?-1:1)*t.sqrt(r),i=t.sqrt((r*r-n[u+1][u]*r)/2),(c=e.zeros(s,1))[u+1][0]=(n[u+1][u]-r)/(2*i),o=u+2;o0?t.PI/4:-t.PI/4:t.atan(2*n[o][a]/(n[o][o]-n[a][a]))/2,(u=e.identity(d,d))[o][o]=t.cos(l),u[o][a]=-t.sin(l),u[a][o]=t.sin(l),u[a][a]=t.cos(l),h=e.multiply(h,u),n=e.multiply(e.multiply(e.inv(u),n),u),c=0,r=1;r.001&&(c=1)}for(r=0;r=d;)a=o(e,r+i),s=o(e,r),f[h]=(n[a]-2*n[s]+n[2*s-a])/(i*i),i/=2,h++;for(u=f.length,l=1;1!=u;){for(c=0;cr);i++);return n[i-=1]+(r-t[i])*h[i]+e.sq(r-t[i])*o[i]+(r-t[i])*e.sq(r-t[i])*f[i]},gauss_quadrature:function(){throw new Error("gauss_quadrature not yet implemented")},PCA:function(t){var n,r,i,o,a,s=t.length,l=t[0].length,u=0,c=[],d=[],h=[],f=[],p=[],m=[],g=[];for(u=0;u1||r>1||e<=0||r<=0)throw new Error("Proportions should be greater than 0 and less than 1");var o=(e*n+r*i)/(n+i);return(e-r)/t.sqrt(o*(1-o)*(1/n+1/i))}e.extend({zscore:function(){var t=n.call(arguments);return r(t[1])?(t[0]-t[1])/t[2]:(t[0]-e.mean(t[1]))/e.stdev(t[1],t[2])},ztest:function(){var r,o=n.call(arguments);return i(o[1])?(r=e.zscore(o[0],o[1],o[3]),1===o[2]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1)):o.length>2?(r=e.zscore(o[0],o[1],o[2]),1===o[3]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1)):(r=o[0],1===o[1]?e.normal.cdf(-t.abs(r),0,1):2*e.normal.cdf(-t.abs(r),0,1))}}),e.extend(e.fn,{zscore:function(e,t){return(e-this.mean())/this.stdev(t)},ztest:function(n,r,i){var o=t.abs(this.zscore(n,i));return 1===r?e.normal.cdf(-o,0,1):2*e.normal.cdf(-o,0,1)}}),e.extend({tscore:function(){var r=n.call(arguments);return 4===r.length?(r[0]-r[1])/(r[2]/t.sqrt(r[3])):(r[0]-e.mean(r[1]))/(e.stdev(r[1],!0)/t.sqrt(r[1].length))},ttest:function(){var i,o=n.call(arguments);return 5===o.length?(i=t.abs(e.tscore(o[0],o[1],o[2],o[3])),1===o[4]?e.studentt.cdf(-i,o[3]-1):2*e.studentt.cdf(-i,o[3]-1)):r(o[1])?(i=t.abs(o[0]),1==o[2]?e.studentt.cdf(-i,o[1]-1):2*e.studentt.cdf(-i,o[1]-1)):(i=t.abs(e.tscore(o[0],o[1])),1==o[2]?e.studentt.cdf(-i,o[1].length-1):2*e.studentt.cdf(-i,o[1].length-1))}}),e.extend(e.fn,{tscore:function(e){return(e-this.mean())/(this.stdev(!0)/t.sqrt(this.cols()))},ttest:function(n,r){return 1===r?1-e.studentt.cdf(t.abs(this.tscore(n)),this.cols()-1):2*e.studentt.cdf(-t.abs(this.tscore(n)),this.cols()-1)}}),e.extend({anovafscore:function(){var r,i,o,a,s,l,u,c,d=n.call(arguments);if(1===d.length){for(s=new Array(d[0].length),u=0;u.5?1-n:n)})),c=r.studentt.inv(.975,t.df_resid),d=t.coef.map((function(e,t){var n=c*s[t];return[e-n,e+n]}));return{se:s,t:l,p:u,sigmaHat:a,interval95:d}}return{ols:function(n,i){var o=e(n,i),a=t(o),s=function(e){var t,n,i,o=e.R2/e.df_model/((1-e.R2)/e.df_resid);return{F_statistic:o,pvalue:1-(t=o,n=e.df_model,i=e.df_resid,r.beta.cdf(t/(i/n+t),n/2,i/2))}}(o),l=1-(1-o.R2)*((o.nobs-1)/o.df_resid);return o.t=a,o.f=s,o.adjust_R2=l,o}}}(),r.extend({buildxmatrix:function(){for(var e=new Array(arguments.length),t=0;t1){for(a=[],n=0;n=i.length?o.REPT("0",t-i.length)+i:r.num},t.BIN2OCT=function(e,t){if(!l(e))return r.num;var n=e.toString();if(10===n.length&&"1"===n.substring(0,1))return(1073741312+parseInt(n.substring(1),2)).toString(8);var i=parseInt(e,2).toString(8);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?o.REPT("0",t-i.length)+i:r.num},t.BITAND=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e&t},t.BITLSHIFT=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<0||Math.floor(e)!==e||e>0xffffffffffff||Math.abs(t)>53?r.num:t>=0?e<>-t},t.BITOR=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e|t},t.BITRSHIFT=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<0||Math.floor(e)!==e||e>0xffffffffffff||Math.abs(t)>53?r.num:t>=0?e>>t:e<<-t},t.BITXOR=function(e,t){return e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e<0||t<0||Math.floor(e)!==e||Math.floor(t)!==t||e>0xffffffffffff||t>0xffffffffffff?r.num:e^t},t.COMPLEX=function(e,t,n){if(e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t))return e;if("i"!==(n=void 0===n?"i":n)&&"j"!==n)return r.value;if(0===e&&0===t)return 0;if(0===e)return 1===t?n:t.toString()+n;if(0===t)return e.toString();var i=t>0?"+":"";return e.toString()+i+(1===t?n:t.toString()+n)},t.CONVERT=function(e,t,n){if((e=a.parseNumber(e))instanceof Error)return e;for(var i,o=[["a.u. of action","?",null,"action",!1,!1,105457168181818e-48],["a.u. of charge","e",null,"electric_charge",!1,!1,160217653141414e-33],["a.u. of energy","Eh",null,"energy",!1,!1,435974417757576e-32],["a.u. of length","a?",null,"length",!1,!1,529177210818182e-25],["a.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["a.u. of time","?/Eh",null,"time",!1,!1,241888432650516e-31],["admiralty knot","admkn",null,"speed",!1,!0,.514773333],["ampere","A",null,"electric_current",!0,!1,1],["ampere per meter","A/m",null,"magnetic_field_intensity",!0,!1,1],["ångström","Å",["ang"],"length",!1,!0,1e-10],["are","ar",null,"area",!1,!0,100],["astronomical unit","ua",null,"length",!1,!1,149597870691667e-25],["bar","bar",null,"pressure",!1,!1,1e5],["barn","b",null,"area",!1,!1,1e-28],["becquerel","Bq",null,"radioactivity",!0,!1,1],["bit","bit",["b"],"information",!1,!0,1],["btu","BTU",["btu"],"energy",!1,!0,1055.05585262],["byte","byte",null,"information",!1,!0,8],["candela","cd",null,"luminous_intensity",!0,!1,1],["candela per square metre","cd/m?",null,"luminance",!0,!1,1],["coulomb","C",null,"electric_charge",!0,!1,1],["cubic ångström","ang3",["ang^3"],"volume",!1,!0,1e-30],["cubic foot","ft3",["ft^3"],"volume",!1,!0,.028316846592],["cubic inch","in3",["in^3"],"volume",!1,!0,16387064e-12],["cubic light-year","ly3",["ly^3"],"volume",!1,!0,846786664623715e-61],["cubic metre","m?",null,"volume",!0,!0,1],["cubic mile","mi3",["mi^3"],"volume",!1,!0,4168181825.44058],["cubic nautical mile","Nmi3",["Nmi^3"],"volume",!1,!0,6352182208],["cubic Pica","Pica3",["Picapt3","Pica^3","Picapt^3"],"volume",!1,!0,7.58660370370369e-8],["cubic yard","yd3",["yd^3"],"volume",!1,!0,.764554857984],["cup","cup",null,"volume",!1,!0,.0002365882365],["dalton","Da",["u"],"mass",!1,!1,166053886282828e-41],["day","d",["day"],"time",!1,!0,86400],["degree","°",null,"angle",!1,!1,.0174532925199433],["degrees Rankine","Rank",null,"temperature",!1,!0,.555555555555556],["dyne","dyn",["dy"],"force",!1,!0,1e-5],["electronvolt","eV",["ev"],"energy",!1,!0,1.60217656514141],["ell","ell",null,"length",!1,!0,1.143],["erg","erg",["e"],"energy",!1,!0,1e-7],["farad","F",null,"electric_capacitance",!0,!1,1],["fluid ounce","oz",null,"volume",!1,!0,295735295625e-16],["foot","ft",null,"length",!1,!0,.3048],["foot-pound","flb",null,"energy",!1,!0,1.3558179483314],["gal","Gal",null,"acceleration",!1,!1,.01],["gallon","gal",null,"volume",!1,!0,.003785411784],["gauss","G",["ga"],"magnetic_flux_density",!1,!0,1],["grain","grain",null,"mass",!1,!0,647989e-10],["gram","g",null,"mass",!1,!0,.001],["gray","Gy",null,"absorbed_dose",!0,!1,1],["gross registered ton","GRT",["regton"],"volume",!1,!0,2.8316846592],["hectare","ha",null,"area",!1,!0,1e4],["henry","H",null,"inductance",!0,!1,1],["hertz","Hz",null,"frequency",!0,!1,1],["horsepower","HP",["h"],"power",!1,!0,745.69987158227],["horsepower-hour","HPh",["hh","hph"],"energy",!1,!0,2684519.538],["hour","h",["hr"],"time",!1,!0,3600],["imperial gallon (U.K.)","uk_gal",null,"volume",!1,!0,.00454609],["imperial hundredweight","lcwt",["uk_cwt","hweight"],"mass",!1,!0,50.802345],["imperial quart (U.K)","uk_qt",null,"volume",!1,!0,.0011365225],["imperial ton","brton",["uk_ton","LTON"],"mass",!1,!0,1016.046909],["inch","in",null,"length",!1,!0,.0254],["international acre","uk_acre",null,"area",!1,!0,4046.8564224],["IT calorie","cal",null,"energy",!1,!0,4.1868],["joule","J",null,"energy",!0,!0,1],["katal","kat",null,"catalytic_activity",!0,!1,1],["kelvin","K",["kel"],"temperature",!0,!0,1],["kilogram","kg",null,"mass",!0,!0,1],["knot","kn",null,"speed",!1,!0,.514444444444444],["light-year","ly",null,"length",!1,!0,9460730472580800],["litre","L",["l","lt"],"volume",!1,!0,.001],["lumen","lm",null,"luminous_flux",!0,!1,1],["lux","lx",null,"illuminance",!0,!1,1],["maxwell","Mx",null,"magnetic_flux",!1,!1,1e-18],["measurement ton","MTON",null,"volume",!1,!0,1.13267386368],["meter per hour","m/h",["m/hr"],"speed",!1,!0,.00027777777777778],["meter per second","m/s",["m/sec"],"speed",!0,!0,1],["meter per second squared","m?s??",null,"acceleration",!0,!1,1],["parsec","pc",["parsec"],"length",!1,!0,0x6da012f958ee1c],["meter squared per second","m?/s",null,"kinematic_viscosity",!0,!1,1],["metre","m",null,"length",!0,!0,1],["miles per hour","mph",null,"speed",!1,!0,.44704],["millimetre of mercury","mmHg",null,"pressure",!1,!1,133.322],["minute","?",null,"angle",!1,!1,.000290888208665722],["minute","min",["mn"],"time",!1,!0,60],["modern teaspoon","tspm",null,"volume",!1,!0,5e-6],["mole","mol",null,"amount_of_substance",!0,!1,1],["morgen","Morgen",null,"area",!1,!0,2500],["n.u. of action","?",null,"action",!1,!1,105457168181818e-48],["n.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["n.u. of speed","c?",null,"speed",!1,!1,299792458],["n.u. of time","?/(me?c??)",null,"time",!1,!1,128808866778687e-35],["nautical mile","M",["Nmi"],"length",!1,!0,1852],["newton","N",null,"force",!0,!0,1],["œrsted","Oe ",null,"magnetic_field_intensity",!1,!1,79.5774715459477],["ohm","Ω",null,"electric_resistance",!0,!1,1],["ounce mass","ozm",null,"mass",!1,!0,.028349523125],["pascal","Pa",null,"pressure",!0,!1,1],["pascal second","Pa?s",null,"dynamic_viscosity",!0,!1,1],["pferdestärke","PS",null,"power",!1,!0,735.49875],["phot","ph",null,"illuminance",!1,!1,1e-4],["pica (1/6 inch)","pica",null,"length",!1,!0,.00035277777777778],["pica (1/72 inch)","Pica",["Picapt"],"length",!1,!0,.00423333333333333],["poise","P",null,"dynamic_viscosity",!1,!1,.1],["pond","pond",null,"force",!1,!0,.00980665],["pound force","lbf",null,"force",!1,!0,4.4482216152605],["pound mass","lbm",null,"mass",!1,!0,.45359237],["quart","qt",null,"volume",!1,!0,.000946352946],["radian","rad",null,"angle",!0,!1,1],["second","?",null,"angle",!1,!1,484813681109536e-20],["second","s",["sec"],"time",!0,!0,1],["short hundredweight","cwt",["shweight"],"mass",!1,!0,45.359237],["siemens","S",null,"electrical_conductance",!0,!1,1],["sievert","Sv",null,"equivalent_dose",!0,!1,1],["slug","sg",null,"mass",!1,!0,14.59390294],["square ångström","ang2",["ang^2"],"area",!1,!0,1e-20],["square foot","ft2",["ft^2"],"area",!1,!0,.09290304],["square inch","in2",["in^2"],"area",!1,!0,64516e-8],["square light-year","ly2",["ly^2"],"area",!1,!0,895054210748189e17],["square meter","m?",null,"area",!0,!0,1],["square mile","mi2",["mi^2"],"area",!1,!0,2589988.110336],["square nautical mile","Nmi2",["Nmi^2"],"area",!1,!0,3429904],["square Pica","Pica2",["Picapt2","Pica^2","Picapt^2"],"area",!1,!0,1792111111111e-17],["square yard","yd2",["yd^2"],"area",!1,!0,.83612736],["statute mile","mi",null,"length",!1,!0,1609.344],["steradian","sr",null,"solid_angle",!0,!1,1],["stilb","sb",null,"luminance",!1,!1,1e-4],["stokes","St",null,"kinematic_viscosity",!1,!1,1e-4],["stone","stone",null,"mass",!1,!0,6.35029318],["tablespoon","tbs",null,"volume",!1,!0,147868e-10],["teaspoon","tsp",null,"volume",!1,!0,492892e-11],["tesla","T",null,"magnetic_flux_density",!0,!0,1],["thermodynamic calorie","c",null,"energy",!1,!0,4.184],["ton","ton",null,"mass",!1,!0,907.18474],["tonne","t",null,"mass",!1,!1,1e3],["U.K. pint","uk_pt",null,"volume",!1,!0,.00056826125],["U.S. bushel","bushel",null,"volume",!1,!0,.03523907],["U.S. oil barrel","barrel",null,"volume",!1,!0,.158987295],["U.S. pint","pt",["us_pt"],"volume",!1,!0,.000473176473],["U.S. survey mile","survey_mi",null,"length",!1,!0,1609.347219],["U.S. survey/statute acre","us_acre",null,"area",!1,!0,4046.87261],["volt","V",null,"voltage",!0,!1,1],["watt","W",null,"power",!0,!0,1],["watt-hour","Wh",["wh"],"energy",!1,!0,3600],["weber","Wb",null,"magnetic_flux",!0,!1,1],["yard","yd",null,"length",!1,!0,.9144],["year","yr",null,"time",!1,!0,31557600]],s={Yi:["yobi",80,12089258196146292e8,"Yi","yotta"],Zi:["zebi",70,11805916207174113e5,"Zi","zetta"],Ei:["exbi",60,0x1000000000000000,"Ei","exa"],Pi:["pebi",50,0x4000000000000,"Pi","peta"],Ti:["tebi",40,1099511627776,"Ti","tera"],Gi:["gibi",30,1073741824,"Gi","giga"],Mi:["mebi",20,1048576,"Mi","mega"],ki:["kibi",10,1024,"ki","kilo"]},l={Y:["yotta",1e24,"Y"],Z:["zetta",1e21,"Z"],E:["exa",1e18,"E"],P:["peta",1e15,"P"],T:["tera",1e12,"T"],G:["giga",1e9,"G"],M:["mega",1e6,"M"],k:["kilo",1e3,"k"],h:["hecto",100,"h"],e:["dekao",10,"e"],d:["deci",.1,"d"],c:["centi",.01,"c"],m:["milli",.001,"m"],u:["micro",1e-6,"u"],n:["nano",1e-9,"n"],p:["pico",1e-12,"p"],f:["femto",1e-15,"f"],a:["atto",1e-18,"a"],z:["zepto",1e-21,"z"],y:["yocto",1e-24,"y"]},u=null,c=null,d=t,h=n,f=1,p=1,m=0;m=0)&&(u=o[m]),(o[m][1]===h||i.indexOf(h)>=0)&&(c=o[m]);if(null===u){var g=s[t.substring(0,2)],v=l[t.substring(0,1)];"da"===t.substring(0,2)&&(v=["dekao",10,"da"]),g?(f=g[2],d=t.substring(2)):v&&(f=v[1],d=t.substring(v[2].length));for(var y=0;y=0)&&(u=o[y])}if(null===c){var b=s[n.substring(0,2)],_=l[n.substring(0,1)];"da"===n.substring(0,2)&&(_=["dekao",10,"da"]),b?(p=b[2],h=n.substring(2)):_&&(p=_[1],h=n.substring(_[2].length));for(var w=0;w=0)&&(c=o[w])}return null===u||null===c||u[3]!==c[3]?r.na:e*u[6]*f/(c[6]*p)},t.DEC2BIN=function(e,t){if((e=a.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,3}$/.test(e)||e<-512||e>511)return r.num;if(e<0)return"1"+o.REPT("0",9-(512+e).toString(2).length)+(512+e).toString(2);var n=parseInt(e,10).toString(2);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?o.REPT("0",t-n.length)+n:r.num},t.DEC2HEX=function(e,t){if((e=a.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,12}$/.test(e)||e<-549755813888||e>549755813887)return r.num;if(e<0)return(1099511627776+e).toString(16);var n=parseInt(e,10).toString(16);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?o.REPT("0",t-n.length)+n:r.num},t.DEC2OCT=function(e,t){if((e=a.parseNumber(e))instanceof Error)return e;if(!/^-?[0-9]{1,9}$/.test(e)||e<-536870912||e>536870911)return r.num;if(e<0)return(1073741824+e).toString(8);var n=parseInt(e,10).toString(8);return void 0===t?n:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=n.length?o.REPT("0",t-n.length)+n:r.num},t.DELTA=function(e,t){return t=void 0===t?0:t,e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:e===t?1:0},t.ERF=function(e,t){return t=void 0===t?0:t,e=a.parseNumber(e),t=a.parseNumber(t),a.anyIsError(e,t)?r.value:i.erf(e)},t.ERF.PRECISE=function(){throw new Error("ERF.PRECISE is not implemented")},t.ERFC=function(e){return isNaN(e)?r.value:i.erfc(e)},t.ERFC.PRECISE=function(){throw new Error("ERFC.PRECISE is not implemented")},t.GESTEP=function(e,t){return t=t||0,e=a.parseNumber(e),a.anyIsError(t,e)?e:e>=t?1:0},t.HEX2BIN=function(e,t){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var n=10===e.length&&"f"===e.substring(0,1).toLowerCase(),i=n?parseInt(e,16)-1099511627776:parseInt(e,16);if(i<-512||i>511)return r.num;if(n)return"1"+o.REPT("0",9-(512+i).toString(2).length)+(512+i).toString(2);var a=i.toString(2);return void 0===t?a:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=a.length?o.REPT("0",t-a.length)+a:r.num},t.HEX2DEC=function(e){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var t=parseInt(e,16);return t>=549755813888?t-1099511627776:t},t.HEX2OCT=function(e,t){if(!/^[0-9A-Fa-f]{1,10}$/.test(e))return r.num;var n=parseInt(e,16);if(n>536870911&&n<0xffe0000000)return r.num;if(n>=0xffe0000000)return(n-0xffc0000000).toString(8);var i=n.toString(8);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?o.REPT("0",t-i.length)+i:r.num},t.IMABS=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.value:Math.sqrt(Math.pow(n,2)+Math.pow(i,2))},t.IMAGINARY=function(e){if(void 0===e||!0===e||!1===e)return r.value;if(0===e||"0"===e)return 0;if(["i","j"].indexOf(e)>=0)return 1;var t=(e=e.replace("+i","+1i").replace("-i","-1i").replace("+j","+1j").replace("-j","-1j")).indexOf("+"),n=e.indexOf("-");0===t&&(t=e.indexOf("+",1)),0===n&&(n=e.indexOf("-",1));var i=e.substring(e.length-1,e.length),o="i"===i||"j"===i;return t>=0||n>=0?o?t>=0?isNaN(e.substring(0,t))||isNaN(e.substring(t+1,e.length-1))?r.num:Number(e.substring(t+1,e.length-1)):isNaN(e.substring(0,n))||isNaN(e.substring(n+1,e.length-1))?r.num:-Number(e.substring(n+1,e.length-1)):r.num:o?isNaN(e.substring(0,e.length-1))?r.num:e.substring(0,e.length-1):isNaN(e)?r.num:0},t.IMARGUMENT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.value:0===n&&0===i?r.div0:0===n&&i>0?Math.PI/2:0===n&&i<0?-Math.PI/2:0===i&&n>0?0:0===i&&n<0?-Math.PI:n>0?Math.atan(i/n):n<0&&i>=0?Math.atan(i/n)+Math.PI:Math.atan(i/n)-Math.PI},t.IMCONJUGATE=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",0!==i?t.COMPLEX(n,-i,o):e},t.IMCOS=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.cos(n)*(Math.exp(i)+Math.exp(-i))/2,-Math.sin(n)*(Math.exp(i)-Math.exp(-i))/2,o)},t.IMCOSH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.cos(i)*(Math.exp(n)+Math.exp(-n))/2,Math.sin(i)*(Math.exp(n)-Math.exp(-n))/2,o)},t.IMCOT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.value:t.IMDIV(t.IMCOS(e),t.IMSIN(e))},t.IMDIV=function(e,n){var i=t.IMREAL(e),o=t.IMAGINARY(e),s=t.IMREAL(n),l=t.IMAGINARY(n);if(a.anyIsError(i,o,s,l))return r.value;var u=e.substring(e.length-1),c=n.substring(n.length-1),d="i";if(("j"===u||"j"===c)&&(d="j"),0===s&&0===l)return r.num;var h=s*s+l*l;return t.COMPLEX((i*s+o*l)/h,(o*s-i*l)/h,d)},t.IMEXP=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);o="i"===o||"j"===o?o:"i";var s=Math.exp(n);return t.COMPLEX(s*Math.cos(i),s*Math.sin(i),o)},t.IMLN=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i)),Math.atan(i/n),o)},t.IMLOG10=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i))/Math.log(10),Math.atan(i/n)/Math.log(10),o)},t.IMLOG2=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.log(Math.sqrt(n*n+i*i))/Math.log(2),Math.atan(i/n)/Math.log(2),o)},t.IMPOWER=function(e,n){n=a.parseNumber(n);var i=t.IMREAL(e),o=t.IMAGINARY(e);if(a.anyIsError(n,i,o))return r.value;var s=e.substring(e.length-1);s="i"===s||"j"===s?s:"i";var l=Math.pow(t.IMABS(e),n),u=t.IMARGUMENT(e);return t.COMPLEX(l*Math.cos(n*u),l*Math.sin(n*u),s)},t.IMPRODUCT=function(){var e=arguments[0];if(!arguments.length)return r.value;for(var n=1;n=0)return 0;var t=e.indexOf("+"),n=e.indexOf("-");0===t&&(t=e.indexOf("+",1)),0===n&&(n=e.indexOf("-",1));var i=e.substring(e.length-1,e.length),o="i"===i||"j"===i;return t>=0||n>=0?o?t>=0?isNaN(e.substring(0,t))||isNaN(e.substring(t+1,e.length-1))?r.num:Number(e.substring(0,t)):isNaN(e.substring(0,n))||isNaN(e.substring(n+1,e.length-1))?r.num:Number(e.substring(0,n)):r.num:o?isNaN(e.substring(0,e.length-1))?r.num:0:isNaN(e)?r.num:e},t.IMSEC=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.value:t.IMDIV("1",t.IMCOS(e))},t.IMSECH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.value:t.IMDIV("1",t.IMCOSH(e))},t.IMSIN=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.sin(n)*(Math.exp(i)+Math.exp(-i))/2,Math.cos(n)*(Math.exp(i)-Math.exp(-i))/2,o)},t.IMSINH=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);return o="i"===o||"j"===o?o:"i",t.COMPLEX(Math.cos(i)*(Math.exp(n)-Math.exp(-n))/2,Math.sin(i)*(Math.exp(n)+Math.exp(-n))/2,o)},t.IMSQRT=function(e){var n=t.IMREAL(e),i=t.IMAGINARY(e);if(a.anyIsError(n,i))return r.value;var o=e.substring(e.length-1);o="i"===o||"j"===o?o:"i";var s=Math.sqrt(t.IMABS(e)),l=t.IMARGUMENT(e);return t.COMPLEX(s*Math.cos(l/2),s*Math.sin(l/2),o)},t.IMCSC=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.num:t.IMDIV("1",t.IMSIN(e))},t.IMCSCH=function(e){if(!0===e||!1===e)return r.value;var n=t.IMREAL(e),i=t.IMAGINARY(e);return a.anyIsError(n,i)?r.num:t.IMDIV("1",t.IMSINH(e))},t.IMSUB=function(e,t){var n=this.IMREAL(e),i=this.IMAGINARY(e),o=this.IMREAL(t),s=this.IMAGINARY(t);if(a.anyIsError(n,i,o,s))return r.value;var l=e.substring(e.length-1),u=t.substring(t.length-1),c="i";return("j"===l||"j"===u)&&(c="j"),this.COMPLEX(n-o,i-s,c)},t.IMSUM=function(){if(!arguments.length)return r.value;for(var e=a.flatten(arguments),t=e[0],n=1;n511)return r.num;if(n)return"1"+o.REPT("0",9-(512+i).toString(2).length)+(512+i).toString(2);var a=i.toString(2);return void 0===t?a:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=a.length?o.REPT("0",t-a.length)+a:r.num},t.OCT2DEC=function(e){if(!/^[0-7]{1,10}$/.test(e))return r.num;var t=parseInt(e,8);return t>=536870912?t-1073741824:t},t.OCT2HEX=function(e,t){if(!/^[0-7]{1,10}$/.test(e))return r.num;var n=parseInt(e,8);if(n>=536870912)return"ff"+(n+3221225472).toString(16);var i=n.toString(16);return void 0===t?i:isNaN(t)?r.value:t<0?r.num:(t=Math.floor(t))>=i.length?o.REPT("0",t-i.length)+i:r.num}},function(e,t,n){"use strict";t.__esModule=!0,t.default=["ABS","ACCRINT","ACOS","ACOSH","ACOT","ACOTH","ADD","AGGREGATE","AND","ARABIC","ARGS2ARRAY","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETA.DIST","BETA.INV","BETADIST","BETAINV","BIN2DEC","BIN2HEX","BIN2OCT","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BINOMDIST","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CEILING","CEILINGMATH","CEILINGPRECISE","CHAR","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHOOSE","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUNTIN","COUNTUNIQUE","COVARIANCE.P","COVARIANCE.S","CSC","CSCH","CUMIPMT","CUMPRINC","DATE","DATEVALUE","DAY","DAYS","DAYS360","DB","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DIVIDE","DOLLARDE","DOLLARFR","E","EDATE","EFFECT","EOMONTH","EQ","ERF","ERFC","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","F.DIST","F.DIST.RT","F.INV","F.INV.RT","FACT","FACTDOUBLE","FALSE","FDIST","FDISTRT","FIND","FINV","FINVRT","FISHER","FISHERINV","FLATTEN","FLOOR","FORECAST","FREQUENCY","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMA.INV","GAMMADIST","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GROWTH","GTE","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HOUR","HTML2TEXT","HYPGEOM.DIST","HYPGEOMDIST","IF","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INT","INTERCEPT","INTERVAL","IPMT","IRR","ISBINARY","ISBLANK","ISEVEN","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISODD","ISOWEEKNUM","ISPMT","ISTEXT","JOIN","KURT","LARGE","LCM","LEFT","LEN","LINEST","LN","LOG","LOG10","LOGEST","LOGNORM.DIST","LOGNORM.INV","LOGNORMDIST","LOGNORMINV","LOWER","LT","LTE","MATCH","MAX","MAXA","MEDIAN","MID","MIN","MINA","MINUS","MINUTE","MIRR","MOD","MODE.MULT","MODE.SNGL","MODEMULT","MODESNGL","MONTH","MROUND","MULTINOMIAL","MULTIPLY","NE","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NOMINAL","NORM.DIST","NORM.INV","NORM.S.DIST","NORM.S.INV","NORMDIST","NORMINV","NORMSDIST","NORMSINV","NOT","NOW","NPER","NPV","NUMBERS","OCT2BIN","OCT2DEC","OCT2HEX","ODD","OR","PDURATION","PEARSON","PERCENTILEEXC","PERCENTILEINC","PERCENTRANKEXC","PERCENTRANKINC","PERMUT","PERMUTATIONA","PHI","PI","PMT","POISSON.DIST","POISSONDIST","POW","POWER","PPMT","PROB","PRODUCT","PROPER","PV","QUARTILE.EXC","QUARTILE.INC","QUARTILEEXC","QUARTILEINC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANKAVG","RANKEQ","RATE","REFERENCE","REGEXEXTRACT","REGEXMATCH","REGEXREPLACE","REPLACE","REPT","RIGHT","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","SEARCH","SEC","SECH","SECOND","SERIESSUM","SIGN","SIN","SINH","SKEW","SKEW.P","SKEWP","SLN","SLOPE","SMALL","SPLIT","SPLIT","SQRT","SQRTPI","STANDARDIZE","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STDEVS","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","T.DIST","T.DIST.2T","T.DIST.RT","T.INV","T.INV.2T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","TDIST","TDIST2T","TDISTRT","TIME","TIMEVALUE","TINV","TINV2T","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","UNICHAR","UNICODE","UNIQUE","UPPER","VAR.P","VAR.S","VARA","VARP","VARPA","VARS","WEEKDAY","WEEKNUM","WEIBULL.DIST","WEIBULLDIST","WORKDAY","XIRR","XNPV","XOR","YEAR","YEARFRAC"]},function(e,t,n){"use strict";function r(e){var t=parseInt(e,10);return t=isNaN(t)?-1:Math.max(t-1,-1)}function i(e){var t="";return e>=0&&(t=""+(e+1)),t}t.__esModule=!0,t.rowLabelToIndex=r,t.rowIndexToLabel=i,t.columnLabelToIndex=a,t.columnIndexToLabel=s,t.extractLabel=function(e){if("string"!=typeof e||!l.test(e))return[];var t=e.toUpperCase().match(l),n=t[1],i=t[2],o=t[3],s=t[4];return[{index:r(s),label:s,isAbsolute:"$"===o},{index:a(i),label:i,isAbsolute:"$"===n}]},t.toLabel=function(e,t){var n=(e.isAbsolute?"$":"")+i(e.index);return(t.isAbsolute?"$":"")+s(t.index)+n};var o="ABCDEFGHIJKLMNOPQRSTUVWXYZ".length;function a(e){var t=0;if("string"==typeof e)for(var n=0,r=(e=e.toUpperCase()).length-1;n=0;)t=String.fromCharCode(e%o+97)+t,e=Math.floor(e/o)-1;return t.toUpperCase()}var l=/^([$])?([A-Za-z]+)([$])?([0-9]+)$/},function(e,t,n){"use strict";t.__esModule=!0,t.rowLabelToIndex=t.rowIndexToLabel=t.columnLabelToIndex=t.columnIndexToLabel=t.toLabel=t.extractLabel=t.error=t.Parser=t.ERROR_VALUE=t.ERROR_REF=t.ERROR_NUM=t.ERROR_NULL=t.ERROR_NOT_AVAILABLE=t.ERROR_NAME=t.ERROR_DIV_ZERO=t.ERROR=t.SUPPORTED_FORMULAS=void 0;var r=l(n(16)),i=l(n(13)),o=n(2),a=l(o),s=n(14);function l(e){return e&&e.__esModule?e:{default:e}}t.SUPPORTED_FORMULAS=i.default,t.ERROR=o.ERROR,t.ERROR_DIV_ZERO=o.ERROR_DIV_ZERO,t.ERROR_NAME=o.ERROR_NAME,t.ERROR_NOT_AVAILABLE=o.ERROR_NOT_AVAILABLE,t.ERROR_NULL=o.ERROR_NULL,t.ERROR_NUM=o.ERROR_NUM,t.ERROR_REF=o.ERROR_REF,t.ERROR_VALUE=o.ERROR_VALUE,t.Parser=r.default,t.error=a.default,t.extractLabel=s.extractLabel,t.toLabel=s.toLabel,t.columnIndexToLabel=s.columnIndexToLabel,t.columnLabelToIndex=s.columnLabelToIndex,t.rowIndexToLabel=s.rowIndexToLabel,t.rowLabelToIndex=s.rowLabelToIndex},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(17)),i=d(n(18)),o=n(39),a=n(40),s=n(3),l=n(2),u=d(l),c=n(14);function d(e){return e&&e.__esModule?e:{default:e}}var h=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return n.parser=new o.Parser,n.parser.yy={toNumber:s.toNumber,trimEdges:a.trimEdges,invertNumber:s.invertNumber,throwError:function(e){return n._throwError(e)},callVariable:function(e){return n._callVariable(e)},evaluateByOperator:i.default,callFunction:function(e,t){return n._callFunction(e,t)},cellValue:function(e){return n._callCellValue(e)},rangeValue:function(e,t){return n._callRangeValue(e,t)}},n.variables=Object.create(null),n.functions=Object.create(null),n.setVariable("TRUE",!0).setVariable("FALSE",!1).setVariable("NULL",null),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.parse=function(e){var t=null,n=null;try{t=""===e?"":this.parser.parse(e)}catch(e){var r=(0,u.default)(e.message);n=r||(0,u.default)(l.ERROR)}return t instanceof Error&&(n=(0,u.default)(t.message)||(0,u.default)(l.ERROR),t=null),{error:n,result:t}},t.prototype.setVariable=function(e,t){return this.variables[e]=t,this},t.prototype.getVariable=function(e){return this.variables[e]},t.prototype._callVariable=function(e){var t=this.getVariable(e);if(this.emit("callVariable",e,(function(e){void 0!==e&&(t=e)})),void 0===t)throw Error(l.ERROR_NAME);return t},t.prototype.setFunction=function(e,t){return this.functions[e]=t,this},t.prototype.getFunction=function(e){return this.functions[e]},t.prototype._callFunction=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.getFunction(e),r=void 0;return n&&(r=n(t)),this.emit("callFunction",e,t,(function(e){void 0!==e&&(r=e)})),void 0===r?(0,i.default)(e,t):r},t.prototype._callCellValue=function(e){e=e.toUpperCase();var t=(0,c.extractLabel)(e),n=t[0],r=t[1],i=void 0;return this.emit("callCellValue",{label:e,row:n,column:r},(function(e){i=e})),i},t.prototype._callRangeValue=function(e,t){e=e.toUpperCase(),t=t.toUpperCase();var n=(0,c.extractLabel)(e),r=n[0],i=n[1],o=(0,c.extractLabel)(t),a=o[0],s=o[1],l={},u={};r.index<=a.index?(l.row=r,u.row=a):(l.row=a,u.row=r),i.index<=s.index?(l.column=i,u.column=s):(l.column=s,u.column=i),l.label=(0,c.toLabel)(l.row,l.column),u.label=(0,c.toLabel)(u.row,u.column);var d=[];return this.emit("callRangeValue",l,u,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];d=e})),d},t.prototype._throwError=function(e){if((0,l.isValidStrict)(e))throw Error(e);throw Error(l.ERROR)},t}(r.default);t.default=h},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r1&&void 0!==arguments[1]?arguments[1]:[];if(e=e.toUpperCase(),!y[e])throw Error(g.ERROR_NAME);return y[e].apply(y,t)},t.registerOperation=b;var r=v(n(19)),i=v(n(20)),o=v(n(21)),a=v(n(22)),s=v(n(23)),l=v(n(31)),u=v(n(32)),c=v(n(33)),d=v(n(34)),h=v(n(35)),f=v(n(36)),p=v(n(37)),m=v(n(38)),g=n(2);function v(e){return e&&e.__esModule?e:{default:e}}var y=Object.create(null);function b(e,t){Array.isArray(e)||(e=[e.toUpperCase()]),e.forEach((function(e){t.isFactory?y[e]=t(e):y[e]=t}))}b(r.default.SYMBOL,r.default),b(i.default.SYMBOL,i.default),b(o.default.SYMBOL,o.default),b(a.default.SYMBOL,a.default),b(m.default.SYMBOL,m.default),b(s.default.SYMBOL,s.default),b(l.default.SYMBOL,l.default),b(u.default.SYMBOL,u.default),b(c.default.SYMBOL,c.default),b(d.default.SYMBOL,d.default),b(f.default.SYMBOL,f.default),b(p.default.SYMBOL,p.default),b(h.default.SYMBOL,h.default)},function(e,t,n){"use strict";t.__esModule=!0,t.SYMBOL=void 0,t.default=a;var r=n(3),i=n(2),o=t.SYMBOL="+";function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;oi)o=r(n,i,l(n),f(n),-1);else{for(var a=!1,s=0,u=0,c=1,d=0,h=2/n,p=2*t.floor((i+t.floor(t.sqrt(40*i)))/2);p>0;p--)d=p*h*c-s,s=c,c=d,t.abs(c)>1e10&&(c*=1e-10,s*=1e-10,o*=1e-10,u*=1e-10),a&&(u+=c),a=!a,p==i&&(o=s);o/=u=2*u-c}return o}}(),b=(o=.636619772,a=[-2957821389,7062834065,-512359803.6,10879881.29,-86327.92757,228.4622733].reverse(),s=[40076544269,745249964.8,7189466.438,47447.2647,226.1030244,1].reverse(),l=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),u=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34945152e-8].reverse(),c=[-4900604943e3,127527439e4,-51534381390,734926455.1,-4237922.726,8511.937935].reverse(),d=[249958057e5,424441966400,3733650367,22459040.02,102042.605,354.9632885,1].reverse(),h=[1,.00183105,-3516396496e-14,2457520174e-15,-2.40337019e-7].reverse(),f=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse(),i((function(e){var r=0,i=0,c=0,d=e*e,h=e-.785398164;return e<8?r=(i=n(a,d))/(c=n(s,d))+o*y(e,0)*t.log(e):(i=n(l,d=64/d),c=n(u,d),r=t.sqrt(o/e)*(t.sin(h)*i+t.cos(h)*c*8/e)),r}),(function(e){var r=0,i=0,a=0,s=e*e,l=e-2.356194491;return e<8?r=(i=e*n(c,s))/(a=n(d,s))+o*(y(e,1)*t.log(e)-1/e):(i=n(h,s=64/s),a=n(f,s),r=t.sqrt(o/e)*(t.sin(l)*i+t.cos(l)*a*8/e)),r}),0,1,-1)),_=(p=[1,3.5156229,3.0899424,1.2067492,.2659732,.0360768,.0045813].reverse(),m=[.39894228,.01328592,.00225319,-.00157565,.00916281,-.02057706,.02635537,-.01647633,.00392377].reverse(),g=[.5,.87890594,.51498869,.15084934,.02658733,.00301532,32411e-8].reverse(),v=[.39894228,-.03988024,-.00362018,.00163801,-.01031555,.02282967,-.02895312,.01787654,-.00420059].reverse(),function e(r,i){if(0===(i=Math.round(i)))return function(e){return e<=3.75?n(p,e*e/14.0625):t.exp(t.abs(e))/t.sqrt(t.abs(e))*n(m,3.75/t.abs(e))}(r);if(1===i)return function(e){return e<3.75?e*n(g,e*e/14.0625):(e<0?-1:1)*t.exp(t.abs(e))/t.sqrt(t.abs(e))*n(v,3.75/t.abs(e))}(r);if(i<0)return NaN;if(0===t.abs(r))return 0;if(r==1/0)return 1/0;var o,a=0,s=2/t.abs(r),l=0,u=1,c=0;for(o=2*t.round((i+t.round(t.sqrt(40*i)))/2);o>0;o--)c=o*s*u+l,l=u,u=c,t.abs(u)>1e10&&(u*=1e-10,l*=1e-10,a*=1e-10),o==i&&(a=l);return a*=e(r,0)/u,r<0&&i%2?-a:a}),w=function(){var e=[-.57721566,.4227842,.23069756,.0348859,.00262698,1075e-7,74e-7].reverse(),r=[1.25331414,-.07832358,.02189568,-.01062446,.00587872,-.0025154,53208e-8].reverse(),o=[1,.15443144,-.67278579,-.18156897,-.01919402,-.00110404,-4686e-8].reverse(),a=[1.25331414,.23498619,-.0365562,.01504268,-.00780353,.00325614,-68245e-8].reverse();return i((function(i){return i<=2?-t.log(i/2)*_(i,0)+n(e,i*i/4):t.exp(-i)/t.sqrt(i)*n(r,2/i)}),(function(e){return e<=2?t.log(e/2)*_(e,1)+1/e*n(o,e*e/4):t.exp(-e)/t.sqrt(e)*n(a,2/e)}),0,2,1)}();e.besselj=y,e.bessely=b,e.besseli=_,e.besselk=w},"undefined"==typeof DO_NOT_EXPORT_BESSEL?r(t):r({})},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(1),s=n(7);function l(e){var t=[];return a.arrayEach(e,(function(e){e&&t.push(e)})),t}function u(e,t){for(var n={},r=1;ri&&(i=t[r].length);for(var o=1;o1?r.num:s[o[0]]},t.DMAX=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var o=u(e,i),s=[];if("string"==typeof n){var l=t.FINDFIELD(e,n);s=a.rest(e[l])}else s=a.rest(e[n]);var c=s[o[0]];return a.arrayEach(o,(function(e){cs[e]&&(c=s[e])})),c},t.DPRODUCT=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var o=u(e,i),s=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);s=a.rest(e[c])}else s=a.rest(e[n]);var d=[];a.arrayEach(o,(function(e){d.push(s[e])})),d=l(d);var h=1;return a.arrayEach(d,(function(e){h*=e})),h},t.DSTDEV=function(e,n,o){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,o),c=[];if("string"==typeof n){var d=t.FINDFIELD(e,n);c=a.rest(e[d])}else c=a.rest(e[n]);var h=[];return a.arrayEach(s,(function(e){h.push(c[e])})),h=l(h),i.STDEV.S(h)},t.DSTDEVP=function(e,n,o){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,o),c=[];if("string"==typeof n){var d=t.FINDFIELD(e,n);c=a.rest(e[d])}else c=a.rest(e[n]);var h=[];return a.arrayEach(s,(function(e){h.push(c[e])})),h=l(h),i.STDEV.P(h)},t.DSUM=function(e,n,i){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,i),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=a.rest(e[c])}else l=a.rest(e[n]);var d=[];return a.arrayEach(s,(function(e){d.push(l[e])})),o.SUM(d)},t.DVAR=function(e,n,o){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,o),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=a.rest(e[c])}else l=a.rest(e[n]);var d=[];return a.arrayEach(s,(function(e){d.push(l[e])})),i.VAR.S(d)},t.DVARP=function(e,n,o){if(isNaN(n)&&"string"!=typeof n)return r.value;var s=u(e,o),l=[];if("string"==typeof n){var c=t.FINDFIELD(e,n);l=a.rest(e[c])}else l=a.rest(e[n]);var d=[];return a.arrayEach(s,(function(e){d.push(l[e])})),i.VAR.P(d)}},function(e,t,n){var r=n(0),i=n(1),o=n(8);t.AND=function(){for(var e=i.flatten(arguments),t=!0,n=0;n254||arguments.length0){var t=arguments[0],n=arguments.length-1,i=Math.floor(n/2),o=!1,a=n%2!=0,s=n%2==0?null:arguments[arguments.length-1];if(i)for(var l=0;ls)return r.num;if(0!==l&&1!==l)return r.num;var u=t.PMT(e,n,i,0,l),c=0;1===a&&0===l&&(c=-i,a++);for(var d=a;d<=s;d++)c+=1===l?t.FV(e,d-2,u,i,1)-u:t.FV(e,d-1,u,i,0);return c*=e},t.CUMPRINC=function(e,n,i,a,s,l){if(e=o.parseNumber(e),n=o.parseNumber(n),i=o.parseNumber(i),o.anyIsError(e,n,i))return r.value;if(e<=0||n<=0||i<=0)return r.num;if(a<1||s<1||a>s)return r.num;if(0!==l&&1!==l)return r.num;var u=t.PMT(e,n,i,0,l),c=0;1===a&&(c=0===l?u+i*e:u,a++);for(var d=a;d<=s;d++)c+=l>0?u-(t.FV(e,d-2,u,i,1)-u)*e:u-t.FV(e,d-1,u,i,0)*e;return c},t.DB=function(e,t,n,i,a){if(a=void 0===a?12:a,e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),i=o.parseNumber(i),a=o.parseNumber(a),o.anyIsError(e,t,n,i,a))return r.value;if(e<0||t<0||n<0||i<0)return r.num;if(-1===[1,2,3,4,5,6,7,8,9,10,11,12].indexOf(a))return r.num;if(i>n)return r.num;if(t>=e)return 0;for(var s=(1-Math.pow(t/e,1/n)).toFixed(3),l=e*s*a/12,u=l,c=0,d=i===n?n-1:i,h=2;h<=d;h++)u+=c=(e-u)*s;return 1===i?l:i===n?(e-u)*s:c},t.DDB=function(e,t,n,i,a){if(a=void 0===a?2:a,e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),i=o.parseNumber(i),a=o.parseNumber(a),o.anyIsError(e,t,n,i,a))return r.value;if(e<0||t<0||n<0||i<0||a<=0)return r.num;if(i>n)return r.num;if(t>=e)return 0;for(var s=0,l=0,u=1;u<=i;u++)s+=l=Math.min(a/n*(e-s),e-t-s);return l},t.DISC=function(){throw new Error("DISC is not implemented")},t.DOLLARDE=function(e,t){if(e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t))return r.value;if(t<0)return r.num;if(t>=0&&t<1)return r.div0;t=parseInt(t,10);var n=parseInt(e,10);n+=e%1*Math.pow(10,Math.ceil(Math.log(t)/Math.LN10))/t;var i=Math.pow(10,Math.ceil(Math.log(t)/Math.LN2)+1);return n=Math.round(n*i)/i},t.DOLLARFR=function(e,t){if(e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t))return r.value;if(t<0)return r.num;if(t>=0&&t<1)return r.div0;t=parseInt(t,10);var n=parseInt(e,10);return n+=e%1*Math.pow(10,-Math.ceil(Math.log(t)/Math.LN10))*t},t.DURATION=function(){throw new Error("DURATION is not implemented")},t.EFFECT=function(e,t){return e=o.parseNumber(e),t=o.parseNumber(t),o.anyIsError(e,t)?r.value:e<=0||t<1?r.num:(t=parseInt(t,10),Math.pow(1+e/t,t)-1)},t.FV=function(e,t,n,i,a){if(i=i||0,a=a||0,e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),i=o.parseNumber(i),a=o.parseNumber(a),o.anyIsError(e,t,n,i,a))return r.value;var s;if(0===e)s=i+n*t;else{var l=Math.pow(1+e,t);s=1===a?i*l+n*(1+e)*(l-1)/e:i*l+n*(l-1)/e}return-s},t.FVSCHEDULE=function(e,t){if(e=o.parseNumber(e),t=o.parseNumberArray(o.flatten(t)),o.anyIsError(e,t))return r.value;for(var n=t.length,i=e,a=0;a0&&(s=!0),e[u]<0&&(l=!0);if(!s||!l)return r.num;var c,d,h,f=t=void 0===t?.1:t,p=!0;do{c=f-(h=n(e,a,f))/i(e,a,f),d=Math.abs(c-f),f=c,p=d>1e-10&&Math.abs(h)>1e-10}while(p);return f},t.ISPMT=function(e,t,n,i){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),i=o.parseNumber(i),o.anyIsError(e,t,n,i)?r.value:i*e*(t/n-1)},t.MDURATION=function(){throw new Error("MDURATION is not implemented")},t.MIRR=function(e,n,i){if(e=o.parseNumberArray(o.flatten(e)),n=o.parseNumber(n),i=o.parseNumber(i),o.anyIsError(e,n,i))return r.value;for(var a=e.length,s=[],l=[],u=0;u1e-10&&f<50;)p=(u*c-l*d)/(u-l),c=d,d=p,l=u,u=Math.abs(p)<1e-10?n*(1+e*p)+t*(1+p*a)*e+i:n*(h=Math.exp(e*Math.log(1+p)))+t*(1/p+a)*(h-1)+i,++f;return p},t.RECEIVED=function(){throw new Error("RECEIVED is not implemented")},t.RRI=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?r.value:0===e||0===t?r.num:Math.pow(n/t,1/e)-1},t.SLN=function(e,t,n){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?r.value:0===n?r.num:(e-t)/n},t.SYD=function(e,t,n,i){return e=o.parseNumber(e),t=o.parseNumber(t),n=o.parseNumber(n),i=o.parseNumber(i),o.anyIsError(e,t,n,i)?r.value:0===n||i<1||i>n?r.num:(e-t)*(n-(i=parseInt(i,10))+1)*2/(n*(n+1))},t.TBILLEQ=function(e,t,n){return e=o.parseDate(e),t=o.parseDate(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:365*n/(360-n*i.DAYS360(e,t,!1))},t.TBILLPRICE=function(e,t,n){return e=o.parseDate(e),t=o.parseDate(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:100*(1-n*i.DAYS360(e,t,!1)/360)},t.TBILLYIELD=function(e,t,n){return e=o.parseDate(e),t=o.parseDate(t),n=o.parseNumber(n),o.anyIsError(e,t,n)?r.value:n<=0||e>t||t-e>31536e6?r.num:360*(100-n)/(n*i.DAYS360(e,t,!1))},t.VDB=function(){throw new Error("VDB is not implemented")},t.XNPV=function(e,t,n){if(e=o.parseNumber(e),t=o.parseNumberArray(o.flatten(t)),n=o.parseDateArray(o.flatten(n)),o.anyIsError(e,t,n))return r.value;for(var a=0,s=0;so&&(i=a+1,o=t[a]):(i=a+1,o=t[a]))}else if(0===n){if("string"==typeof e){if(e=e.replace(/\?/g,"."),t[a].toLowerCase().match(e.toLowerCase()))return a+1}else if(t[a]===e)return a+1}else if(-1===n){if(t[a]===e)return a+1;t[a]>e&&(o?t[a]";function i(e,t){return e>t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=i;var r=t.SYMBOL=">=";function i(e,t){return e>=t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=i;var r=t.SYMBOL="<";function i(e,t){return e1?t-1:0),o=1;o1?t-1:0),o=1;o";function i(e,t){return e!==t}i.SYMBOL=r},function(e,t,n){"use strict";t.__esModule=!0,t.SYMBOL=void 0,t.default=a;var r=n(3),i=n(2),o=t.SYMBOL="^";function a(e,t){var n=Math.pow((0,r.toNumber)(e),(0,r.toNumber)(t));if(isNaN(n))throw Error(i.ERROR_VALUE);return n}a.SYMBOL=o},function(e,t,n){var r=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,5],n=[1,8],r=[1,6],i=[1,7],o=[1,9],a=[1,14],s=[1,15],l=[1,16],u=[1,12],c=[1,13],d=[1,17],h=[1,19],f=[1,20],p=[1,21],m=[1,22],g=[1,23],v=[1,24],y=[1,25],b=[1,26],_=[1,27],w=[1,28],S=[5,9,10,11,13,14,15,16,17,18,19,20,29,30],O=[5,9,10,11,13,14,15,16,17,18,19,20,29,30,32],C=[5,9,10,11,13,14,15,16,17,18,19,20,29,30,34],x=[5,10,11,13,14,15,16,17,29,30],T=[5,10,13,14,15,16,29,30],E=[5,10,11,13,14,15,16,17,18,19,29,30],k=[13,29,30],M={trace:function(){},yy:{},symbols_:{error:2,expressions:3,expression:4,EOF:5,variableSequence:6,number:7,STRING:8,"&":9,"=":10,"+":11,"(":12,")":13,"<":14,">":15,NOT:16,"-":17,"*":18,"/":19,"^":20,FUNCTION:21,expseq:22,cell:23,ABSOLUTE_CELL:24,RELATIVE_CELL:25,MIXED_CELL:26,":":27,ARRAY:28,";":29,",":30,VARIABLE:31,DECIMAL:32,NUMBER:33,"%":34,ERROR:35,$accept:0,$end:1},terminals_:{5:"EOF",8:"STRING",9:"&",10:"=",11:"+",12:"(",13:")",14:"<",15:">",16:"NOT",17:"-",18:"*",19:"/",20:"^",21:"FUNCTION",24:"ABSOLUTE_CELL",25:"RELATIVE_CELL",26:"MIXED_CELL",27:":",28:"ARRAY",29:";",30:",",31:"VARIABLE",32:"DECIMAL",33:"NUMBER",34:"%",35:"ERROR"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,4],[4,4],[4,4],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,3],[4,4],[4,1],[4,1],[4,2],[23,1],[23,1],[23,1],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[23,3],[22,1],[22,1],[22,3],[22,3],[6,1],[6,3],[7,1],[7,3],[7,2],[2,1]],performAction:function(e,t,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return o[s-1];case 2:this.$=r.callVariable(o[s][0]);break;case 3:this.$=r.toNumber(o[s]);break;case 4:this.$=r.trimEdges(o[s]);break;case 5:this.$=r.evaluateByOperator("&",[o[s-2],o[s]]);break;case 6:this.$=r.evaluateByOperator("=",[o[s-2],o[s]]);break;case 7:this.$=r.evaluateByOperator("+",[o[s-2],o[s]]);break;case 8:this.$=o[s-1];break;case 9:this.$=r.evaluateByOperator("<=",[o[s-3],o[s]]);break;case 10:this.$=r.evaluateByOperator(">=",[o[s-3],o[s]]);break;case 11:this.$=r.evaluateByOperator("<>",[o[s-3],o[s]]);break;case 12:this.$=r.evaluateByOperator("NOT",[o[s-2],o[s]]);break;case 13:this.$=r.evaluateByOperator(">",[o[s-2],o[s]]);break;case 14:this.$=r.evaluateByOperator("<",[o[s-2],o[s]]);break;case 15:this.$=r.evaluateByOperator("-",[o[s-2],o[s]]);break;case 16:this.$=r.evaluateByOperator("*",[o[s-2],o[s]]);break;case 17:this.$=r.evaluateByOperator("/",[o[s-2],o[s]]);break;case 18:this.$=r.evaluateByOperator("^",[o[s-2],o[s]]);break;case 19:var l=r.invertNumber(o[s]);this.$=l,isNaN(this.$)&&(this.$=0);break;case 20:l=r.toNumber(o[s]),this.$=l,isNaN(this.$)&&(this.$=0);break;case 21:this.$=r.callFunction(o[s-2]);break;case 22:this.$=r.callFunction(o[s-3],o[s-1]);break;case 26:case 27:case 28:this.$=r.cellValue(o[s]);break;case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:this.$=r.rangeValue(o[s-2],o[s]);break;case 38:case 42:this.$=[o[s]];break;case 39:this.$=r.trimEdges(e).split(",");break;case 40:case 41:o[s-2].push(o[s]),this.$=o[s-2];break;case 43:this.$=Array.isArray(o[s-2])?o[s-2]:[o[s-2]],this.$.push(o[s]);break;case 44:this.$=o[s];break;case 45:this.$=1*(o[s-2]+"."+o[s]);break;case 46:this.$=.01*o[s-1];break;case 47:this.$=r.throwError(o[s])}},table:[{2:11,3:1,4:2,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{1:[3]},{5:[1,18],9:h,10:f,11:p,14:m,15:g,16:v,17:y,18:b,19:_,20:w},e(S,[2,2],{32:[1,29]}),e(S,[2,3],{34:[1,30]}),e(S,[2,4]),{2:11,4:31,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:32,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:33,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{12:[1,34]},e(S,[2,23]),e(S,[2,24],{2:35,35:d}),e(O,[2,42]),e(C,[2,44],{32:[1,36]}),e(S,[2,26],{27:[1,37]}),e(S,[2,27],{27:[1,38]}),e(S,[2,28],{27:[1,39]}),e([5,9,10,11,13,14,15,16,17,18,19,20,29,30,35],[2,47]),{1:[2,1]},{2:11,4:40,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:41,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:42,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:45,6:3,7:4,8:t,10:[1,43],11:n,12:r,15:[1,44],17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:47,6:3,7:4,8:t,10:[1,46],11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:48,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:49,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:50,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:51,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:52,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{31:[1,53]},e(C,[2,46]),{9:h,10:f,11:p,13:[1,54],14:m,15:g,16:v,17:y,18:b,19:_,20:w},e(x,[2,19],{9:h,18:b,19:_,20:w}),e(x,[2,20],{9:h,18:b,19:_,20:w}),{2:11,4:57,6:3,7:4,8:t,11:n,12:r,13:[1,55],17:i,21:o,22:56,23:10,24:a,25:s,26:l,28:[1,58],31:u,33:c,35:d},e(S,[2,25]),{33:[1,59]},{24:[1,60],25:[1,61],26:[1,62]},{24:[1,63],25:[1,64],26:[1,65]},{24:[1,66],25:[1,67],26:[1,68]},e(S,[2,5]),e([5,10,13,29,30],[2,6],{9:h,11:p,14:m,15:g,16:v,17:y,18:b,19:_,20:w}),e(x,[2,7],{9:h,18:b,19:_,20:w}),{2:11,4:69,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:70,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},e(T,[2,14],{9:h,11:p,17:y,18:b,19:_,20:w}),{2:11,4:71,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},e(T,[2,13],{9:h,11:p,17:y,18:b,19:_,20:w}),e([5,10,13,16,29,30],[2,12],{9:h,11:p,14:m,15:g,17:y,18:b,19:_,20:w}),e(x,[2,15],{9:h,18:b,19:_,20:w}),e(E,[2,16],{9:h,20:w}),e(E,[2,17],{9:h,20:w}),e([5,10,11,13,14,15,16,17,18,19,20,29,30],[2,18],{9:h}),e(O,[2,43]),e(S,[2,8]),e(S,[2,21]),{13:[1,72],29:[1,73],30:[1,74]},e(k,[2,38],{9:h,10:f,11:p,14:m,15:g,16:v,17:y,18:b,19:_,20:w}),e(k,[2,39]),e(C,[2,45]),e(S,[2,29]),e(S,[2,30]),e(S,[2,31]),e(S,[2,32]),e(S,[2,33]),e(S,[2,34]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(T,[2,9],{9:h,11:p,17:y,18:b,19:_,20:w}),e(T,[2,11],{9:h,11:p,17:y,18:b,19:_,20:w}),e(T,[2,10],{9:h,11:p,17:y,18:b,19:_,20:w}),e(S,[2,22]),{2:11,4:75,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},{2:11,4:76,6:3,7:4,8:t,11:n,12:r,17:i,21:o,23:10,24:a,25:s,26:l,31:u,33:c,35:d},e(k,[2,40],{9:h,10:f,11:p,14:m,15:g,16:v,17:y,18:b,19:_,20:w}),e(k,[2,41],{9:h,10:f,11:p,14:m,15:g,16:v,17:y,18:b,19:_,20:w})],defaultActions:{18:[2,1]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,a="",s=0,l=0,u=0,c=2,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=this.yy[m]);f.setInput(e,p.yy),p.yy.lexer=f,p.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;i.push(g);var v=f.options&&f.options.ranges;function y(e){n.length=n.length-2*e,r.length=r.length-e,i.length=i.length-e}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,w,S,O,C,x,T,E,k=function(){var e;return"number"!=typeof(e=f.lex()||d)&&(e=t.symbols_[e]||e),e},M={};;){if(w=n[n.length-1],this.defaultActions[w]?S=this.defaultActions[w]:(null==b&&(b=k()),S=o[w]&&o[w][b]),void 0===S||!S.length||!S[0]){var A,D="";function I(e){for(var t=n.length-1,r=0;;){if(c.toString()in o[e])return r;if(0===e||t<2)return!1;e=n[t-=2],++r}}if(u)_!==d&&(A=I(w));else{for(C in A=I(w),E=[],o[w])this.terminals_[C]&&C>c&&E.push("'"+this.terminals_[C]+"'");D=f.showPosition?"Parse error on line "+(s+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(s+1)+": Unexpected "+(b==d?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(D,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:g,expected:E,recoverable:!1!==A})}if(3==u){if(b===d||_===d)throw new Error(D||"Parsing halted while starting to recover from another error.");l=f.yyleng,a=f.yytext,s=f.yylineno,g=f.yylloc,b=k()}if(!1===A)throw new Error(D||"Parsing halted. No suitable error recovery rule available.");y(A),_=b==c?null:b,b=c,w=n[n.length-1],S=o[w]&&o[w][c],u=3}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(S[0]){case 1:n.push(b),r.push(f.yytext),i.push(f.yylloc),n.push(S[1]),b=null,_?(b=_,_=null):(l=f.yyleng,a=f.yytext,s=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(x=this.productions_[S[1]][1],M.$=r[r.length-x],M._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},v&&(M._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(O=this.performAction.apply(M,[a,l,s,p.yy,S[1],r,i].concat(h))))return O;x&&(n=n.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),n.push(this.productions_[S[1]][0]),r.push(M.$),i.push(M._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},A={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;ot[0].length)){if(t=n,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:case 2:return 8;case 3:return 21;case 4:return 35;case 5:return 24;case 6:case 7:return 26;case 8:return 25;case 9:return 21;case 10:case 11:return 31;case 12:return 33;case 13:return 28;case 14:return 9;case 15:return" ";case 16:return 32;case 17:return 27;case 18:return 29;case 19:return 30;case 20:return 18;case 21:return 19;case 22:return 17;case 23:return 11;case 24:return 20;case 25:return 12;case 26:return 13;case 27:return 15;case 28:return 14;case 29:return 16;case 30:return'"';case 31:return"'";case 32:return"!";case 33:return 10;case 34:return 34;case 35:return"#";case 36:return 5}},rules:[/^(?:\s+)/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:[A-Za-z]{1,}[A-Za-z_0-9\.]+(?=[(]))/,/^(?:#[A-Z0-9\/]+(!|\?)?)/,/^(?:\$[A-Za-z]+\$[0-9]+)/,/^(?:\$[A-Za-z]+[0-9]+)/,/^(?:[A-Za-z]+\$[0-9]+)/,/^(?:[A-Za-z]+[0-9]+)/,/^(?:[A-Za-z\.]+(?=[(]))/,/^(?:[A-Za-z]{1,}[A-Za-z_0-9]+)/,/^(?:[A-Za-z_]+)/,/^(?:[0-9]+)/,/^(?:\[(.*)?\])/,/^(?:&)/,/^(?: )/,/^(?:[.])/,/^(?::)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\/)/,/^(?:-)/,/^(?:\+)/,/^(?:\^)/,/^(?:\()/,/^(?:\))/,/^(?:>)/,/^(?:<)/,/^(?:NOT\b)/,/^(?:")/,/^(?:')/,/^(?:!)/,/^(?:=)/,/^(?:%)/,/^(?:[#])/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],inclusive:!0}}};function D(){this.yy={}}return M.lexer=A,D.prototype=M,M.Parser=D,new D}();t.parser=r,t.Parser=r.Parser,t.parse=function(){return r.parse.apply(r,arguments)}},function(e,t,n){"use strict";t.__esModule=!0,t.trimEdges=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e=e.substring(t,e.length-t)}}])},e.exports=r()},function(e,t,n){"use strict";n.r(t),n.d(t,"LineShape",(function(){return s}));var r=n(3),i=n(37),o=n(302),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,i,s;if(this.subPixelOptimize){var l=Object(o.subPixelOptimizeLine)(a,t,this.style);n=l.x1,r=l.y1,i=l.x2,s=l.y2}else n=t.x1,r=t.y1,i=t.x2,s=t.y2;var u=t.percent;0!==u&&(e.moveTo(n,r),u<1&&(i=n*(1-u)+i*u,s=r*(1-u)+s*u),e.lineTo(i,s))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(i.default);l.prototype.type="line",t.default=l},function(e,t,n){"use strict";function r(e){return document.createTextNode(e)}function i(e){return document.createComment(e)}function o(e,t,n){e.insertBefore(t,n)}function a(e,t){e.removeChild(t)}function s(e,t){e.appendChild(t)}function l(e){return e.parentNode}function u(e){return e.nextSibling}function c(e){return e.tagName}function d(e,t){e.textContent=t}function h(e){return e.textContent}function f(e){return 1===e.nodeType}function p(e){return 3===e.nodeType}function m(e){return 8===e.nodeType}n.r(t),n.d(t,"createTextNode",(function(){return r})),n.d(t,"createComment",(function(){return i})),n.d(t,"insertBefore",(function(){return o})),n.d(t,"removeChild",(function(){return a})),n.d(t,"appendChild",(function(){return s})),n.d(t,"parentNode",(function(){return l})),n.d(t,"nextSibling",(function(){return u})),n.d(t,"tagName",(function(){return c})),n.d(t,"setTextContent",(function(){return d})),n.d(t,"getTextContent",(function(){return h})),n.d(t,"isElement",(function(){return f})),n.d(t,"isText",(function(){return p})),n.d(t,"isComment",(function(){return m}))},function(e,t,n){var r=n(234);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(71),i=n(653),o=n(170);r({target:"String",proto:!0,forced:!n(654)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(105),o=n(204),a=n(274),s=n(6),l=n(226),u=n(1060),c=n(132),d=n(127),h=n(131),f=n(27);t.default=function(e,t,n){n=n||{};var p,m=t.getSourceManager(),g=!1;e?(g=!0,p=Object(c.createSourceFromSeriesDataOption)(e)):g=(p=m.getSource()).sourceFormat===f.SOURCE_FORMAT_ORIGINAL;var v=Object(u.getCoordSysInfoBySeries)(t),y=function(e,t){var n,i=e.get("coordinateSystem"),o=l.default.get(i);return t&&t.coordSysDims&&(n=r.map(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=Object(a.getDimensionTypeByAxis)(i)}return n}))),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}(t,v),b=n.useEncodeDefaulter,_=r.isFunction(b)?b:b?r.curry(h.makeSeriesEncodeForAxisCoordSys,y,t):null,w={coordDimensions:y,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:_,canOmitUnusedDimensions:!g},S=Object(o.default)(p,w),O=function(e,t,n){var i,o;return n&&r.each(e,(function(e,r){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=r),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(o=!0)})),o||null==i||(e[i].otherDims.itemName=0),i}(S.dimensions,n.createInvertedIndices,v),C=g?null:m.getSharedDataStore(S),x=Object(d.enableDataStack)(t,{schema:S,store:C}),T=new i.default(S,t);T.setCalculationInfo(x);var E=null!=O&&function(e){if(e.sourceFormat===f.SOURCE_FORMAT_ORIGINAL){var t=function(e){var t=0;for(;t=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Object(i.getPixelPrecision)(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&l(n=n.slice(),r.count()),Object(i.linearMap)(e,a,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&l(n=n.slice(),r.count());var o=Object(i.linearMap)(e,n,a,t);return this.scale.scale(o)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=Object(o.createAxisTicks)(this,t).ticks,a=Object(r.map)(n,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return function(e,t,n,o){var a=t.length;if(!e.onBand||n||!a)return;var s,l,u=e.getExtent();if(1===a)t[0].coord=u[0],s=t[1]={coord:u[0]};else{var c=t[a-1].tickValue-t[0].tickValue,d=(t[a-1].coord-t[0].coord)/c;Object(r.each)(t,(function(e){e.coord-=d/2}));var h=e.scale.getExtent();l=1+h[1]-t[a-1].tickValue,s={coord:t[a-1].coord+d*l},t.push(s)}var f=u[0]>u[1];p(t[0].coord,u[0])&&(o?t[0].coord=u[0]:t.shift());o&&p(u[0],t[0].coord)&&t.unshift({coord:u[0]});p(u[1],s.coord)&&(o?s.coord=u[1]:t.pop());o&&p(s.coord,u[1])&&t.push({coord:u[1]});function p(e,t){return e=Object(i.round)(e),t=Object(i.round)(t),f?e>t:e0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return Object(r.map)(t,(function(e){return Object(r.map)(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return Object(o.createAxisLabels)(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return Object(o.calculateCategoryInterval)(this)},e}();function l(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"parseDataValue",(function(){return a})),n.d(t,"getRawValueParser",(function(){return l})),n.d(t,"SortOrderComparator",(function(){return d})),n.d(t,"createFilterComparator",(function(){return f}));var r=n(5),i=n(0),o=n(38);function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(i.isNumber)(e)||null==e||"-"===e||(e=+Object(r.parseDate)(e)),null==e||""===e?NaN:+e)}var s=Object(i.createHashMap)({number:function(e){return parseFloat(e)},time:function(e){return+Object(r.parseDate)(e)},trim:function(e){return Object(i.isString)(e)?Object(i.trim)(e):e}});function l(e){return s.get(e)}var u={lt:function(e,t){return et},gte:function(e,t){return e>=t}},c=function(){function e(e,t){if(!Object(i.isNumber)(t)){0,Object(o.throwError)("")}this._opFn=u[e],this._rvalFloat=Object(r.numericToNumber)(t)}return e.prototype.evaluate=function(e){return Object(i.isNumber)(e)?this._opFn(e,this._rvalFloat):this._opFn(Object(r.numericToNumber)(e),this._rvalFloat)},e}(),d=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(i.isNumber)(e)?e:Object(r.numericToNumber)(e),o=Object(i.isNumber)(t)?t:Object(r.numericToNumber)(t),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=Object(i.isString)(e),u=Object(i.isString)(t);l&&(n=u?e:0),u&&(o=l?t:0)}return no?-this._resultLT:0},e}(),h=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=Object(r.numericToNumber)(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=Object(r.numericToNumber)(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function f(e,t){return"eq"===e||"ne"===e?new h("eq"===e,t):Object(i.hasOwn)(u,e)?new c(e,t):null}},function(e,t,n){"use strict";n.r(t),n.d(t,"debugMode",(function(){return i})),n.d(t,"devicePixelRatio",(function(){return o})),n.d(t,"DARK_MODE_THRESHOLD",(function(){return a})),n.d(t,"DARK_LABEL_COLOR",(function(){return s})),n.d(t,"LIGHT_LABEL_COLOR",(function(){return l})),n.d(t,"LIGHTER_LABEL_COLOR",(function(){return u}));var r=1;n(53).default.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var i=0,o=r,a=.4,s="#333",l="#ccc",u="#eee"},function(e,t,n){"use strict";n.r(t),n.d(t,"SELECTION_TYPE_UNRECOGNIZED",(function(){return l})),n.d(t,"SELECTION_TYPE_EMPTY",(function(){return u})),n.d(t,"SELECTION_TYPE_ARRAY",(function(){return c})),n.d(t,"SELECTION_TYPE_OBJECT",(function(){return d})),n.d(t,"SELECTION_TYPES",(function(){return h})),n.d(t,"detectSelectionType",(function(){return g})),n.d(t,"normalizeSelectionFactory",(function(){return v})),n.d(t,"transformSelectionToColumnDistance",(function(){return y})),n.d(t,"transformSelectionToRowDistance",(function(){return b})),n.d(t,"isValidCoord",(function(){return _}));n(18),n(19),n(20),n(84),n(109),n(15),n(352),n(267),n(12),n(30),n(297),n(138),n(16),n(17);var r=n(13),i=n(2),o=n(25);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(e){return(s="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})(e)}var l=0,u=1,c=2,d=3,h=[d,c],f=[["number"],["number","string"],["number","undefined"],["number","string","undefined"]],p=Symbol("root"),m=Symbol("child");function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;if(t!==p&&t!==m)throw new Error("The second argument is used internally only and cannot be overwritten.");var n=Array.isArray(e),i=t===p,o=l;if(n){var a=e[0];if(0===e.length)o=u;else if(i&&a instanceof r.CellRange)o=d;else if(i&&Array.isArray(a))o=g(a,m);else if(e.length>=2&&e.length<=4){var h=!e.some((function(e,t){return!f[t].includes(s(e))}));h&&(o=c)}}return o}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.keepDirection,r=void 0!==n&&n,i=t.propToCol;if(!h.includes(e))throw new Error("Unsupported selection ranges schema type was provided.");return function(t){var n=e===d,a=n?t.from.row:t[0],s=n?t.from.col:t[1],l=n?t.to.row:t[2],u=n?t.to.col:t[3];if("function"==typeof i&&("string"==typeof s&&(s=i(s)),"string"==typeof u&&(u=i(u))),Object(o.isUndefined)(l)&&(l=a),Object(o.isUndefined)(u)&&(u=s),!r){var c=a,h=s,f=l,p=u;a=Math.min(c,f),s=Math.min(h,p),l=Math.max(c,f),u=Math.max(h,p)}return[a,s,l,u]}}function y(e){var t=g(e);if(t===l||t===u)return[];var n=v(t),r=new Set;Object(i.arrayEach)(e,(function(e){var t=a(n(e),4),o=t[1],s=t[3]-o+1;Object(i.arrayEach)(Array.from(new Array(s),(function(e,t){return o+t})),(function(e){r.has(e)||r.add(e)}))}));var o=Array.from(r).sort((function(e,t){return e-t}));return Object(i.arrayReduce)(o,(function(e,t,n,r){return 0!==n&&t===r[n-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e}),[])}function b(e){var t=g(e);if(t===l||t===u)return[];var n=v(t),r=new Set;Object(i.arrayEach)(e,(function(e){var t=a(n(e),3),o=t[0],s=t[2]-o+1;Object(i.arrayEach)(Array.from(new Array(s),(function(e,t){return o+t})),(function(e){r.has(e)||r.add(e)}))}));var o=Array.from(r).sort((function(e,t){return e-t}));return Object(i.arrayReduce)(o,(function(e,t,n,r){return 0!==n&&t===r[n-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e}),[])}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return"number"==typeof e&&e>=0&&e=0}function s(e){return e+"Axis"}function l(e){return e+"AxisIndex"}function u(e){return e+"AxisId"}function c(e,t){var n,i=Object(r.createHashMap)(),o=[],a=Object(r.createHashMap)();e.eachComponent({mainType:"dataZoom",query:t},(function(e){a.get(e.uid)||l(e)}));do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!a.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=i.get(e);r&&r[n]&&(t=!0)})),t}(e)&&(l(e),n=!0)}function l(e){a.set(e.uid,!0),o.push(e),e.eachTargetAxis((function(e,t){(i.get(e)||i.set(e,[]))[t]=!0}))}return o}function d(e){var t=e.ecModel,n={infoList:[],infoMap:Object(r.createHashMap)()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(s(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,l=n.infoMap.get(a);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(i)}}})),n}},function(e,t,n){"use strict";var r=n(492),i=n(145),o=n(183),a=n(160),s=n(293),l=n(170),u=n(652),c=n(493),d=Math.max,h=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var i=l(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!g&&v||"string"==typeof r&&-1===r.indexOf(y)){var o=n(t,e,this,r);if(o.done)return o.value}var l=i(e),f=String(this),p="function"==typeof r;p||(r=String(r));var m=l.global;if(m){var _=l.unicode;l.lastIndex=0}for(var w=[];;){var S=c(l,f);if(null===S)break;if(w.push(S),!m)break;""===String(S[0])&&(l.lastIndex=u(f,a(l.lastIndex),_))}for(var O,C="",x=0,T=0;T=x&&(C+=f.slice(x,k)+R,x=k+E.length)}return C+f.slice(x)}];function b(e,n,r,i,a,s){var l=r+e.length,u=i.length,c=m;return void 0!==a&&(a=o(a),c=p),t.call(s,c,(function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>u){var d=f(c/10);return 0===d?t:d<=u?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):t}s=i[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";n.r(t),n.d(t,"PolygonShape",(function(){return a}));var r=n(3),i=n(37),o=n(531),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){o.buildPath(e,t,!0)},t}(i.default);s.prototype.type="polygon",t.default=s},function(e,t,n){var r=n(87);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";function r(e){return null==e?0:e.length||1}function i(e){return e}n.r(t);var o=function(){function e(e,t,n,r,o,a){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},i=new Array(e.length),o=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var a=0;a1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];this._initIndexMap(e,n,o,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var s=0;s1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===d&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===d&&1===h)this._update&&this._update(c,u),i[l]=null;else if(d>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(d>1)for(var f=0;f1)for(var s=0;s0?"top":"bottom",r="center"):Object(d.isRadianAroundZero)(o-v)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),b={axisLine:function(e,t,n,i){var a=t.get(["axisLine","show"]);if("auto"===a&&e.handleAutoShown&&(a=e.handleAutoShown("axisLine")),a){var s=t.axis.getExtent(),l=i.transform,u=[s[0],0],c=[s[1],0];l&&(Object(p.applyTransform)(u,u,l),Object(p.applyTransform)(c,c,l));var d=Object(r.extend)({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new o.default({subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:d,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});f.anid="line",n.add(f);var m=t.get(["axisLine","symbol"]);if(null!=m){var g=t.get(["axisLine","symbolSize"]);Object(r.isString)(m)&&(m=[m,m]),(Object(r.isString)(g)||Object(r.isNumber)(g))&&(g=[g,g]);var v=Object(h.normalizeSymbolOffset)(t.get(["axisLine","symbolOffset"])||0,g),y=g[0],b=g[1];Object(r.each)([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((u[0]-c[0])*(u[0]-c[0])+(u[1]-c[1])*(u[1]-c[1]))}],(function(t,r){if("none"!==m[r]&&null!=m[r]){var i=Object(h.createSymbol)(m[r],-y/2,-b/2,y,b,d.stroke,!0),o=t.r+t.offset;i.attr({rotation:t.rotate,x:u[0]+o*Math.cos(e.rotation),y:u[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,i){var o=function(e,t,n,i){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");"auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick"));if(!s||o.scale.isBlank())return;for(var l=a.getModel("lineStyle"),u=i.tickDirection*a.get("length"),c=O(o.getTicksCoords(),t.transform,u,Object(r.defaults)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;db[1]?-1:1,w=["start"===f?b[0]-_*g:"end"===f?b[1]+_*g:(b[0]+b[1])/2,S(f)?e.labelOffset+p*g:0],O=t.get("nameRotate");null!=O&&(O=O*v/180),S(f)?c=y.innerTextLayout(e.rotation,null!=O?O:e.rotation,p):(c=function(e,t,n,r){var i,o,a=Object(d.remRadian)(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;Object(d.isRadianAroundZero)(a-v/2)?(o=l?"bottom":"top",i="center"):Object(d.isRadianAroundZero)(a-1.5*v)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*v&&a>v/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:i,textVerticalAlign:o}}(e.rotation,f,O||0,b),null!=(h=e.axisNameAvailableWidth)&&(h=Math.abs(h/Math.sin(c.rotation)),!isFinite(h)&&(h=null)));var C=m.getFont(),x=t.get("nameTruncate",!0)||{},T=x.ellipsis,E=Object(r.retrieve)(e.nameTruncateMaxWidth,x.maxWidth,h),k=new a.default({x:w[0],y:w[1],rotation:c.rotation,silent:y.isLabelSilent(t),style:Object(u.createTextStyle)(m,{text:o,font:C,overflow:"truncate",width:E,ellipsis:T,fill:m.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:m.get("align")||c.textAlign,verticalAlign:m.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(s.setTooltipConfig({el:k,componentModel:t,itemName:o}),k.__fullText=o,k.anid="name",t.get("triggerEvent")){var M=y.makeAxisEventDataBase(t);M.targetType="axisName",M.name=o,Object(l.getECData)(k).eventData=M}i.add(k),k.updateTransform(),n.add(k),k.decomposeTransform()}}};function _(e){e&&(e.ignore=!0)}function w(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=f.identity([]);return f.rotate(i,i,-e.rotation),n.applyTransform(f.mul([],i,e.getLocalTransform())),r.applyTransform(f.mul([],i,t.getLocalTransform())),n.intersect(r)}}function S(e){return"middle"===e||"center"===e}function O(e,t,n,r,i){for(var a=[],s=[],l=[],u=0;u0&&void 0!==arguments[0]?arguments[0]:"common";i.has(e)||i.set(e,new Map);var t=i.get(e);function n(e,n){t.set(e,n)}function o(e){return t.get(e)}function a(e){return t.has(e)}function s(){return r(t.keys())}function l(){return r(t.values())}return{register:n,getItem:o,hasItem:a,getNames:s,getValues:l}}},function(e,t,n){"use strict";n.r(t),n.d(t,"DefaultDataProvider",(function(){return h})),n.d(t,"getRawSourceItemGetter",(function(){return m})),n.d(t,"getRawSourceDataCounter",(function(){return y})),n.d(t,"getRawSourceValueGetter",(function(){return w})),n.d(t,"retrieveRawValue",(function(){return O})),n.d(t,"retrieveRawAttr",(function(){return C}));var r,i,o,a,s,l=n(0),u=n(6),c=n(132),d=n(27),h=function(){function e(e,t){var n=Object(c.isSourceInstance)(e)?e:Object(c.createSourceFromSeriesDataOption)(e);this._source=n;var r=this._data=n.data;n.sourceFormat===d.SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}var t;return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=((t=e.prototype).pure=!1,void(t.persistent=!0)),e.internalField=function(){var e;s=function(e,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,f=a[S(s,u)];if(Object(l.extend)(e,f),s===d.SOURCE_FORMAT_TYPED_ARRAY)e.getItem=t,e.count=r,e.fillStorage=n;else{var p=m(s,u);e.getItem=Object(l.bind)(p,null,i,c,h);var g=y(s,u);e.count=Object(l.bind)(g,null,i,c,h)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;ou&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t=0&&(l[s]=+l[s].toFixed(p)),[l,h]}var l={min:Object(o.curry)(s,"min"),max:Object(o.curry)(s,"max"),average:Object(o.curry)(s,"average"),median:Object(o.curry)(s,"median")};function u(e,t){var n=e.getData(),r=e.coordinateSystem;if(t&&!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!Object(o.isArray)(t.coord)&&r){var i=r.dimensions,a=c(t,n,r,e);if((t=Object(o.clone)(t)).type&&l[t.type]&&a.baseAxis&&a.valueAxis){var s=Object(o.indexOf)(i,a.baseAxis.dim),u=Object(o.indexOf)(i,a.valueAxis.dim),d=l[t.type](n,a.baseDataDim,a.valueDataDim,s,u);t.coord=d[0],t.value=d[1]}else{for(var h=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],p=0;p<2;p++)l[h[p]]&&(h[p]=f(n,n.mapDimension(i[p]),h[p]));t.coord=h}}return t}function c(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function d(e,t){return!(e&&e.containData&&t.coord&&!function(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}(t))||e.containData(t.coord)}function h(e,t){return e?function(e,n,r,i){var o=i<2?e.coord&&e.coord[i]:e.value;return Object(a.parseDataValue)(o,t[i])}:function(e,n,r,i){return Object(a.parseDataValue)(e.value,t[i])}}function f(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}},function(e,t,n){"use strict";n.r(t),function(e,n){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function i(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function w(e,t){return _.call(e,t)}function S(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var O=/-(\w)/g,C=S((function(e){return e.replace(O,(function(e,t){return t?t.toUpperCase():""}))})),x=S((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),T=/\B([A-Z])/g,E=S((function(e){return e.replace(T,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n0,Q=K&&K.indexOf("edge/")>0,ee=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===X),te=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(G)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var oe=function(){return void 0===U&&(U=!G&&!q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},ae=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ue="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);le="undefined"!=typeof Set&&se(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 ce=I,de=0,he=function(){this.id=de++,this.subs=[]};he.prototype.addSub=function(e){this.subs.push(e)},he.prototype.removeSub=function(e){b(this.subs,e)},he.prototype.depend=function(){he.target&&he.target.addDep(this)},he.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===E(e)){var l=We(String,i.type);(l<0||s0&&(ht((l=e(l,(n||"")+"_"+r))[0])&&ht(c)&&(d[u]=be(c.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ht(c)?d[u]=be(c.text+l):""!==l&&d.push(be(l)):ht(l)&&ht(c)?d[u]=be(c.text+l.text):(a(t._isVList)&&o(l.tag)&&i(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+r+"__"),d.push(l)));return d}(e):void 0}function ht(e){return o(e)&&o(e.text)&&!1===e.isComment}function ft(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=vt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=yt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function vt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:dt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function yt(e,t){return function(){return e[t]}}function bt(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(cn=function(){return dn.now()})}function hn(){var e,t;for(un=cn(),sn=!0,nn.sort((function(e,t){return e.id-t.id})),ln=0;lnln&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,rt(hn))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:I,set:I};function gn(e,t,n){mn.get=function(){return this[t][n]},mn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,mn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&xe(!1);var o=function(o){i.push(o);var a=He(o,t,n,e);ke(r,o,a),o in e||gn(e,"_props",o)};for(var a in t)o(a);xe(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?I:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&w(r,o)||Y(o)||gn(e,"_data",o)}Ee(t,!0)}(e):Ee(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new pn(e,a||I,I,yn)),i in e||bn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=En(a.componentOptions);s&&!t(s)&&An(n,o,r,i)}}}function An(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=On++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Be(Cn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(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}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=pt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return Vt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Vt(e,t,n,r,i,!0)};var o=n&&n.data;ke(e,"$attrs",o&&o.attrs||r,null,!0),ke(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=ft(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach((function(n){ke(e,n,t[n])})),xe(!0))}(t),vn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(xn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Me,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(c(t))return Sn(this,e,t,n);(n=n||{}).user=!0;var r=new pn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){ze(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(xn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;oparseInt(this.max)&&An(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:A,mergeOptions:Be,defineReactive:ke},e.set=Me,e.delete=Ae,e.nextTick=rt,e.observable=function(e){return Ee(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,A(e.options.components,In),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(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}}(e),function(e){e.mixin=function(e){return this.options=Be(this.options,e),this}}(e),Tn(e),function(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(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]}}))}(e)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:oe}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:Lt}),xn.version="2.6.11";var Rn=g("style,class"),Ln=g("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Ln(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pn=g("contenteditable,draggable,spellcheck"),Nn=g("events,caret,typing,plaintext-only"),Bn=g("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"),Fn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Vn=function(e){return Hn(e)?e.slice(6,e.length):""},Yn=function(e){return null==e||!1===e};function Wn(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=zn(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=zn(t,n.data));return function(e,t){if(o(e)||o(t))return Un(e,$n(t));return""}(t.staticClass,t.class)}function zn(e,t){return{staticClass:Un(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Un(e,t){return e?t?e+" "+t:e:t||""}function $n(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?vr(e,t,n):Bn(t)?Yn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Pn(t)?e.setAttribute(t,function(e,t){return Yn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"}(t,n)):Hn(t)?Yn(n)?e.removeAttributeNS(Fn,Vn(t)):e.setAttributeNS(Fn,t,n):vr(e,t,n)}function vr(e,t,n){if(Yn(n))e.removeAttribute(t);else{if(Z&&!J&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var yr={create:mr,update:mr};function br(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Wn(t),l=n._transitionClasses;o(l)&&(s=Un(s,$n(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var _r,wr,Sr,Or,Cr,xr,Tr={create:br,update:br},Er=/[\w).+\-_$\]]/;function kr(e){var t,n,r,i,o,a=!1,s=!1,l=!1,u=!1,c=0,d=0,h=0,f=0;for(r=0;r=0&&" "===(m=e.charAt(p));p--);m&&Er.test(m)||(u=!0)}}else void 0===i?(f=r+1,i=e.slice(0,r).trim()):g();function g(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==f&&g(),o)for(r=0;r-1?{exp:e.slice(0,Or),key:'"'+e.slice(Or+1)+'"'}:{exp:e,key:null};wr=e,Or=Cr=xr=0;for(;!Ur();)$r(Sr=zr())?qr(Sr):91===Sr&&Gr(Sr);return{exp:e.slice(0,Cr),key:e.slice(Cr+1,xr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function zr(){return wr.charCodeAt(++Or)}function Ur(){return Or>=_r}function $r(e){return 34===e||39===e}function Gr(e){var t=1;for(Cr=Or;!Ur();)if($r(e=zr()))qr(e);else if(91===e&&t++,93===e&&t--,0===t){xr=Or;break}}function qr(e){for(var t=e;!Ur()&&(e=zr())!==t;);}var Xr;function Kr(e,t,n){var r=Xr;return function i(){var o=t.apply(null,arguments);null!==o&&Qr(e,i,n,r)}}var Zr=Xe&&!(te&&Number(te[1])<=53);function Jr(e,t,n,r){if(Zr){var i=un,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Xr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||Xr).removeEventListener(e,t._wrapper||t,n)}function ei(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Xr=t.elm,function(e){if(o(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),lt(n,r,Jr,Qr,Kr,t.context),Xr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in o(l.__ob__)&&(l=t.data.domProps=A({},l)),s)n in l||(a[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);ii(a,u)&&(a.value=u)}else if("innerHTML"===n&&Xn(a.tagName)&&i(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var c=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var oi={create:ri,update:ri},ai=S((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function si(e){var t=li(e.style);return e.staticStyle?A(e.staticStyle,t):t}function li(e){return Array.isArray(e)?D(e):"string"==typeof e?ai(e):e}var ui,ci=/^--/,di=/\s*!important$/,hi=function(e,t,n){if(ci.test(t))e.style.setProperty(t,n);else if(di.test(n))e.style.setProperty(E(t),n.replace(di,""),"important");else{var r=pi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(vi).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 bi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vi).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")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function _i(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,wi(e.name||"v")),A(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=S((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"}})),Si=G&&!J,Oi="transition",Ci="transitionend",xi="animation",Ti="animationend";Si&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oi="WebkitTransition",Ci="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(xi="WebkitAnimation",Ti="webkitAnimationEnd"));var Ei=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ki(e){Ei((function(){Ei(e)}))}function Mi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),yi(e,t))}function Ai(e,t){e._transitionClasses&&b(e._transitionClasses,t),bi(e,t)}function Di(e,t,n){var r=Ri(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ci:Ti,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l0&&(n="transition",c=a,d=o.length):"animation"===t?u>0&&(n="animation",c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:"transition"===n&&Ii.test(r[Oi+"Property"])}}function Li(e,t){for(;e.length1}function Hi(e,t){!0!==t.data.show&&Pi(t)}var Vi=function(e){var t,n,r={},l=e.modules,u=e.nodeOps;for(t=0;tp?b(e,i(n[v+1])?null:n[v+1].elm,n,f,v,r):f>v&&w(t,h,p)}(h,g,v,n,c):o(v)?(o(e.text)&&u.setTextContent(h,""),b(h,null,v,0,v.length-1,n)):o(g)?w(g,0,g.length-1):o(e.text)&&u.setTextContent(h,""):e.text!==t.text&&u.setTextContent(h,t.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(e,t)}}}function x(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(j($i(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ui(e,t){return t.every((function(t){return!j(t,e)}))}function $i(e){return"_value"in e?e._value:e.value}function Gi(e){e.target.composing=!0}function qi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ki(e){return!e.componentInstance||e.data&&e.data.transition?e:Ki(e.componentInstance._vnode)}var Zi={model:Yi,show:{bind:function(e,t,n){var r=t.value,i=(n=Ki(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Ki(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,(function(){e.style.display=e.__vOriginalDisplay})):Ni(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Ji={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 Qi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qi($t(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||Ut(e)},ro=function(e){return"show"===e.name},io={name:"transition",props:Ji,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Qi(i);if(!o)return i;if(this._leaving)return to(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=eo(this),u=this._vnode,c=Qi(u);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!Ut(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=A({},l);if("out-in"===r)return this._leaving=!0,ut(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),to(e,i);if("in-out"===r){if(Ut(o))return u;var h,f=function(){h()};ut(l,"afterEnter",f),ut(l,"enterCancelled",f),ut(d,"delayLeave",(function(e){h=e}))}}return i}}},oo=A({tag:String,moveClass:String},Ji);function ao(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function so(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete oo.mode;var uo={Transition:io,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=eo(this),s=0;s-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},A(xn.options.directives,Zi),A(xn.options.components,uo),xn.prototype.__patch__=G?Vi:I,xn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ye),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new pn(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&G?er(e):void 0,t)},G&&setTimeout((function(){H.devtools&&ae&&ae.emit("init",xn)}),0);var co=/\{\{((?:.|\r?\n)+?)\}\}/g,ho=/[-.*+?^${}()|[\]\/\\]/g,fo=S((function(e){var t=e[0].replace(ho,"\\$&"),n=e[1].replace(ho,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var po={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Br(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var mo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Br(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vo=function(e){return(mo=mo||document.createElement("div")).innerHTML=e,mo.textContent},yo=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),bo=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_o=g("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"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,So=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Oo="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+V.source+"]*",Co="((?:"+Oo+"\\:)?"+Oo+")",xo=new RegExp("^<"+Co),To=/^\s*(\/?)>/,Eo=new RegExp("^<\\/"+Co+"[^>]*>"),ko=/^]+>/i,Mo=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Lo=/&(?:lt|gt|quot|amp|#39);/g,jo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=g("pre,textarea",!0),No=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Bo(e,t){var n=t?jo:Lo;return e.replace(n,(function(e){return Ro[e]}))}var Fo,Ho,Vo,Yo,Wo,zo,Uo,$o,Go=/^@|^v-on:/,qo=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ko=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zo=/^\(|\)$/g,Jo=/^\[.*\]$/,Qo=/:(.*)$/,ea=/^:|^\.|^v-bind:/,ta=/\.[^.\]]+(?=[^\]]*$)/g,na=/^v-slot(:|$)|^#/,ra=/[\r\n]/,ia=/\s+/g,oa=S(vo);function aa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:fa(t),rawAttrsMap:{},parent:n,children:[]}}function sa(e,t){Fo=t.warn||Ar,zo=t.isPreTag||R,Uo=t.mustUseProp||R,$o=t.getTagNamespace||R;var n=t.isReservedTag||R;(function(e){return!!e.component||!n(e.tag)}),Vo=Dr(t.modules,"transformNode"),Yo=Dr(t.modules,"preTransformNode"),Wo=Dr(t.modules,"postTransformNode"),Ho=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,u=!1;function c(e){if(d(e),l||e.processed||(e=la(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&ca(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&ca(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(l=!1),zo(e.tag)&&(u=!1);for(var c=0;c]*>)","i")),h=e.replace(d,(function(e,n,r){return u=r.length,Do(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),No(c,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-h.length,e=h,T(c,l-u,l)}else{var f=e.indexOf("<");if(0===f){if(Mo.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),O(p+3);continue}}if(Ao.test(e)){var m=e.indexOf("]>");if(m>=0){O(m+2);continue}}var g=e.match(ko);if(g){O(g[0].length);continue}var v=e.match(Eo);if(v){var y=l;O(v[0].length),T(v[1],y,l);continue}var b=C();if(b){x(b),No(b.tagName,e)&&O(1);continue}}var _=void 0,w=void 0,S=void 0;if(f>=0){for(w=e.slice(f);!(Eo.test(w)||xo.test(w)||Mo.test(w)||Ao.test(w)||(S=w.indexOf("<",1))<0);)f+=S,w=e.slice(f);_=e.substring(0,f)}f<0&&(_=e),_&&O(_.length),t.chars&&_&&t.chars(_,l-_.length,l)}if(e===n){t.chars&&t.chars(e);break}}function O(t){l+=t,e=e.substring(t)}function C(){var t=e.match(xo);if(t){var n,r,i={tagName:t[1],attrs:[],start:l};for(O(t[0].length);!(n=e.match(To))&&(r=e.match(So)||e.match(wo));)r.start=l,O(r[0].length),r.end=l,i.attrs.push(r);if(n)return i.unarySlash=n[1],O(n[0].length),i.end=l,i}}function x(e){var n=e.tagName,l=e.unarySlash;o&&("p"===r&&_o(n)&&T(r),s(n)&&r===n&&T(n));for(var u=a(n)||!!l,c=e.attrs.length,d=new Array(c),h=0;h=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[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))}T()}(e,{warn:Fo,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,d){var h=i&&i.ns||$o(e);Z&&"svg"===h&&(n=function(e){for(var t=[],n=0;nl&&(s.push(o=e.slice(l,i)),a.push(JSON.stringify(o)));var u=kr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),l=i+r[0].length}return l-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Wr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Wr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Wr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Br(e,"value")||"null";Ir(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Nr(e,"change",Wr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,u=o?"change":"range"===r?"__r":"input",c="$event.target.value";s&&(c="$event.target.value.trim()");a&&(c="_n("+c+")");var d=Wr(t,c);l&&(d="if($event.target.composing)return;"+d);Ir(e,"value","("+t+")"),Nr(e,u,d,null,!0),(s||a)&&Nr(e,"blur","$forceUpdate()")}(e,r,i);else{if(!H.isReservedTag(o))return Yr(e,r,i),!1}return!0},text:function(e,t){t.value&&Ir(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ir(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:yo,mustUseProp:jn,canBeLeftOpenTag:bo,isReservedTag:Kn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(va)},wa=S((function(e){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Sa(e,t){e&&(ya=wa(t.staticKeys||""),ba=t.isReservedTag||R,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||v(e.tag)||!ba(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ya)))}(t),1===t.type){if(!ba(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Ca=/\([^)]*?\);*$/,xa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={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"]},ka=function(e){return"if("+e+")return null;"},Ma={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ka("$event.target !== $event.currentTarget"),ctrl:ka("!$event.ctrlKey"),shift:ka("!$event.shiftKey"),alt:ka("!$event.altKey"),meta:ka("!$event.metaKey"),left:ka("'button' in $event && $event.button !== 0"),middle:ka("'button' in $event && $event.button !== 1"),right:ka("'button' in $event && $event.button !== 2")};function Aa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Da(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Da(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Da(e)})).join(",")+"]";var t=xa.test(e.value),n=Oa.test(e.value),r=xa.test(e.value.replace(Ca,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ma[s])o+=Ma[s],Ta[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=ka(["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&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ia).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ia(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ra={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(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":"")+")"}},cloak:I},La=function(e){this.options=e,this.warn=e.warn||Ar,this.transforms=Dr(e.modules,"transformCode"),this.dataGenFns=Dr(e.modules,"genData"),this.directives=A(A({},Ra),e.directives);var t=e.isReservedTag||R;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new La(t);return{render:"with(this){return "+(e?Pa(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Pa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Na(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return Ha(e,t);if(e.if&&!e.ifProcessed)return Fa(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=za(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:za(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:za(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=ja(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ya(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ya))}function Wa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Fa(e,t,Wa,"null");if(e.for&&!e.forProcessed)return Ha(e,t,Wa);var r="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(za(e,t)||"undefined")+":undefined":za(e,t)||"undefined":Pa(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function za(e,t,n,r,i){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""+(r||Pa)(a,t)+s}var l=n?function(e,t){for(var n=0,r=0;r':'
',Ja.innerHTML.indexOf(" ")>0}var ns=!!G&&ts(!1),rs=!!G&&ts(!0),is=S((function(e){var t=er(e);return t&&t.innerHTML})),os=xn.prototype.$mount;xn.prototype.$mount=function(e,t){if((e=e&&er(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=is(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:ns,shouldDecodeNewlinesForHref:rs,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return os.call(this,e,t)},xn.compile=es,t.default=xn}.call(this,n(197),n(599).setImmediate)},function(e,t,n){var r=n(293),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(71),i=n(266).filter,o=n(427),a=n(184),s=o("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";function r(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function i(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function o(e,t,n,r){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break;default:0}}n.r(t),n.d(t,"getItemVisualFromData",(function(){return r})),n.d(t,"getVisualFromData",(function(){return i})),n.d(t,"setItemVisualFromData",(function(){return o}))},function(e,t,n){"use strict";n.r(t),n.d(t,"sortComparison",(function(){return a})),n.d(t,"toVisualValue",(function(){return s})),n.d(t,"createArrayAssertion",(function(){return c})),n.d(t,"toEmptyString",(function(){return d})),n.d(t,"unifyColumnValues",(function(){return h})),n.d(t,"intersectValues",(function(){return f}));n(84),n(56),n(15),n(267),n(12),n(297),n(16),n(17);var r=n(101),i=n(2),o=Object(r.getComparisonFunction)();function a(e,t){return"number"==typeof e&&"number"==typeof t?e-t:o(e,t)}function s(e,t){var n=e;return""===n&&(n="(".concat(t,")")),n}var l=new Set([1]).has(1),u=l&&"function"==typeof Array.from;function c(e){var t=e;return l&&(t=new Set(t)),function(e){return l?t.has(e):!!~t.indexOf(e)}}function d(e){return null==e?"":e}function h(e){var t=e;return t=(t=u?Array.from(new Set(t)):Object(i.arrayUnique)(t)).sort((function(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e===t?0:e>t?1:-1}))}function f(e,t,n,r){var o,a=[],l=e===t;return l||(o=c(t)),Object(i.arrayEach)(e,(function(e){var t=!1;(l||o(e))&&(t=!0);var i={checked:t,value:e,visualValue:s(e,n)};r&&r(i),a.push(i)})),a}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(150),i=n(926),o=n(145),a=n(417),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(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){"use strict";n.r(t);var r=n(3),i=n(0),o=n(53),a=n(272),s=n(43),l=n(6),u=n(75);function c(e){Object(l.defaultEmphasis)(e,"label",["show"])}var d=Object(l.makeInner)(),h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return Object(r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(o.default.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var o=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),a=d(e)[o];n&&n.data?(a?a._mergeOption(n,t,!0):(r&&c(n),i.each(n.data,(function(e){e instanceof Array?(c(e[0]),c(e[1])):c(e)})),a=this.createMarkerModelFromSeries(n,this,t),i.extend(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),d(e)[o]=a):d(e)[o]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Object(u.createTooltipMarkup)("section",{header:this.name,blocks:[Object(u.createTooltipMarkup)("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return d(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(s.default);i.mixin(h,a.DataFormatMixin.prototype),t.default=h},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1092),o=n(1093),a=Object(r.createHashMap)();t.default={registerMap:function(e,t,n){if(t.svg){var r=new i.GeoSVGResource(e,t.svg);a.set(e,r)}else{var s=t.geoJson||t.geoJSON;s&&!t.features?n=t.specialAreas:s=t;r=new o.GeoJSONResource(e,s,n);a.set(e,r)}},getGeoResource:function(e){return a.get(e)},getMapForUser:function(e){var t=a.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var r=a.get(e);if(r)return r.load(t,n)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createFloat32Array",(function(){return a}));var r=n(0),i="undefined"!=typeof Float32Array,o=i?Float32Array:Array;function a(e){return Object(r.isArray)(e)?i?new Float32Array(e):e:new o(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"ASC_SORT_STATE",(function(){return a})),n.d(t,"DESC_SORT_STATE",(function(){return s})),n.d(t,"HEADER_SPAN_CLASS",(function(){return l})),n.d(t,"areValidSortStates",(function(){return c})),n.d(t,"getNextSortOrder",(function(){return d})),n.d(t,"getHeaderSpanElement",(function(){return h})),n.d(t,"isFirstLevelColumnHeader",(function(){return f})),n.d(t,"wasHeaderClickedProperly",(function(){return p}));n(353),n(84),n(109),n(56),n(15),n(499),n(295),n(296),n(12),n(297),n(16),n(17);var r=n(25),i=n(4),o=n(26),a="asc",s="desc",l="colHeader";function u(e){if(Object(r.isUndefined)(e))return!1;var t=e.column,n=e.sortOrder;return Number.isInteger(t)&&[a,s].includes(n)}function c(e){if(!1===Array.isArray(e)||!1===e.every((function(e){return Object(i.isObject)(e)})))return!1;var t=e.map((function(e){return e.column}));return new Set(t).size===t.length&&e.every(u)}function d(e){if(e!==s)return e===a?s:a}function h(e){return e.querySelector(".".concat(l))}function f(e,t){if(e<0||!t.parentNode)return!1;var n=t.parentNode.parentNode.childNodes;return-1===Array.from(n).indexOf(t.parentNode)-n.length}function p(e,t,n){return-1===e&&t>=0&&!1===Object(o.isRightClick)(n)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n(276),o=n(67),a={},s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(r.__extends)(t,e),t.prototype.render=function(t,n,r,o){this.axisPointerClass&&i.fixValue(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var o=t.getAxisPointerClass(this.axisPointerClass);if(o){var a=i.getAxisPointerModel(e);a?(this._axisPointer||(this._axisPointer=new o)).render(e,a,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){a[e]=t},t.getAxisPointerClass=function(e){return e&&a[e]},t.type="axis",t}(o.default);t.default=s},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n(5),o=n(52),a=n(173),s=n(108),l=i.round,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return Object(r.__extends)(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return s.contain(e,this._extent)},t.prototype.normalize=function(e){return s.normalize(e,this._extent)},t.prototype.scale=function(e){return s.scale(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.getIntervalPrecision(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(e?o.push({value:l(s+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&dt[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r.enableClassManagement(i),t.default=i},function(e,t,n){"use strict";n.r(t),n.d(t,"EditorState",(function(){return f}));n(18),n(19),n(20),n(15),n(31),n(34),n(12),n(16),n(494),n(17);var r=n(13),i=n(25),o=n(4),a=n(1277);function s(e){return(s="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})(e)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;nn[2]&&(r=n[0],n[0]=n[2],n[2]=r),n[1]>n[3]&&(r=n[1],n[1]=n[3],n[3]=r)):n=[this.row,this.col,null,null],this.hot.populateFromArray(n[0],n[1],e,n[2],n[3],"edit")}},{key:"beginEditing",value:function(e,t){if(this.state===f.VIRGIN){if(this.hot.view.scrollViewport(new r.CellCoords(this.row,this.col)),this.state=f.EDITING,this.isInFullEditMode()){var n="string"==typeof e?e:Object(i.stringify)(this.originalValue);this.setValue(n)}this.open(t),this._opened=!0,this.focus(),this.hot.view.render(),this.hot.runHooks("afterBeginEditing",this.row,this.col)}}},{key:"finishEditing",value:function(e,t,n){var r,i=this;if(n){var o=this._closeCallback;this._closeCallback=function(e){o&&o(e),n(e),i.hot.view.render()}}if(!this.isWaiting())if(this.state!==f.VIRGIN){if(this.state===f.EDITING){if(e)return this.cancelChanges(),void this.hot.view.render();var a=this.getValue();r=this.hot.getSettings().trimWhitespace?[["string"==typeof a?String.prototype.trim.call(a||""):a]]:[[a]],this.state=f.WAITING,this.saveValue(r,t),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",(function(e){i.state=f.FINISHED,i.discardEditor(e)})):(this.state=f.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout((function(){i._fireCallbacks(!0)}))}},{key:"cancelChanges",value:function(){this.state=f.FINISHED,this.discardEditor()}},{key:"discardEditor",value:function(e){this.state===f.FINISHED&&(!1===e&&!0!==this.cellProperties.allowInvalid?(this.hot.selectCell(this.row,this.col),this.focus(),this.state=f.EDITING,this._fireCallbacks(!1)):(this.close(),this._opened=!1,this._fullEditMode=!1,this.state=f.VIRGIN,this._fireCallbacks(!0)))}},{key:"enableFullEditMode",value:function(){this._fullEditMode=!0}},{key:"isInFullEditMode",value:function(){return this._fullEditMode}},{key:"isOpened",value:function(){return this._opened}},{key:"isWaiting",value:function(){return this.state===f.WAITING}},{key:"getEditedCellsLayerClass",value:function(){switch(this.checkEditorSection()){case"right":return"ht_clone_right";case"left":return"ht_clone_left";case"bottom":return"ht_clone_bottom";case"bottom-right-corner":return"ht_clone_bottom_right_corner";case"bottom-left-corner":return"ht_clone_bottom_left_corner";case"top":return"ht_clone_top";case"top-right-corner":return"ht_clone_top_right_corner";case"top-left-corner":return"ht_clone_top_left_corner";default:return"ht_clone_master"}}},{key:"getEditedCell",value:function(){return this.hot.getCell(this.row,this.col,!0)}},{key:"checkEditorSection",value:function(){var e=this.hot.countRows(),t="";return this.row=e-this.hot.getSettings().fixedRowsBottom?t=this.coli&&(i+=f);var m=Math.atan2(l,a);if(m<0&&(m+=f),m>=r&&m<=i||m+f>=r&&m+f<=i)return u[0]=d,u[1]=h,c-n;var g=n*Math.cos(r)+e,v=n*Math.sin(r)+t,y=n*Math.cos(i)+e,b=n*Math.sin(i)+t,_=(g-a)*(g-a)+(v-l)*(v-l),w=(y-a)*(y-a)+(b-l)*(b-l);return _0){t=t/180*Math.PI,O.fromArray(e[0]),C.fromArray(e[1]),x.fromArray(e[2]),r.default.sub(T,O,C),r.default.sub(E,x,C);var n=T.len(),i=E.len();if(!(n<.001||i<.001)){T.scale(1/n),E.scale(1/i);var o=T.dot(E);if(Math.cos(t)1&&r.default.copy(A,x),A.toArray(e[1])}}}}function I(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,O.fromArray(e[0]),C.fromArray(e[1]),x.fromArray(e[2]),r.default.sub(T,C,O),r.default.sub(E,x,C);var i=T.len(),o=E.len();if(!(i<.001||o<.001))if(T.scale(1/i),E.scale(1/o),T.dot(t)=s)r.default.copy(A,x);else{A.scaleAndAdd(E,a/Math.tan(Math.PI/2-l));var u=x.x!==C.x?(A.x-C.x)/(x.x-C.x):(A.y-C.y)/(x.y-C.y);if(isNaN(u))return;u<0?r.default.copy(A,C):u>1&&r.default.copy(A,x)}A.toArray(e[1])}}}function R(e,t,n,r){var i="normal"===n,o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function L(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=d.dist(r[0],r[1]),o=d.dist(r[1],r[2]);if(!i||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=d.lerp([],r[1],r[0],a/i),l=d.lerp([],r[1],r[2],a/o),u=d.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&(l.during=u?Object(i.bind)(w,{el:t,userDuring:u}):null,l.setToFinal=!0,l.scope=e),Object(i.extend)(l,n[a]),l}function m(e,t,n,o){var s=(o=o||{}).dataIndex,m=o.isInit,v=o.clearStyle,b=n.isAnimationEnabled(),_=f(e),w=t.style;_.userDuring=t.during;var C={},x={};if(function(e,t,n){for(var r=0;r=0)){var p=e.getAnimationStyleProps(),m=p?p.style:null;if(m){!a&&(a=o.style={});var g=Object(i.keys)(n);for(d=0;d0&&e.animateFrom(T,E)}else!function(e,t,n,r,i){if(i){var o=p("update",e,t,r,n);o.duration>0&&e.animateFrom(i,o)}}(e,t,s||0,n,C);g(e,t),w?e.dirty():e.markRedraw()}function g(e,t){for(var n=f(e).leaveToProps,r=0;r=0){!s&&(s=o[e]={});var p=Object(i.keys)(l);for(h=0;h"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){var r=n(170);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(150),i=n(87),o=n(151),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,d=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,d)}))}},function(e,t,n){"use strict";var r=n(492),i=n(651),o=n(145),a=n(170),s=n(1657),l=n(652),u=n(160),c=n(493),d=n(491),h=n(87),f=[].push,p=Math.min,m=!h((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);for(var s,l,u,c=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,h+"g");(s=d.call(m,r))&&!((l=m.lastIndex)>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=o));)m.lastIndex===s.index&&m.lastIndex++;return p===r.length?!u&&m.test("")||c.push(""):c.push(r.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var d=o(e),h=String(this),f=s(d,RegExp),g=d.unicode,v=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new f(m?d:"^(?:"+d.source+")",v),b=void 0===i?4294967295:i>>>0;if(0===b)return[];if(0===h.length)return null===c(y,h)?[h]:[];for(var _=0,w=0,S=[];w=0||o&&r.indexOf(o,l)<0)){var u=n.getShallow(l,t);null!=u&&(a[e[s][0]]=u)}}return a}}},function(e,t,n){"use strict";function r(e,t,n,r,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=o(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===r){var u=Math.abs(t[1]-t[0]);u=o(u,[0,l]),a=s=o(u,[a,s]),r=0}t[0]=o(t[0],n),t[1]=o(t[1],n);var c=i(t,r);t[r]+=e;var d,h=a||0,f=n.slice();return c.sign<0?f[0]+=h:f[1]-=h,t[r]=o(t[r],f),d=i(t,r),null!=a&&(d.sign!==c.sign||d.spans&&(t[1-r]=t[r]+d.sign*s),t}function i(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function o(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getDefaultLabel",(function(){return o})),n.d(t,"getDefaultInterpolatedLabel",(function(){return a}));var r=n(155),i=n(0);function o(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var o=Object(r.retrieveRawValue)(e,t,n[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s=0&&r.push(t[a])}return r.join(" ")}},function(e,t,n){"use strict";n.r(t);n(500);var r=n(4),i=n(110),o=n(48),a=n(1),s=n(2),l=n(7);function u(e,t){for(var n=0;n1e-4)return p[0]=e-n,p[1]=t-i,m[0]=e+n,void(m[1]=t+i);if(c[0]=l(o)*n+e,c[1]=s(o)*i+t,d[0]=l(a)*n+e,d[1]=s(a)*i+t,g(p,c,d),v(m,c,d),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!f?a+=u:oo&&(h[0]=l(_)*n+e,h[1]=s(_)*i+t,g(p,h,p),v(m,h,m))}},function(e,t,n){"use strict";n.r(t),n.d(t,"CircleShape",(function(){return o}));var r=n(3),i=n(37),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(i.default);a.prototype.type="circle",t.default=a},function(e,t,n){"use strict";function r(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX;return((t.getZoom()-1)*n+1)/r}function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}n.r(t),n.d(t,"getNodeGlobalScale",(function(){return r})),n.d(t,"getSymbolSize",(function(){return i}))},function(e,t,n){"use strict";n.r(t);n(104),n(240);var r=n(13),i=n(100);function o(){var e=u(["The merged cell declared at [",", ",'] has "rowspan" or "colspan" declared as \n "0", which is not supported. It cannot be added to the collection.']);return o=function(){return e},e}function a(){var e=u(["The merged cell declared at [",", ",'] has both "rowspan" \n and "colspan" declared as "1", which makes it a single cell. It cannot be added to the collection.']);return a=function(){return e},e}function s(){var e=u(["The merged cell declared at [",", ","] is positioned (or positioned partially) \n outside of the table range. It was not added to the table, please fix your setup."]);return s=function(){return e},e}function l(){var e=u(["The merged cell declared with {row: ",", col: ",", rowspan: \n ",", colspan: ","} contains negative values, which is not supported. It \n will not be added to the collection."]);return l=function(){return e},e}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){for(var n=0;n=t||e.row+e.rowspan-1>=t||e.col>=n||e.col+e.colspan-1>=n}}],(n=[{key:"normalize",value:function(e){var t=e.countRows(),n=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>n-1&&(this.col=n-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>n-1&&(this.colspan=n-this.col)}},{key:"includes",value:function(e,t){return this.row<=e&&this.col<=t&&this.row+this.rowspan-1>=e&&this.col+this.colspan-1>=t}},{key:"includesHorizontally",value:function(e){return this.col<=e&&this.col+this.colspan-1>=e}},{key:"includesVertically",value:function(e){return this.row<=e&&this.row+this.rowspan-1>=e}},{key:"shift",value:function(e,t){var n=e[0]||e[1],r=t+Math.abs(e[0]||e[1])-1,i=e[0]?"colspan":"rowspan",o=e[0]?"col":"row",a=Math.min(t,r),s=Math.max(t,r),l=this[o],u=this[o]+this[i]-1;if(l>=t&&(this[o]+=n),n>0)t<=u&&t>l&&(this[i]+=n);else if(n<0){if(a<=l&&s>=u)return this.removed=!0,!1;if(l>=a&&l<=s){var c=s-l+1,d=Math.abs(n)-c;this[o]-=d+n,this[i]-=c}else if(l<=a&&u>=s)this[i]+=n;else if(l<=a&&u>=a&&uthis.row:"right"===t?e.col+e.colspan-1this.col:null)}},{key:"getLastRow",value:function(){return this.row+this.rowspan-1}},{key:"getLastColumn",value:function(){return this.col+this.colspan-1}},{key:"getRange",value:function(){return new r.CellRange(new r.CellCoords(this.row,this.col),new r.CellCoords(this.row,this.col),new r.CellCoords(this.getLastRow(),this.getLastColumn()))}}])&&c(t.prototype,n),u&&c(t,u),e}();t.default=d},function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return i})),n.d(t,"firstWalk",(function(){return o})),n.d(t,"secondWalk",(function(){return a})),n.d(t,"separation",(function(){return s})),n.d(t,"radialCoordinate",(function(){return l})),n.d(t,"getViewRect",(function(){return u}));var r=n(32);function i(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[t];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var a=r[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function o(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,r=0,i=0;for(;--n>=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,p=a.hierNode.modifier,m=s.hierNode.modifier;s=c(s),o=d(o),s&&o;){i=c(i),a=d(a),i.hierNode.ancestor=e;var g=s.hierNode.prelim+m-o.hierNode.prelim-u+r(s,o);g>0&&(f(h(s,e,n),e,g),u+=g,l+=g),m+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,p+=a.hierNode.modifier}s&&!c(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=m-l),o&&!d(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-p,n=e)}return n}(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function a(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:p}function l(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function u(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function d(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function h(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function f(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function p(e,t){return e.parentNode===t.parentNode?1:2}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(746),i=n(1399),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n0&&(r.name=i+(a-1)),a++,t.set(i,a)}}(p),new c.SeriesDataSchema({source:e,dimensions:p,fullDimensionCount:m,dimensionOmitted:g})}function f(e,t,n){var r=t.data;if(n||r.hasOwnProperty(e)){for(var i=0;r.hasOwnProperty(e+i);)i++;e+=i}return t.set(e,!0),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return i}));var r=n(6);function i(){var e=Object(r.makeInner)();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}},function(e,t,n){"use strict";n.r(t),n.d(t,"AxisModelCommonMixin",(function(){return r}));var r=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(204),i=n(105),o=n(0);function a(e,t,n){t=Object(o.isArray)(t)&&{coordDimensions:t}||Object(o.extend)({encodeDefine:e.getEncode()},t);var a=e.getSource(),s=Object(r.default)(a,t).dimensions,l=new i.default(s,e);return l.initData(a,n),l}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(84),n(109),n(15),n(12),n(30),n(16),n(17);var r=n(1),i=n(83),o=n(102),a=n(512),s=n(513),l=n(515),u=n(61),c=n(1270),d=n(1271);function h(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]&&arguments[0],t=this.wot,n=t.wtOverlays,i=t.wtViewport,o=t.getSetting("totalRows"),l=t.getSetting("totalColumns"),c=t.getSetting("rowHeaders"),d=c.length,h=t.getSetting("columnHeaders"),f=h.length,p=!1,m=e;if(this.isMaster&&(this.holderOffset=Object(r.offset)(this.holder),m=i.createRenderCalculators(m),d&&!t.getSetting("fixedColumnsLeft"))){var g=n.leftOverlay.getScrollPosition(),v=this.correctHeaderWidth;this.correctHeaderWidth=g>0,v!==this.correctHeaderWidth&&(m=!1)}if(this.isMaster&&(p=n.prepareOverlays()),m)this.isMaster&&i.createVisibleCalculators(),n&&n.refresh(!0);else{this.isMaster?this.tableOffset=Object(r.offset)(this.TABLE):this.tableOffset=this.wot.cloneSource.wtTable.tableOffset;var y=o>0?this.getFirstRenderedRow():0,b=l>0?this.getFirstRenderedColumn():0;this.rowFilter=new s.default(y,o,f),this.columnFilter=new a.default(b,l,d);var _,w=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();var S={};this.wot.getSetting("beforeDraw",!0,S),w=!0!==S.skipRender}if(w)if(this.tableRenderer.setHeaderContentRenderers(c,h),(this.is(u.default.CLONE_BOTTOM)||this.is(u.default.CLONE_BOTTOM_LEFT_CORNER))&&this.tableRenderer.setHeaderContentRenderers(c,[]),this.resetOversizedRows(),this.tableRenderer.setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&(_=this.wot.wtViewport.getWorkspaceWidth(),this.wot.wtViewport.containerWidth=null,this.markOversizedColumnHeaders()),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(u.default.CLONE_BOTTOM))&&this.markOversizedRows(),this.isMaster){this.wot.wtViewport.createVisibleCalculators(),this.wot.wtOverlays.refresh(!1),this.wot.wtOverlays.applyToDOM();var O=Object(r.outerWidth)(this.hider),C=Object(r.outerWidth)(this.TABLE);0!==O&&C!==O&&(this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),_!==this.wot.wtViewport.getWorkspaceWidth()&&(this.wot.wtViewport.containerWidth=null,this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),this.wot.getSetting("onDraw",!0)}else this.is(u.default.CLONE_BOTTOM)&&this.wot.cloneSource.wtOverlays.adjustElementsSize()}return this.refreshSelections(m),this.isMaster&&(n.topOverlay.resetFixedPosition(),n.bottomOverlay.clone&&n.bottomOverlay.resetFixedPosition(),n.leftOverlay.resetFixedPosition(),n.topLeftCornerOverlay&&n.topLeftCornerOverlay.resetFixedPosition(),n.bottomLeftCornerOverlay&&n.bottomLeftCornerOverlay.clone&&n.bottomLeftCornerOverlay.resetFixedPosition()),p&&n.syncScrollWithMaster(),t.drawn=!0,this}},{key:"markIfOversizedColumnHeader",value:function(e){for(var t,n,i,o=this.wot.wtTable.columnFilter.renderedToSource(e),a=this.wot.getSetting("columnHeaders").length,s=this.wot.wtSettings.settings.defaultRowHeight,l=this.wot.getSetting("columnHeaderHeight")||[];a;)a-=1,t=this.wot.wtTable.getColumnHeaderHeight(a),(n=this.wot.wtTable.getColumnHeader(o,a))&&(i=Object(r.innerHeight)(n),(!t&&s=0)throw new Error("TR was expected to be rendered but is not");var s=a.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(n)];if(!s&&n>=0)throw new Error("TD or TH was expected to be rendered but is not");return s}},{key:"getColumnHeader",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.THEAD.childNodes[t];if(n)return n.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}},{key:"getRowHeader",value:function(e){if(0===this.columnFilter.sourceColumnToVisibleRowHeadedColumn(0))return null;var t=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)];return t?t.childNodes[0]:void 0}},{key:"getCoords",value:function(e){var t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=Object(r.closest)(t,["TD","TH"])),null===t)return null;var n=t.parentNode,i=n.parentNode,a=Object(r.index)(n),s=t.cellIndex;return Object(r.overlayContainsElement)(u.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_TOP,t,this.wtRootElement)?"THEAD"===i.nodeName&&(a-=i.childNodes.length):a=Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM,t,this.wtRootElement)?this.wot.getSetting("totalRows")-i.childNodes.length+a:i===this.THEAD?this.rowFilter.visibleColHeadedRowToSourceRow(a):this.rowFilter.renderedToSource(a),s=Object(r.overlayContainsElement)(u.default.CLONE_TOP_LEFT_CORNER,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_LEFT,t,this.wtRootElement)||Object(r.overlayContainsElement)(u.default.CLONE_BOTTOM_LEFT_CORNER,t,this.wtRootElement)?this.columnFilter.offsettedTH(s):this.columnFilter.visibleRowHeadedColumnToSourceColumn(s),new o.default(a,s)}},{key:"markOversizedRows",value:function(){if(!this.wot.getSetting("externalRowCalculator")){var e,t,n,i,o,a=this.TBODY.childNodes.length;if(a*this.wot.wtSettings.settings.defaultRowHeight!=Object(r.innerHeight)(this.TBODY)-1||this.wot.getSetting("fixedRowsBottom"))for(;a;)a-=1,n=this.rowFilter.renderedToSource(a),e=this.getRowHeight(n),t=(o=(i=this.getTrForRow(n)).querySelector("th"))?Object(r.innerHeight)(o):Object(r.innerHeight)(i)-1,(!e&&this.wot.wtSettings.settings.defaultRowHeightthis.wot.getSetting("columnHeaders").length-1}},{key:"isRowHeaderLevelRendered",value:function(e){return e>this.wot.getSetting("rowHeaders").length-1}},{key:"isRowBeforeRenderedRows",value:function(e){var t=this.getFirstRenderedRow();return e<0&&(e=0),-1===t||ethis.getLastVisibleRow()}},{key:"isRowAfterRenderedRows",value:function(e){if(e<0){var t=this.wot.getSetting("columnHeaders").length+e;return this.isColumnHeaderLevelRendered(t)}return e>this.getLastRenderedRow()}},{key:"isColumnBeforeViewport",value:function(e){return this.columnFilter&&this.columnFilter.sourceToRendered(e)<0&&e>=0}},{key:"isColumnBeforeRenderedColumns",value:function(e){var t=this.getFirstRenderedColumn();return e<0&&(e=0),-1===t||ethis.getLastVisibleColumn()}},{key:"isColumnAfterRenderedColumns",value:function(e){if(e<0){var t=this.wot.getSetting("rowHeaders").length+e;return this.isRowHeaderLevelRendered(t)}return this.columnFilter&&e>this.getLastRenderedColumn()}},{key:"isLastRowFullyVisible",value:function(){return this.getLastVisibleRow()===this.getLastRenderedRow()}},{key:"isLastColumnFullyVisible",value:function(){return this.getLastVisibleColumn()===this.getLastRenderedColumn()}},{key:"allRowsInViewport",value:function(){return this.wot.getSetting("totalRows")===this.getVisibleRowsCount()}},{key:"allColumnsInViewport",value:function(){return this.wot.getSetting("totalColumns")===this.getVisibleColumnsCount()}},{key:"getRowHeight",value:function(e){return this.rowUtils.getHeight(e)}},{key:"getColumnHeaderHeight",value:function(e){return this.columnUtils.getHeaderHeight(e)}},{key:"getColumnWidth",value:function(e){return this.columnUtils.getWidth(e)}},{key:"getStretchedColumnWidth",value:function(e){return this.columnUtils.getStretchedColumnWidth(e)}},{key:"hasDefinedSize",value:function(){return this.hasTableHeight&&this.hasTableWidth}},{key:"isVisible",value:function(){return Object(r.isVisible)(this.TABLE)}},{key:"_modifyRowHeaderWidth",value:function(e){var t=Object(i.isFunction)(e)?e():null;return Array.isArray(t)?(t=h(t))[t.length-1]=this._correctRowHeaderWidth(t[t.length-1]):t=this._correctRowHeaderWidth(t),t}},{key:"_correctRowHeaderWidth",value:function(e){var t=e;return"number"!=typeof e&&(t=this.wot.getSetting("defaultColumnWidth")),this.correctHeaderWidth&&(t+=1),t}}])&&p(t.prototype,n),m&&p(t,m),e}();t.default=m},function(e,t,n){"use strict";n.r(t),n.d(t,"RecordTranslator",(function(){return a})),n.d(t,"registerIdentity",(function(){return u})),n.d(t,"getTranslator",(function(){return c})),n.d(t,"getIdentity",(function(){return d}));n(15),n(12),n(16),n(88),n(17);var r=n(330),i=n(4);function o(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:1,i=Object(r.arrayMax)(this._arrayMap)+1,a=[];return Object(o.rangeEach)(n-1,(function(n){a.push(t._arrayMap.splice(e+n,0,i+n))})),a},removeItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[];if(Array.isArray(e)){var r=[].concat(this._arrayMap);e.sort((function(e,t){return t-e}));for(var i=0,o=e.length;i1&&void 0!==arguments[1]?arguments[1]:1,n=this.removeItems(e,t);function i(e){return Object(r.arrayReduce)(n,(function(t,n){var r=t;return e>n&&(r+=1),r}),0)}this._arrayMap=Object(r.arrayMap)(this._arrayMap,(function(e){var t=e,n=i(t);return n&&(t-=n),t}))},shiftItems:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._arrayMap=Object(r.arrayMap)(this._arrayMap,(function(t){var r=t;return r>=e&&(r+=n),r})),Object(o.rangeEach)(n-1,(function(n){t._arrayMap.splice(e+n,0,e+n)}))},swapIndexes:function(e,t){var n;(n=this._arrayMap).splice.apply(n,[t,0].concat(a(this._arrayMap.splice(e,1))))},clearMap:function(){this._arrayMap.length=0}};Object(i.defineGetter)(s,"MIXIN_NAME","arrayMapper",{writable:!1,enumerable:!1}),t.default=s},function(e,t,n){"use strict";n.r(t),n.d(t,"SYSTEM_LANG",(function(){return c})),n.d(t,"registerLocale",(function(){return d})),n.d(t,"createLocaleObject",(function(){return h})),n.d(t,"getLocaleModel",(function(){return f})),n.d(t,"getDefaultLocaleModel",(function(){return p}));var r=n(63),i=n(53),o=n(1048),a=n(1049),s=n(0),l={},u={},c=i.default.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function d(e,t){e=e.toUpperCase(),u[e]=new r.default(t),l[e]=t}function h(e){if(Object(s.isString)(e)){var t=l[e.toUpperCase()]||{};return"ZH"===e||"EN"===e?Object(s.clone)(t):Object(s.merge)(Object(s.clone)(t),Object(s.clone)(l.EN),!1)}return Object(s.merge)(Object(s.clone)(e),Object(s.clone)(l.EN),!1)}function f(e){return u[e]}function p(){return u.EN}d("EN",o.default),d("ZH",a.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"createFromString",(function(){return w})),n.d(t,"extendFromString",(function(){return S})),n.d(t,"mergePath",(function(){return O})),n.d(t,"clonePath",(function(){return C}));var r=n(3),i=n(37),o=n(130),a=n(700),s=n(0),l=Math.sqrt,u=Math.sin,c=Math.cos,d=Math.PI;function h(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function f(e,t){return(e[0]*t[0]+e[1]*t[1])/(h(e)*h(t))}function p(e,t){return(e[0]*t[1]1&&(a*=l(_),s*=l(_));var w=(i===o?-1:1)*l((a*a*(s*s)-a*a*(b*b)-s*s*(y*y))/(a*a*(b*b)+s*s*(y*y)))||0,S=w*a*b/s,O=w*-s*y/a,C=(e+n)/2+c(v)*S-u(v)*O,x=(t+r)/2+u(v)*S+c(v)*O,T=p([1,0],[(y-S)/a,(b-O)/s]),E=[(y-S)/a,(b-O)/s],k=[(-1*y-S)/a,(-1*b-O)/s],M=p(E,k);if(f(E,k)<=-1&&(M=d),f(E,k)>=1&&(M=0),M<0){var A=Math.round(M/d*1e6)/1e6;M=2*d+A%2*d}g.addData(m,C,x,a,s,T,M,v,o)}var g=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,v=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.applyTransform=function(e){},t}(i.default);function b(e){return null!=e.setData}function _(e,t){var n=function(e){var t=new o.default;if(!e)return t;var n,r=0,i=0,a=r,s=i,l=o.default.CMD,u=e.match(g);if(!u)return t;for(var c=0;c0))}function g(e){return"string"==typeof e&&"none"!==e}function v(e){var t=e.fill;return null!=t&&"none"!==t}function y(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function b(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function _(e,t,n){var r=Object(o.createOrUpdateImage)(t.image,t.__image,n);if(Object(o.isImageReady)(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}var w=["shadowBlur","shadowOffsetX","shadowOffsetY"],S=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function O(e,t,n,i,o){var a=!1;if(!i&&t===(n=n||{}))return!1;if(i||t.opacity!==n.opacity){T(e,o),a=!0;var s=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(s)?r.DEFAULT_COMMON_STYLE.opacity:s}(i||t.blend!==n.blend)&&(a||(T(e,o),a=!0),e.globalCompositeOperation=t.blend||r.DEFAULT_COMMON_STYLE.blend);for(var l=0;l0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}(e),n=[];return Object(r.each)(e,(function(e){var r,o=e.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,c=t[s],d=Math.abs(a[1]-a[0]),h=o.scale.getExtent(),f=Math.abs(h[1]-h[0]);r=c?d/f*c:d}else{var p=e.getData();r=Math.abs(a[1]-a[0])/p.count()}var m=Object(i.parsePercent)(e.get("barWidth"),r),g=Object(i.parsePercent)(e.get("barMaxWidth"),r),v=Object(i.parsePercent)(e.get("barMinWidth")||(y(e)?.5:1),r),b=e.get("barGap"),_=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:g,barMinWidth:v,barGap:b,barCategoryGap:_,axisKey:u(o),stackId:l(e)})})),f(n)}function f(e){var t={};Object(r.each)(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return Object(r.each)(t,(function(e,t){n[t]={};var o=e.stacks,a=e.bandWidth,s=e.categoryGap;if(null==s){var l=Object(r.keys)(o).length;s=Math.max(35-4*l,15)+"%"}var u=Object(i.parsePercent)(s,a),c=Object(i.parsePercent)(e.gap,1),d=e.remainedWidth,h=e.autoWidthCount,f=(d-u)/(h+(h-1)*c);f=Math.max(f,0),Object(r.each)(o,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,d-=r+c*r,h--}else{var r=f;t&&tr&&(r=n),r!==f&&(e.width=r,d-=r+c*r,h--)}})),f=(d-u)/(h+(h-1)*c),f=Math.max(f,0);var p,m=0;Object(r.each)(o,(function(e,t){e.width||(e.width=f),p=e,m+=e.width*(1+c)})),p&&(m-=p.width*c);var g=-m/2;Object(r.each)(o,(function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:g,width:e.width},g+=e.width*(1+c)}))})),n}function p(e,t,n){if(e&&t){var r=e[u(t)];return null!=r&&null!=n?r[l(n)]:r}}function m(e,t){var n=d(e,t),i=h(n);Object(r.each)(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),r=l(e),o=i[u(n)][r],a=o.offset,s=o.width;t.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function g(e){return{seriesType:e,plan:Object(a.default)(),reset:function(e){if(v(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=t.getDimensionIndex(t.mapDimension(i.dim)),l=t.getDimensionIndex(t.mapDimension(r.dim)),u=e.get("showBackground",!0),c=t.mapDimension(i.dim),d=t.getCalculationInfo("stackResultDimension"),h=Object(o.isDimensionStacked)(t,c)&&!!t.getCalculationInfo("stackedOnSeries"),f=i.isHorizontal(),p=function(e,t){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}(0,i),m=y(e),g=e.get("barMinHeight")||0,b=d&&t.getDimensionIndex(d),_=t.getLayout("size"),w=t.getLayout("offset");return{progress:function(e,t){for(var r,i=e.count,o=m&&Object(s.createFloat32Array)(3*i),c=m&&u&&Object(s.createFloat32Array)(3*i),d=m&&Object(s.createFloat32Array)(i),v=n.master.getRect(),y=f?v.width:v.height,S=t.getStore(),O=0;null!=(r=e.next());){var C=S.get(h?b:a,r),x=S.get(l,r),T=p,E=void 0;h&&(E=+C-S.get(a,r));var k=void 0,M=void 0,A=void 0,D=void 0;if(f){var I=n.dataToPoint([C,x]);if(h)T=n.dataToPoint([E,x])[0];k=T,M=I[1]+w,A=I[0]-T,D=_,Math.abs(A)0;)t=(n-1)%o,r=String.fromCharCode(65+t)+r,n=parseInt((n-t)/o,10);return r}function s(e){var t=0;if(e)for(var n=0,r=e.length-1;n0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,i=[];for(e=0;e0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,i=[];for(e=0;e0?r:n)(e)}},function(e,t,n){"use strict";var r=n(85);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var r=n(71),i=n(183),o=n(421);r({target:"Object",stat:!0,forced:n(87)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,n){"use strict";n.r(t);var r=n(0),i={},o=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];r.each(i,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){r.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){i[e]=t},e.get=function(e){return i[e]},e}();t.default=o},function(e,t,n){"use strict";n.r(t),n.d(t,"createGridClipPath",(function(){return l})),n.d(t,"createPolarClipPath",(function(){return u})),n.d(t,"createClipPath",(function(){return c}));var r=n(70),i=n(23),o=n(156),a=n(5),s=n(0);function l(e,t,n,o,a){var l=e.getArea(),u=l.x,c=l.y,d=l.width,h=l.height,f=n.get(["lineStyle","width"])||2;u-=f/2,c-=f/2,d+=f,h+=f,u=Math.floor(u),d=Math.round(d);var p=new r.default({shape:{x:u,y:c,width:d,height:h}});if(t){var m=e.getBaseAxis(),g=m.isHorizontal(),v=m.inverse;g?(v&&(p.shape.x+=d),p.shape.width=0):(v||(p.shape.y+=h),p.shape.height=0);var y=Object(s.isFunction)(a)?function(e){a(e,p)}:null;i.initProps(p,{shape:{width:d,height:h,x:u,y:c}},n,null,o,y)}return p}function u(e,t,n){var r=e.getArea(),s=Object(a.round)(r.r0,1),l=Object(a.round)(r.r,1),u=new o.default({shape:{cx:Object(a.round)(e.cx,1),cy:Object(a.round)(e.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});t&&("angle"===e.getBaseAxis().dim?u.shape.endAngle=r.startAngle:u.shape.r=s,i.initProps(u,{shape:{endAngle:r.endAngle,r:l}},n));return u}function c(e,t,n,r,i){return e?"polar"===e.type?u(e,t,n):"cartesian2d"===e.type?l(e,t,n,r,i):null:null}},function(e,t,n){"use strict";n.r(t),n.d(t,"operations",(function(){return r})),n.d(t,"getOperationFunc",(function(){return i})),n.d(t,"getOperationName",(function(){return o})),n.d(t,"registerOperation",(function(){return a}));n(187);var r={};function i(e){if(!r[e])throw Error('Operation with id "'.concat(e,'" does not exist.'));var t=r[e].func;return function(e,n){return t(e,n)}}function o(e){return r[e].name}function a(e,t,n){r[e]={name:t,func:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createVisualMappings",(function(){return l})),n.d(t,"replaceVisualOption",(function(){return u})),n.d(t,"applyVisual",(function(){return c})),n.d(t,"incrementalApplyVisual",(function(){return d}));var r=n(0),i=n(119),o=n(162),a=r.each;function s(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function l(e,t,n){var o={};return a(t,(function(t){var s,l=o[t]=((s=function(){}).prototype.__hidden=s.prototype,new s);a(e[t],(function(e,o){if(i.default.isValidType(o)){var a={type:o,visual:e};n&&n(a,t),l[o]=new i.default(a),"opacity"===o&&((a=r.clone(a)).type="colorAlpha",l.__hidden.__alphaForOpacity=new i.default(a))}}))})),o}function u(e,t,n){var i;r.each(n,(function(e){t.hasOwnProperty(e)&&s(t[e])&&(i=!0)})),i&&r.each(n,(function(n){t.hasOwnProperty(n)&&s(t[n])?e[n]=r.clone(t[n]):delete e[n]}))}function c(e,t,n,a,s,l){var u,c={};function d(e){return Object(o.getItemVisualFromData)(n,u,e)}function h(e,t){Object(o.setItemVisualFromData)(n,u,e,t)}function f(e,r){u=null==l?e:r;var i=n.getRawDataItem(u);if(!i||!1!==i.visualMap)for(var o=a.call(s,e),f=t[o],p=c[o],m=0,g=p.length;mt&&o>r||oi?s:0}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"WORKING_SPACE_ALL",(function(){return r})),n.d(t,"WORKING_SPACE_TOP",(function(){return i})),n.d(t,"WORKING_SPACE_BOTTOM",(function(){return o}));var r=0,i=1,o=2},function(e,t,n){var r=n(94);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},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 r=n(22),i=n(220),o=n(85);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(221),i=n(411),o=n(137),a=n(115),s=n(623);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,g,v=o(t),y=i(v),b=r(s,p,3),_=a(y.length),w=0,S=n?f(t,_):l?f(t,0):void 0;_>w;w++)if((h||w in y)&&(g=b(m=y[w],w,v),e))if(n)S[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:S.push(m)}else if(c)return!1;return d?-1:u||c?c:S}}},function(e,t,n){var r=n(150),i=n(165),o=n(415);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(121),i=n(237),o=n(151),a=n(633),s=n(927),l=n(292),u=l.get,c=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),(l=c(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(u?!f&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){"use strict";var r=n(489),i=n(948);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){var r=n(71),i=n(939),o=n(87),a=n(129),s=n(423).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!i},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="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};t.noop=function(){},t.hasOwn=function(e,t){return l.call(e,t)},t.toObject=function(e){for(var t={},n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var c=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},d=(t.arrayFind=function(e,t){var n=c(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":r(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=e[n];n&&r&&t.forEach((function(t){e[t+n]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),r=(0,s.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),h=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t.default=o},function(e,t,n){"use strict";n.r(t);var r=n(41),i=n(23),o=n(14),a=n(275),s=n(0),l=n(24);function u(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function c(e){return null==e||Object(s.isObject)(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Object(l.getLabelStatesModels)(t),cursorStyle:t.get("cursor")}}var h=function(){function e(e){this.group=new r.default,this._SymbolCtor=e||a.default}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=c(t);var n=this.group,r=e.hostModel,o=this._data,a=this._SymbolCtor,s=t.disableAnimation,l=d(e),h={disableAnimation:s},f=t.getSymbolPoint||function(t){return e.getItemLayout(t)};o||n.removeAll(),e.diff(o).add((function(r){var i=f(r);if(u(e,i,r,t)){var o=new a(e,r,l,h);o.setPosition(i),e.setItemGraphicEl(r,o),n.add(o)}})).update((function(c,d){var p=o.getItemGraphicEl(d),m=f(c);if(u(e,m,c,t)){var g=e.getItemVisual(c,"symbol")||"circle",v=p&&p.getSymbolType&&p.getSymbolType();if(!p||v&&v!==g)n.remove(p),(p=new a(e,c,l,h)).setPosition(m);else{p.updateData(e,c,l,h);var y={x:m[0],y:m[1]};s?p.attr(y):i.updateProps(p,y,r)}n.add(p),e.setItemGraphicEl(c,p)}else n.remove(p)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=f,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=c(n);for(var i=e.start;i=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}();t.default=r},function(e,t,n){"use strict";function r(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i3?1.4:i>1?1.2:1.1;u(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);u(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){a.isTaken(this._zr,"globalPan")||u(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(i.default);function u(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(o.stop(r.event),c(e,t,n,r,i))}function c(e,t,n,r,i){i.isAvailableBehavior=Object(s.bind)(d,null,n,r),e.trigger(t,i)}function d(e,t,n){var r=n[e];return!e||r&&(!Object(s.isString)(r)||t.event[r+"Key"])}t.default=l},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(1269);function i(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0];e?Object(r.selectElementIfAllowed)(this.TEXTAREA):(this.TEXTAREA.select(),Object(r.setCaretPosition)(this.TEXTAREA,this.TEXTAREA.value.length))}},{key:"createElements",value:function(){var e=this.hot.rootDocument;this.TEXTAREA=e.createElement("TEXTAREA"),this.TEXTAREA.tabIndex=-1,Object(r.addClass)(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=e.createElement("DIV"),Object(r.addClass)(this.TEXTAREA_PARENT,"handsontableInputHolder"),Object(r.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&Object(r.removeClass)(this.TEXTAREA_PARENT,this.layerClass),Object(r.addClass)(this.TEXTAREA_PARENT,"ht_editor_hidden"),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}},{key:"hideEditableElement",value:function(){(Object(s.isIE)()||Object(s.isEdge)())&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",Object(r.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&Object(r.removeClass)(this.TEXTAREA_PARENT,this.layerClass),Object(r.addClass)(this.TEXTAREA_PARENT,"ht_editor_hidden")}},{key:"showEditableElement",value:function(){this.textareaParentStyle.height="",this.textareaParentStyle.overflow="",this.textareaParentStyle.position="",this.textareaParentStyle.right="auto",this.textareaParentStyle.opacity="1",this.textareaStyle.textIndent="",this.textareaStyle.overflowY="hidden";var e=this.TEXTAREA_PARENT.childNodes,t=!1;Object(i.rangeEach)(e.length-1,(function(n){var i=e[n];if(Object(r.hasClass)(i,"handsontableEditor"))return t=!0,!1})),Object(r.hasClass)(this.TEXTAREA_PARENT,"ht_editor_hidden")&&Object(r.removeClass)(this.TEXTAREA_PARENT,"ht_editor_hidden"),t?(this.layerClass="ht_editor_visible",Object(r.addClass)(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),Object(r.addClass)(this.TEXTAREA_PARENT,this.layerClass))}},{key:"refreshValue",value:function(){var e=this.hot.toPhysicalRow(this.row),t=this.hot.getSourceDataAtCell(e,this.col);this.originalValue=t,this.setValue(t),this.refreshDimensions()}},{key:"refreshDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state===l.EditorState.EDITING||e)if(this.TD=this.getEditedCell(),this.TD){var t,n=this.hot.view.wt,i=n.wtOverlays,o=n.wtViewport,a=Object(r.offset)(this.TD),s=Object(r.offset)(this.hot.rootElement),u=i.topOverlay.holder,c=i.leftOverlay.holder,d=this.hot.countRows(),h=u!==this.hot.rootWindow?u.scrollTop:0,f=c!==this.hot.rootWindow?c.scrollLeft:0,p=this.checkEditorSection(),m=["","left"].includes(p)?h:0,g=["","top","bottom"].includes(p)?f:0,v=a.top===s.top?0:1,y=this.hot.getSettings(),b=this.hot.hasColHeaders(),_=this.TD.style.backgroundColor,w=a.top-s.top-v-m,S=a.left-s.left-1-g;switch(p){case"top":t=Object(r.getCssTransform)(i.topOverlay.clone.wtTable.holder.parentNode);break;case"left":t=Object(r.getCssTransform)(i.leftOverlay.clone.wtTable.holder.parentNode);break;case"top-left-corner":t=Object(r.getCssTransform)(i.topLeftCornerOverlay.clone.wtTable.holder.parentNode);break;case"bottom-left-corner":t=Object(r.getCssTransform)(i.bottomLeftCornerOverlay.clone.wtTable.holder.parentNode);break;case"bottom":t=Object(r.getCssTransform)(i.bottomOverlay.clone.wtTable.holder.parentNode)}(b&&0===this.hot.getSelectedLast()[0]||y.fixedRowsBottom&&this.hot.getSelectedLast()[0]===d-y.fixedRowsBottom)&&(w+=1),0===this.hot.getSelectedLast()[1]&&(S+=1),t&&-1!==t?this.textareaParentStyle[t[0]]=t[1]:Object(r.resetCssTransform)(this.TEXTAREA_PARENT),this.textareaParentStyle.top="".concat(w,"px"),this.textareaParentStyle.left="".concat(S,"px"),this.showEditableElement();var O=o.rowsRenderCalculator.startPosition,C=o.columnsRenderCalculator.startPosition,x=i.leftOverlay.getScrollPosition(),T=i.topOverlay.getScrollPosition(),E=Object(r.getScrollbarWidth)(this.hot.rootDocument),k=this.TD.offsetTop+O-T,M=this.TD.offsetLeft+C-x,A=Object(r.innerWidth)(this.TD)-8,D=Object(r.hasVerticalScrollbar)(u)?E:0,I=Object(r.hasHorizontalScrollbar)(c)?E:0,R=this.hot.view.maximumVisibleElementWidth(M)-9-D,L=this.TD.scrollHeight+1,j=Math.max(this.hot.view.maximumVisibleElementHeight(k)-I,23),P=Object(r.getComputedStyle)(this.TD,this.hot.rootWindow);this.TEXTAREA.style.fontSize=P.fontSize,this.TEXTAREA.style.fontFamily=P.fontFamily,this.TEXTAREA.style.backgroundColor=_,this.autoResize.init(this.TEXTAREA,{minHeight:Math.min(L,j),maxHeight:j,minWidth:Math.min(A,R),maxWidth:R},!0)}else e||this.close()}},{key:"bindEvents",value:function(){var e=this;this.eventManager.addEventListener(this.TEXTAREA,"cut",(function(e){return Object(d.stopPropagation)(e)})),this.eventManager.addEventListener(this.TEXTAREA,"paste",(function(e){return Object(d.stopPropagation)(e)})),this.addHook("afterScrollHorizontally",(function(){return e.refreshDimensions()})),this.addHook("afterScrollVertically",(function(){return e.refreshDimensions()})),this.addHook("afterColumnResize",(function(){e.refreshDimensions(),e.focus()})),this.addHook("afterRowResize",(function(){e.refreshDimensions(),e.focus()}))}},{key:"allowKeyEventPropagation",value:function(){}},{key:"destroy",value:function(){this.eventManager.destroy(),this.clearHooks()}},{key:"onBeforeKeyDown",value:function(e){var t=(e.ctrlKey||e.metaKey)&&!e.altKey;if(e.target===this.TEXTAREA&&!Object(d.isImmediatePropagationStopped)(e)){switch(e.keyCode){case c.KEY_CODES.ARROW_RIGHT:case c.KEY_CODES.ARROW_LEFT:this.isInFullEditMode()&&(this.isWaiting()||this.allowKeyEventPropagation(e.keyCode)||Object(d.stopImmediatePropagation)(e));break;case c.KEY_CODES.ARROW_UP:case c.KEY_CODES.ARROW_DOWN:this.isInFullEditMode()&&(this.isWaiting()||this.allowKeyEventPropagation(e.keyCode)||Object(d.stopImmediatePropagation)(e));break;case c.KEY_CODES.ENTER:var n=this.hot.selection.isMultiple();if(t&&!n||e.altKey){if(this.isOpened()){var i=Object(r.getCaretPosition)(this.TEXTAREA),o=this.getValue(),a="".concat(o.slice(0,i),"\n").concat(o.slice(i));this.setValue(a),Object(r.setCaretPosition)(this.TEXTAREA,i+1)}else this.beginEditing("".concat(this.originalValue,"\n"));Object(d.stopImmediatePropagation)(e)}e.preventDefault();break;case c.KEY_CODES.BACKSPACE:case c.KEY_CODES.DELETE:case c.KEY_CODES.HOME:case c.KEY_CODES.END:Object(d.stopImmediatePropagation)(e)}-1===[c.KEY_CODES.ARROW_UP,c.KEY_CODES.ARROW_RIGHT,c.KEY_CODES.ARROW_DOWN,c.KEY_CODES.ARROW_LEFT].indexOf(e.keyCode)&&this.autoResize.resize(String.fromCharCode(e.keyCode))}}}])&&f(n.prototype,o),y&&f(n,y),t}(l.default);t.default=y},function(e,t,n){"use strict";n.r(t),n.d(t,"KEY",(function(){return r})),n.d(t,"default",(function(){return i}));var r="---------";function i(){return{name:r}}},function(e,t,n){"use strict";n.r(t);n(18),n(19),n(20),n(56),n(15),n(12),n(89),n(30),n(16),n(429),n(148),n(185),n(500),n(17);var r=n(134),i=n(2),o=n(4),a=n(110),s=n(92);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.arrayEach)(this.cells,(function(e){null!=n&&t._translateCell(e,"row",n,o.row),null!=r&&t._translateCell(e,"column",r,o.column)})),this}},{key:"toString",value:function(){var e=this,t=this.expression.replace(p,(function(t,n,i){var o=-1===t.indexOf(":"),a=t,s=t,l=null;o&&(s=c.test(n)?n:i);var u=e._searchCell(s);return u&&(l=u.refError?Object(r.error)(r.ERROR_REF):u.toLabel(),a=o?t.replace(s,l):l),a}));return t.startsWith("=")||(t="=".concat(t)),t}},{key:"_translateCell",value:function(e,t,n,r){var i=e.start,o=e.end,a=i[t].index,s=o[t].index,u=n,c=n,d=!1;if(this.customModifier){var h=l(this.customModifier(e,t,n,r),3);u=h[0],c=h[1],d=h[2]}else i[t].isAbsolute&&(u=0),o[t].isAbsolute&&(c=0);u&&!d&&(a+u<0&&(d=!0),i[t].index=Math.max(a+u,0)),c&&!d&&(s+c<0&&(d=!0),o[t].index=Math.max(s+c,0)),d&&(e.refError=!0)}},{key:"_extractCells",value:function(){var e=this,t=this.expression.match(h);t&&Object(i.arrayEach)(t,(function(t){var n=t.match(d);if(n){var i=l(Object(r.extractLabel)(n[0]),2),o=i[0],a=i[1];e.cells.push(e._createCell({row:o,column:a},{row:o,column:a},n[0]))}}))}},{key:"_extractCellsRange",value:function(){var e=this,t=this.expression.match(f);t&&Object(i.arrayEach)(t,(function(t){var n=l(t.split(":"),2),i=n[0],o=n[1],a=l(Object(r.extractLabel)(i),2),s=a[0],u=a[1],c=l(Object(r.extractLabel)(o),2),d={row:s,column:u},h={row:c[0],column:c[1]};e.cells.push(e._createCell(d,h,t))}))}},{key:"_searchCell",value:function(e){return l(Object(i.arrayFilter)(this.cells,(function(t){return t.origLabel===e})),1)[0]||null}},{key:"_createCell",value:function(e,t,n){return{start:e,end:t,origLabel:n,type:-1===n.indexOf(":")?"cell":"range",refError:!1,toLabel:function(){var e=Object(r.toLabel)(this.start.row,this.start.column);return"range"===this.type&&(e+=":".concat(Object(r.toLabel)(this.end.row,this.end.column))),e}}}}])&&u(t.prototype,n),o&&u(t,o),e}();Object(o.mixin)(m,a.default),t.default=m},function(e,t,n){"use strict";n.r(t),n.d(t,"getDecalFromPalette",(function(){return s})),n.d(t,"PaletteMixin",(function(){return a}));var r=n(6),i=Object(r.makeInner)(),o=Object(r.makeInner)(),a=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var o=Object(r.normalizeToArray)(this.get("color",!0)),a=this.get("colorLayer",!0);return l(this,i,o,a,e,t,n)},e.prototype.clearColorPalette=function(){var e,t;(t=i)(e=this).paletteIdx=0,t(e).paletteNameMap={}},e}();function s(e,t,n,i){var a=Object(r.normalizeToArray)(e.get(["aria","decal","decals"]));return l(e,o,a,null,t,n,i)}function l(e,t,n,r,i,o,a){var s=t(o=o||e),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?function(e,t){for(var n=e.length,r=0;rt)return e[r];return e[n-1]}(r,a):n;if((c=c||n)&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var r=n(3),i=n(542),o=n(32),a=n(452),s=n(1079),l=n(0);function u(e,t,n,u){Object(l.each)(s.AXIS_TYPES,(function(s,d){var h=Object(l.merge)(Object(l.merge)({},i.default[d],!0),u,!0),f=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+d,n}return Object(r.__extends)(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(o.fetchLayoutMode)(this),r=n?Object(o.getLayoutParams)(e):{},i=t.getTheme();Object(l.merge)(e,i.get(d+"Axis")),Object(l.merge)(e,this.getDefaultOption()),e.type=c(e),n&&Object(o.mergeLayoutParam)(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=a.default.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+d,n.defaultOption=h,n}(n);e.registerComponentModel(f)})),e.registerSubTypeDefaulter(t+"Axis",c)}function c(e){return e.type||(e.data?"category":"value")}},function(e,t,n){"use strict";n.r(t),n.d(t,"_getRefCount",(function(){return f})),n.d(t,"_resetState",(function(){return c})),n.d(t,"isPressed",(function(){return d})),n.d(t,"isPressedCtrlKey",(function(){return h})),n.d(t,"startObserving",(function(){return l})),n.d(t,"stopObserving",(function(){return u}));n(84),n(15),n(352),n(12),n(297),n(16),n(17);var r=n(48),i=n(40),o=new r.default,a=new Set,s=0;function l(e){0===s&&(o.addEventListener(e,"keydown",(function(e){a.has(e.keyCode)||a.add(e.keyCode)})),o.addEventListener(e,"keyup",(function(e){a.has(e.keyCode)&&a.delete(e.keyCode)})),o.addEventListener(e,"visibilitychange",(function(){e.hidden&&a.clear()})),o.addEventListener(e.defaultView,"blur",(function(){a.clear()}))),s+=1}function u(){s>0&&(s-=1),0===s&&c()}function c(){o.clearEvents(),a.clear(),s=0}function d(e){return Array.from(a.values()).some((function(t){return Object(i.isKey)(t,e)}))}function h(){return Array.from(a.values()).some((function(e){return Object(i.isCtrlMetaKey)(e)}))}function f(){return s}},function(e,t,n){"use strict";n.r(t),n.d(t,"findExistImage",(function(){return a})),n.d(t,"createOrUpdateImage",(function(){return s})),n.d(t,"isImageReady",(function(){return u}));var r=n(242),i=n(90),o=new r.default(50);function a(e){if("string"==typeof e){var t=o.get(e);return t&&t.image}return e}function s(e,t,n,r,a){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var s=o.get(e),c={hostEl:n,cb:r,cbPayload:a};if(s)!u(t=s.image)&&s.pending.push(c);else{var d=i.platformApi.loadImage(e,l,l);d.__zrImageSrc=e,o.put(e,d.__cachedImgObj={image:d,pending:[c]})}return t}return e}return t}function l(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;tn&&(e=i,n=a)}if(e)return function(e){for(var t=0,n=0,r=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s0&&o&&S(-d/a,0,a);var g,v,y=e[0],b=e[a-1];return _(),g<0&&O(-g,.8),v<0&&O(v,.8),_(),w(g,v,1),w(v,g,-1),_(),g<0&&C(-g),v<0&&C(v),u}function _(){g=y.rect[t]-r,v=i-b.rect[t]-b.rect[n]}function w(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){S(r*n,0,a);var i=r+e;i<0&&O(-i*n,1)}else O(-e*n,1)}}function S(n,r,i){0!==n&&(u=!0);for(var o=r;o0)for(l=0;l0;l--){S(-(o[l-1]*d),l,a)}}}function C(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r0?S(n,0,r+1):S(-n,a-r-1,a),(e-=n)<=0)return}}function s(e,t,n,r){return a(e,"x","width",t,n,r)}function l(e,t,n,r){return a(e,"y","height",t,n,r)}function u(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new i.default(0,0,0,0);function o(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var a=0;at+s&&a>r+s||ae+s&&o>n+s||o=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var c={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var f,p,m=i.getModel("universalTransition").get("delay"),g=Object.assign({setToFinal:!0},h);l(e)&&(f=e,p=t),l(t)&&(f=t,p=e);for(var v=f?f===e:e.length>t.length,y=f?u(p,f):u(v?t:e,[v?e:t]),b=0,_=0;_n;)i[n]=t[n++];return i},Me=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Ae=function(e){var t,n,r,i,o,a,s=S(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=E(s);if(null!=h&&!O(h)){for(a=h.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),i=Te(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},De=function(){for(var e=0,t=arguments.length,n=Te(this,t);t>e;)n[e]=arguments[e++];return n},Ie=!!U&&o((function(){fe.call(new U(1))})),Re=function(){return fe.apply(Ie?de.call(xe(this)):xe(this),arguments)},Le={copyWithin:function(e,t){return B.call(xe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(xe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return N.apply(xe(this),arguments)},filter:function(e){return Ee(this,K(xe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(xe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(xe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(xe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(xe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(xe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(xe(this),arguments)},lastIndexOf:function(e){return ae.apply(xe(this),arguments)},map:function(e){return we(xe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(xe(this),arguments)},reduceRight:function(e){return le.apply(xe(this),arguments)},reverse:function(){for(var e,t=xe(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(xe(this),e)},subarray:function(e,t){var n=xe(this),r=n.length,i=v(e,r);return new(I(n,n[ve]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-i))}},je=function(e,t){return Ee(this,de.call(xe(this),e,t))},Pe=function(e){xe(this);var t=Ce(arguments[1],1),n=this.length,r=S(e),i=m(r.length),o=0;if(i+t>n)throw W("Wrong length!");for(;o255?255:255&r),i.v[f](n*t+i.o,r,Se)}(this,n,e)},enumerable:!0})};b?(p=n((function(e,n,r,i){c(e,p,u,"_d");var o,a,s,l,d=0,f=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(l=_(n))||"SharedArrayBuffer"==l))return be in n?ke(p,n):Ae.call(p,n);o=n,f=Ce(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw W("Wrong length!");if((a=v-f)<0)throw W("Wrong length!")}else if((a=m(i)*t)+f>v)throw W("Wrong length!");s=a/t}else s=g(n),o=new G(a=s*t);for(h(e,"_d",{b:o,o:f,l:a,e:s,v:new q(o)});dC;C++)if((f||C in w)&&(b=S(y=w[C],C,_),e))if(t)T[C]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(T,y)}else switch(e){case 4:return!1;case 7:l.call(T,y)}return d?-1:u||c?c:T}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){"use strict";var r=n(71),i=n(349),o=n(183),a=n(87),s=n(294),l=[],u=l.sort,c=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),h=s("sort");r({target:"Array",proto:!0,forced:c||!d||!h},{sort:function(e){return void 0===e?u.call(o(this)):u.call(o(this),i(e))}})},function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var r="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};t.hasClass=f,t.addClass=function(e,t){if(!e)return;for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i-1}var p=t.getStyle=u<9?function(e,t){if(!a){if(!e||!t)return null;"float"===(t=c(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!a){if(!e||!t)return null;"float"===(t=c(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}};var m=t.isScroll=function(e,t){if(!a)return p(e,null!=t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};t.getScrollContainer=function(e,t){if(!a){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.topr.top&&n.right>r.left&&n.left0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return Object(s.createObject)(u,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=Object(o.getBoundingRect)(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(i.default);c.prototype.type="tspan",t.default=c},function(e,t,n){"use strict";n.r(t),n.d(t,"DataFormatMixin",(function(){return s})),n.d(t,"normalizeTooltipFormatResult",(function(){return l}));var r=n(0),i=n(155),o=n(52),a=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,u){t=t||"normal";var c=this.getData(n),d=this.getDataParams(e,n);(u&&(d.value=u.interpolatedValue),null!=s&&r.isArray(d.value)&&(d.value=d.value[s]),l)||(l=c.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]));return r.isFunction(l)?(d.status=t,d.dimensionIndex=s,l(d)):r.isString(l)?Object(o.formatTpl)(l,d).replace(a,(function(t,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=Object(i.retrieveRawValue)(c,e,a);if(u&&r.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""})):void 0},e.prototype.getRawValue=function(e,t){return Object(i.retrieveRawValue)(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r.isObject(e)?e.type&&(n=e):t=e,{text:t,frag:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"createOrUpdatePatternFromDecal",(function(){return f}));var r=n(1055),i=n(242),o=n(0),a=n(5),s=n(66),l=n(213),u=n(90),c=new r.default,d=new i.default(100),h=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function f(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&c.delete(e);var f=c.get(e);if(f)return f;var m=Object(o.defaults)(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===m.backgroundColor&&(m.backgroundColor=null);var g={repeat:"repeat"};return function(e){for(var t,c=[n],f=!0,g=0;g=0||e===t}function s(e){var t=l(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=c(n);null==o&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),ao&&(o=t);var s=o%2?o+2:o+3;a=[];for(var l=0;l30}},function(e,t,n){"use strict";function r(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function i(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}n.r(t),n.d(t,"updateViewOnPan",(function(){return r})),n.d(t,"updateViewOnZoom",(function(){return i}))},function(e,t,n){"use strict";n.r(t),n.d(t,"registerCellType",(function(){return O})),n.d(t,"getCellType",(function(){return S})),n.d(t,"hasCellType",(function(){return b})),n.d(t,"getRegisteredCellTypeNames",(function(){return _})),n.d(t,"getRegisteredCellTypes",(function(){return w}));var r=n(154),i=n(99),o=n(79),a=n(146),s=n(1296),l=n(1297),u=n(1298),c=n(1299),d=n(1300),h=n(1301),f=n(1302),p=n(1303),m=n(1304),g=Object(r.default)("cellTypes"),v=g.register,y=g.getItem,b=g.hasItem,_=g.getNames,w=g.getValues;function S(e){if(!b(e))throw Error('You declared cell type "'.concat(e,'" as a string that is not mapped to a known object.\n Cell type must be an object or a string mapped to an object registered by "Handsontable.cellTypes.registerCellType" method'));return y(e)}function O(e,t){var n=t.editor,r=t.renderer,s=t.validator;n&&Object(i.registerEditor)(e,n),r&&Object(o.registerRenderer)(e,r),s&&Object(a.registerValidator)(e,s),v(e,t)}O("autocomplete",s.default),O("checkbox",l.default),O("date",u.default),O("dropdown",c.default),O("handsontable",d.default),O("numeric",h.default),O("password",f.default),O("text",p.default),O("time",m.default)},function(e,t,n){"use strict";n.r(t),n.d(t,"instanceToHTML",(function(){return u})),n.d(t,"_dataToHTML",(function(){return c})),n.d(t,"htmlToGridSettings",(function(){return d}));n(18),n(19),n(20),n(72),n(161),n(1669),n(84),n(109),n(15),n(186),n(1670),n(499),n(966),n(116),n(225),n(12),n(428),n(89),n(30),n(138),n(16),n(429),n(148),n(17);var r=n(1),i=n(25);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"},s=new RegExp(Object.keys(a).map((function(e){return"(".concat(e,")")})).join("|"),"gi");function l(e){return"TABLE"===(e&&e.nodeName||"")}function u(e){for(var t=e.hasColHeaders(),n=e.hasRowHeaders(),r=[t?-1:0,n?-1:0,e.countRows()-1,e.countCols()-1],o=e.getData.apply(e,r),a=o.length,s=a>0?o[0].length:0,l=["","
"],u=t?["",""]:[],c=["",""],d=n?1:0,h=t?1:0,f=0;f".concat(e.getColHeader(g-d),"");else if(v)y="".concat(e.getRowHeader(f-h),"");else{var b=o[f][g],_=e.getCellMeta(f-d,g-h),w=_.hidden,S=_.rowspan,O=_.colspan;if(!w){var C=[];if(S&&C.push('rowspan="'.concat(S,'"')),O&&C.push('colspan="'.concat(O,'"')),Object(i.isEmpty)(b))y="");else{var x=b.toString().replace("<","<").replace(">",">").replace(/((\r\n|\n)?|\r\n|\n)/g,"
\r\n").replace(/\x20/gi," ").replace(/\t/gi," ");y="").concat(x,"")}}}m.push(y)}var T=[""].concat(m,[""]).join("");p?u.splice(1,0,T):c.splice(-1,0,T)}return l.splice(1,0,u.join(""),c.join("")),l.join("")}function c(e){for(var t=e.length,n=[""],r=0;r");for(var l=0;l/g,">").replace(/((\r\n|\n)?|\r\n|\n)/g,"
\r\n").replace(/\x20/gi," ").replace(/\t/gi," ");s.push("
"))}n.push.apply(n,[""].concat(s,[""])),r+1===t&&n.push("")}return n.push("
".concat(c,"
"),n.join("")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n={},i=t.createDocumentFragment(),u=t.createElement("div");i.appendChild(u);var c=e;if("string"==typeof c){var d=c.replace(/]*?>([\s\S]*?)<\/\s*td>/g,(function(e){var t=e.match(/]*?>/g)[0],n=e.substring(t.length,e.lastIndexOf("<")).replace(/(<(?!br)([^>]+)>)/gi,"");return"".concat(t).concat(n).concat("")}));u.insertAdjacentHTML("afterbegin","".concat(d)),c=u.querySelector("table")}if(c&&l(c)){var h=u.querySelector("style"),f=null,p=[];h&&(t.body.appendChild(h),h.disabled=!0,f=h.sheet,p=f?Array.from(f.cssRules):[],t.body.removeChild(h));var m=u.querySelector('meta[name$="enerator"]'),g=null!==c.querySelector("tbody th"),v=Array.from(c.querySelector("tr").cells).reduce((function(e,t){return e+t.colSpan}),0)-(g?1:0),y=c.tFoot&&Array.from(c.tFoot.rows)||[],b=[],_=!1,w=0,S=0;if(c.tHead){var O=Array.from(c.tHead.rows).filter((function(e){var t=null!==e.querySelector("td");return t&&b.push(e),!t}));_=(w=O.length)>0,w>1?n.nestedHeaders=Array.from(O).reduce((function(e,t){var n=Array.from(t.cells).reduce((function(e,t,n){if(g&&0===n)return e;var r=t.colSpan,i=t.innerHTML,o=r>1?{label:i,colspan:r}:i;return e.push(o),e}),[]);return e.push(n),e}),[]):_&&(n.colHeaders=Array.from(O[0].children).reduce((function(e,t,n){return g&&0===n||e.push(t.innerHTML),e}),[]))}b.length&&(n.fixedRowsTop=b.length),y.length&&(n.fixedRowsBottom=y.length);var C=[].concat(b,o(Array.from(c.tBodies).reduce((function(e,t){return e.push.apply(e,o(Array.from(t.rows))),e}),[])),o(y));S=C.length;for(var x=new Array(S),T=0;T1||l>1){for(var c=M;c/gim,"\r\n"):m&&/excel/gi.test(m.content)?i.replace(/[\r\n][\x20]{0,2}/g," ").replace(/[\r\n]?[\x20]{0,3}/gim,"\r\n"):i.replace(/[\r\n]?/gim,"\r\n"),x[M][u]=f.replace(s,(function(e){return a[e]}))}else k.push(i)},L=0;L0?r:n)(e)}},function(e,t,n){"use strict";var r=n(87);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(150),i=n(121),o=n(486),a=n(238),s=n(151),l=n(291),u=n(647),c=n(417),d=n(87),h=n(348),f=n(419).f,p=n(265).f,m=n(165).f,g=n(951).trim,v=i.Number,y=v.prototype,b="Number"==l(h(y)),_=function(e){var t,n,r,i,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=g(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;si)return NaN;return parseInt(o,r)}return+u};if(o("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var w,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(b?d((function(){y.valueOf.call(n)})):"Number"!=l(n))?u(new v(_(t)),n,S):_(t)},O=r?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),C=0;O.length>C;C++)s(v,w=O[C])&&!s(S,w)&&m(S,w,p(v,w));S.prototype=y,y.constructor=S,a(i,"Number",S)}},function(e,t,n){n(71)({target:"Number",stat:!0},{isInteger:n(1665)})},function(e,t,n){"use strict";var r=n(489),i=n(948);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},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){"use strict";n.r(t),n.d(t,"onIrrelevantElement",(function(){return i}));var r={axisPointer:1,tooltip:1,brush:1};function i(e,t,n){var i=t.getComponentByElement(e.topTarget),o=i&&i.coordinateSystem;return i&&i!==n&&!r.hasOwnProperty(i.mainType)&&o&&o.model!==n}},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(4),o=n(110),a=n(1353);function s(e,t){for(var n=0;nr?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)r.length=a;else for(var s=o;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,u=r.length,c=!1,d=6,h=t;if(Object(o.isArrayLike)(t)){var f=function(e){return Object(o.isArrayLike)(e&&e[0])?2:1}(t);d=f,(1===f&&!Object(o.isNumber)(t[0])||2===f&&!Object(o.isNumber)(t[0][0]))&&(c=!0)}else if(Object(o.isNumber)(t)&&!Object(o.eqNaN)(t))d=0;else if(Object(o.isString)(t))if(isNaN(+t)){var p=i.parse(t);p&&(h=p,d=3)}else d=0;else if(Object(o.isGradientObject)(t)){var m=Object(o.extend)({},h);m.colorStops=Object(o.map)(t.colorStops,(function(e){return{offset:e.offset,color:i.parse(e.color)}})),Object(l.isLinearGradient)(t)?d=4:Object(l.isRadialGradient)(t)&&(d=5),h=m}0===u?this.valType=d:d===this.valType&&6!==d||(c=!0),this.discrete=this.discrete||c;var g={time:e,value:h,rawValue:t,percent:0};return n&&(g.easing=n,g.easingFunc=Object(o.isFunction)(n)?n:a.default[n]||Object(s.createCubicEasingFunc)(n)),r.push(g),g},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=b(r),l=y(r),u=0;u=0&&!(u[n].percent<=t);n--);n=g(n,h-2)}else{for(n=m;nt);n++);n=g(n-1,h-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var w=i.percent-r.percent,S=0===w?1:g((t-r.percent)/w,1);i.easingFunc&&(S=i.easingFunc(S));var O=a?this._additiveValue:p?_:e[f];if(!b(l)&&!p||O||(O=this._additiveValue=[]),this.discrete)e[f]=S<1?r.rawValue:i.rawValue;else if(b(l))1===l?d(O,r[s],i[s],S):function(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a0&&s.addKeyframe(0,g(l),r),this._trackKeys.push(a)}s.addKeyframe(e,g(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n0)){this._started=1;for(var t=this,n=[],i=this._maxTime||0,o=0;o1){var s=a.pop();i.addKeyframe(s.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();t.default=S},function(e,t,n){"use strict";n.r(t),n.d(t,"subPixelOptimizeLine",(function(){return i})),n.d(t,"subPixelOptimizeRect",(function(){return o})),n.d(t,"subPixelOptimize",(function(){return a}));var r=Math.round;function i(e,t,n){if(t){var i=t.x1,o=t.x2,s=t.y1,l=t.y2;e.x1=i,e.x2=o,e.y1=s,e.y2=l;var u=n&&n.lineWidth;return u?(r(2*i)===r(2*o)&&(e.x1=e.x2=a(i,u,!0)),r(2*s)===r(2*l)&&(e.y1=e.y2=a(s,u,!0)),e):e}}function o(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,s=t.height;e.x=r,e.y=i,e.width=o,e.height=s;var l=n&&n.lineWidth;return l?(e.x=a(r,l,!0),e.y=a(i,l,!0),e.width=Math.max(a(r+o,l,!1)-e.x,0===o?0:1),e.height=Math.max(a(i+s,l,!1)-e.y,0===s?0:1),e):e}}function a(e,t,n){if(!t)return e;var i=r(2*e);return(i+r(t))%2==0?i/2:(i+(n?1:-1))/2}},function(e,t,n){"use strict";n.r(t),n.d(t,"createTask",(function(){return i})),n.d(t,"Task",(function(){return o}));var r=n(0);function i(e){return new o(e)}var o=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var a,s=d(this._modBy),l=this._modDataCount||0,u=d(e&&e.modBy),c=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=u,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(a||f1&&r>0?s:a}};return o;function a(){return t=e?null:o0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(i.each)([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(Object(a.getAxisMainType)(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){Object(i.each)(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(Object(a.getAxisMainType)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(i.each)([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(i.each)(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r=0,a=e.fill||"#000";l(i,t);var s=null==i.textFill;return o?s&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=a),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(s&&(i.textFill=e.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=t.text,i.rich=t.rich,Object(r.each)(t.rich,(function(e){l(e,e)})),i}function l(e,t){t&&(Object(r.hasOwn)(t,"fill")&&(e.textFill=t.fill),Object(r.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),Object(r.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(r.hasOwn)(t,"font")&&(e.font=t.font),Object(r.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(r.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(r.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),Object(r.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(r.hasOwn)(t,"align")&&(e.textAlign=t.align),Object(r.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(r.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(r.hasOwn)(t,"width")&&(e.textWidth=t.width),Object(r.hasOwn)(t,"height")&&(e.textHeight=t.height),Object(r.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(r.hasOwn)(t,"padding")&&(e.textPadding=t.padding),Object(r.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(r.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(r.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(r.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(r.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(r.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(r.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(r.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(r.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(r.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(r.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}function u(e,t){}},function(e,t,n){"use strict";n.r(t),n.d(t,"getItemAlign",(function(){return a})),n.d(t,"makeHighDownBatch",(function(){return s}));var r=n(0),i=n(32),o=[["left","right","width"],["top","bottom","height"]];function a(e,t,n){var r=e.option,a=r.align;if(null!=a&&"auto"!==a)return a;for(var s={width:t.getWidth(),height:t.getHeight()},l="horizontal"===r.orient?1:0,u=o[l],c=[0,null,10],d={},h=0;h<3;h++)d[o[1-l][h]]=c[h],d[u[h]]=2===h?n[0]:r[u[h]];var f=[["x","width",3],["y","height",0]][l],p=Object(i.getLayoutRect)(d,s,r.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*s[f[1]]?0:1]}function s(e,t){return r.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}},function(e,t,n){!function(e){"use strict";function n(e){return e.split('"').length-1}var r=function(e){var t,r,i,o,a,s,l,u=[],c=0;for((i=e.replace(/\r\n|\r/g,"\n").split("\n")).length>1&&""===i[i.length-1]&&i.pop(),t=0,r=i.length;t0&&(a+="\t"),"string"==typeof(o=e[t][r])?o.indexOf("\n")>-1?a+='"'+o.replace(/"/g,'""')+'"':a+=o:a+=null==o?"":o;t!==n-1&&(a+="\n")}return a};t.parse=r,t.stringify=i}(window)},function(e,t,n){"use strict";n.r(t),n.d(t,"holder",(function(){return r})),n.d(t,"rootInstanceSymbol",(function(){return i})),n.d(t,"registerAsRootInstance",(function(){return o})),n.d(t,"hasValidParameter",(function(){return a})),n.d(t,"isRootInstance",(function(){return s}));n(18),n(19),n(15),n(12),n(16),n(88),n(17);var r=new WeakMap,i=Symbol("rootInstance");function o(e){r.set(e,!0)}function a(e){return e===i}function s(e){return r.has(e)}},function(e,t,n){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;ao[a]^n?1:-1;return l==u?0:u(r=e.length)){for(i=n,t-=r;--t;i+=n);e+=i}else tN?e.c=e.e=null:e.c=n=g.length){if(!r)break e;for(;g.length<=p;g.push(0));f=m=0,c=(s%=u)-u+(a=1)}else{for(f=h=g[p],a=1;10<=h;h/=10,a++);m=(c=(s%=u)-u+a)<0?0:f/v[a-c-1]%10|0}if(r=r||t<0||null!=g[p+1]||(c<0?f:f%v[a-c-1]),r=n<4?(m||r)&&(0==n||n==(e.s<0?3:2)):5N?e.c=e.e=null:e.e>>11))?(n=crypto.getRandomValues(new Uint32Array(2)),t[c]=n[0],t[c+1]=n[1]):(h.push(l%1e14),c+=2);c=s/2}else{if(!crypto.randomBytes)throw B=!1,Error(a+"crypto unavailable");for(t=crypto.randomBytes(s*=7);cn-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/n|0,a[i]%=n)}return a.reverse()}return function(r,i,o,a,s){var l,u,c,d,h,f,p,g,v=r.indexOf("."),y=I,b=R;for(0<=v&&(d=H,H=0,r=r.replace(".",""),f=(g=new W(i)).pow(r.length-v),H=d,g.c=t(_(m(f.c),f.e,"0"),10,o,e),g.e=g.c.length),c=d=(p=t(r,i,o,s?(l=Y,e):(l=e,Y))).length;0==p[--d];p.pop());if(!p[0])return l.charAt(0);if(v<0?--c:(f.c=p,f.e=c,f.s=a,p=(f=n(f,g,y,b,o)).c,h=f.r,c=f.e),v=p[u=c+y+1],d=o/2,h=h||u<0||null!=p[u+1],h=b<4?(null!=v||h)&&(0==b||b==(f.s<0?3:2)):do;)p[u]=0,u||(++c,p=[1].concat(p));for(d=p.length;!p[--d];);for(v=0,r="";v<=d;r+=l.charAt(p[v++]));r=_(r,c,l.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,i,o,a,s=0,l=e.length,u=t%h,c=t/h|0;for(e=e.slice();l--;)s=((i=u*(o=e[l]%h)+(r=c*o+(a=e[l]/h|0)*u)%h*h+s)/n|0)+(r/h|0)+c*a,e[l]=i%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,r){var i,o;if(n!=r)o=rt[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n](A[f]||0)&&h--,M<0)_.push(1),m=!0;else{for(x=A.length,E=D.length,M+=2,1<(g=o(c/(D[f=0]+1)))&&(D=e(D,g,c),A=e(A,g,c),E=D.length,x=A.length),C=E,S=(w=A.slice(0,E)).length;S=c/2&&T++;do{if(g=0,(d=t(D,w,E,S))<0){if(O=w[0],E!=S&&(O=O*c+(w[1]||0)),1<(g=o(O/T)))for(c<=g&&(g=c-1),y=(v=e(D,g,c)).length,S=w.length;1==t(v,w,y,S);)g--,n(v,El&&(f.c.length=l):r&&(f=f.mod(t))}if(s){if(0===(s=o(s/2)))break;h=s%2}else if(G(e=e.times(n),e.e+1,1),14l&&(p.c.length=l):r&&(p=p.mod(t))}return r?f:(d&&(f=D.div(f)),t?f.mod(t):l?G(f,H,R,void 0):f)},A.integerValue=function(e){var t=new W(this);return null==e?e=R:v(e,0,8),G(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===g(this,new W(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return 0this.c.length-2},A.isLessThan=A.lt=function(e,t){return g(this,new W(e,t))<0},A.isLessThanOrEqualTo=A.lte=function(e,t){return-1===(t=g(this,new W(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return 0r&&(r=this.e+1),r},A.shiftedBy=function(e){return v(e,-c,c),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,t,r,i,o,a=this,s=a.c,l=a.s,u=a.e,c=I+4,d=new W("0.5");if(1!==l||!s||!s[0])return new W(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);if((r=0==(l=Math.sqrt(+q(a)))||l==1/0?(((t=m(s)).length+u)%2==0&&(t+="0"),l=Math.sqrt(+t),u=p((u+1)/2)-(u<0||u%2),new W(t=l==1/0?"1e"+u:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+u)):new W(l+"")).c[0])for((l=(u=r.e)+c)<3&&(l=0);;)if(o=r,r=d.times(o.plus(n(a,o,c,1))),m(o.c).slice(0,l)===(t=m(r.c)).slice(0,l)){if(r.e=Math.pow(10,12)&&!n||"trillion"===n?(l=r.trillion,t/=Math.pow(10,12)):u=Math.pow(10,9)&&!n||"billion"===n?(l=r.billion,t/=Math.pow(10,9)):u=Math.pow(10,6)&&!n||"million"===n?(l=r.million,t/=Math.pow(10,6)):(u=Math.pow(10,3)&&!n||"thousand"===n)&&(l=r.thousand,t/=Math.pow(10,3)),l&&(l=(o?" ":"")+l),s){var d=t.toString().split(".")[0];c=Math.max(s-d.length,0)}return{value:t,abbreviation:l,mantissaPrecision:c}}({value:d,forceAverage:x,abbreviations:a.currentAbbreviations(),spaceSeparated:D,totalLength:S});d=P.value,j+=P.abbreviation,S&&(E=P.mantissaPrecision)}if(L){var N=(p=(h={value:d,characteristicPrecision:O}).value,g=void 0===(m=h.characteristicPrecision)?0:m,y=(v=r(p.toExponential().split("e"),2))[0],b=v[1],_=+y,g&&1document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(892),i=n(608).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(82),i=n(128),o=n(120),a=n(114)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(221),i=n(905),o=n(620),a=n(77),s=n(115),l=n(622),u={},c={};(t=e.exports=function(e,t,n,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if((g=t?y(a(p=e[b])[0],p[1]):y(e[b]))===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=i(m,y,p.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},function(e,t,n){var r=n(181);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(94);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";function r(e,t,n){this.$children.forEach((function(i){i.$options.componentName===e?i.$emit.apply(i,[t].concat(n)):r.apply(i,[e,t].concat([n]))}))}t.__esModule=!0,t.default={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,i=r.$options.componentName;r&&(!i||i!==e);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,n){r.call(this,e,t,n)}}}},function(e,t,n){e.exports=!n(434)((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){"use strict";n.r(t),n.d(t,"init",(function(){return m})),n.d(t,"dispose",(function(){return g})),n.d(t,"disposeAll",(function(){return v})),n.d(t,"getInstance",(function(){return y})),n.d(t,"registerPainter",(function(){return b})),n.d(t,"version",(function(){return _}));var r=n(53),i=n(0),o=n(1038),a=n(1036),s=n(580),l=n(1037),u=n(73),c=n(142),d=n(41),h={},f={};var p=function(){function e(e,t,n){var u=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var c=new a.default,d=n.renderer||"canvas";h[d]||(d=i.keys(h)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var f=new h[d](t,c,n,e),p=n.ssr||f.ssrOnly;this.storage=c,this.painter=f;var m=r.default.node||r.default.worker||p?null:new l.default(f.getViewportRoot(),f.root);this.handler=new o.default(c,f,m,f.root),this.animation=new s.default({stage:{update:p?null:function(){return u._flush(!0)}}}),p||this.animation.start()}return e.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh()},e.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(!e)return!1;if("string"==typeof e)return Object(u.lum)(e,1)0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},e.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this.handler.off(e,t)},e.prototype.trigger=function(e,t){this.handler.trigger(e,t)},e.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t65535?s:l}function f(e,t,n,r,i){var o=d[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;uv[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=Object(i.map)(a,(function(e){return e.property})),c=0;cy[1]&&(y[1]=v)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=d,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=c&&w<=d||isNaN(w))&&(s[l++]=m),m++}p=!0}else if(2===o){g=f[r[0]];var y=f[r[1]],b=e[r[1]][0],_=e[r[1]][1];for(v=0;v=c&&w<=d||isNaN(w))&&(S>=b&&S<=_||isNaN(S))&&(s[l++]=m),m++}p=!0}}if(!p)if(1===o)for(v=0;v=c&&w<=d||isNaN(w))&&(s[l++]=O)}else for(v=0;ve[T][1])&&(C=!1)}C&&(s[l++]=t.getRawIndex(v))}return lg[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks[e],s=this.count(),l=0,u=Math.floor(1/t),c=this.getRawIndex(0),d=new(h(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var f=1;fn&&(n=r,i=T)}x>0&&xu-p&&(s=u-p,a.length=s);for(var m=0;mc[1]&&(c[1]=v),d[f++]=y}return i._count=f,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();ia&&(a=l)}return r=[o,a],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Object(o.parseDataValue)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(o.parseDataValue)(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Object(o.parseDataValue)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t.default=p},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],$=!1,G=this,q=function(){},X=new h.default(G);Object(f.extend)(q.prototype,k.default.prototype),Object(f.extend)(q.prototype,n),Object(f.extend)(q.prototype,ie(n)),Object(I.applyLanguageSetting)(q.prototype,n.language),Object(x.hasValidParameter)(U)&&Object(x.registerAsRootInstance)(this),this.rootElement=t,this.rootDocument=t.ownerDocument,this.rootWindow=this.rootDocument.defaultView,Object(R.startObserving)(this.rootDocument),this.isDestroyed=!1,this.isHotTableEnv=Object(i.isChildOfWebComponentTable)(this.rootElement),h.default.isHotTableEnv=this.isHotTableEnv,this.container=this.rootDocument.createElement("div"),this.renderCall=!1,t.insertBefore(this.container,t.firstChild),Object(x.isRootInstance)(this)&&Object(l._injectProductInfo)(n.licenseKey,t),this.guid="ht_".concat(Object(b.randomString)());var K=Object(C.getTranslator)(G);V=new S.default(G),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid),F={cellSettings:[],columnSettings:[],columnsSettingConflicts:["data","width","language"],settings:new q,selRange:null,isPopulated:null,scrollable:null,firstRun:!0};var Z=new L.Selection(F.settings,{countCols:function(){return G.countCols()},countRows:function(){return G.countRows()},propToCol:function(e){return H.propToCol(e)},isEditorOpened:function(){return!!G.getActiveEditor()&&G.getActiveEditor().isOpened()}});function J(e){var t=Object(I.normalizeLanguageCode)(e);Object(D.hasLanguageDictionary)(t)?(G.runHooks("beforeLanguageChange",t),q.prototype.language=t,G.runHooks("afterLanguageChange",t)):Object(I.warnUserAboutLanguageRegistration)(e)}function Q(){var e=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue:function(){this.validatorsInQueue+=1,e=!1},removeValidatorFormQueue:function(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty:function(){},checkIfQueueIsEmpty:function(){0===this.validatorsInQueue&&!1===e&&(e=!0,this.onQueueEmpty(this.valid))}}}function ee(e){var t=e.replace(",",".");return!1===isNaN(parseFloat(t))?parseFloat(t):e}function te(e,t,n){if(e.length){var r=G.getActiveEditor(),o=G.runHooks("beforeChange",e,t||"edit"),l=!0;if(Object(a.isFunction)(o))Object(s.warn)("Your beforeChange callback returns a function. It's not supported since Handsontable 0.12.1 (and the returned function will not be executed).");else if(!1===o)return void(r&&r.cancelChanges());var u,c=new Q;c.onQueueEmpty=function(e){r&&l&&r.cancelChanges(),n(e)};for(var d=e.length-1;d>=0;d--)if(null===e[d])e.splice(d,1);else{var h=P(e[d],4),f=h[0],p=h[1],m=h[3],g=H.propToCol(p),v=G.getCellMeta(f,g);"numeric"===v.type&&"string"==typeof m&&((u=m).length>0&&/^\s*[+-.]?\s*(?:(?:\d+(?:(\.|,)\d+)?(?:e[+-]?\d+)?)|(?:0x[a-f\d]+))\s*$/.test(u))&&(e[d][3]=ee(m)),G.getCellValidator(v)&&(c.addValidatorToQueue(),G.validateCell(e[d][3],v,function(t,n){return function(r){if("boolean"!=typeof r)throw new Error("Validation error: result is not boolean");if(!1===r&&!1===n.allowInvalid){l=!1,e.splice(t,1),n.valid=!0;var o=G.getCell(n.visualRow,n.visualCol);null!==o&&Object(i.removeClass)(o,G.getSettings().invalidCellClassName)}c.removeValidatorFormQueue()}}(d,v),t))}c.checkIfQueueIsEmpty()}}function ne(e,t){var n=e.length-1;if(!(n<0)){for(;n>=0;n--){var r=!1;if(null!==e[n]){if(null!==e[n][2]&&void 0!==e[n][2]||null!==e[n][3]&&void 0!==e[n][3]){if(F.settings.allowInsertRow)for(;e[n][0]>G.countRows()-1;){if(0===H.createRow(void 0,void 0,t)){r=!0;break}}if("array"===G.dataType&&(!F.settings.columns||0===F.settings.columns.length)&&F.settings.allowInsertColumn)for(;H.propToCol(e[n][1])>G.countCols()-1;){if(0===H.createCol(void 0,void 0,t)){r=!0;break}}r||H.set(e[n][0],e[n][1],e[n][3])}}else e.splice(n,1)}G.forceFullRender=!0,Y.adjustRowsAndCols(),G.runHooks("beforeChangeRender",e,t),W.lockEditor(),G._refreshBorders(null),W.unlockEditor(),G.view.wt.wtOverlays.adjustElementsSize(),G.runHooks("afterChange",e,t||"edit");var i=G.getActiveEditor();i&&Object(l.isDefined)(i.refreshValue)&&i.refreshValue()}}function re(e,t,n){return"object"===j(e)?e:[[e,t,n]]}function ie(e){if(Object(f.hasOwnProperty)(e,"type")){var t,n={};for(var r in"object"===j(e.type)?t=e.type:"string"==typeof e.type&&(t=Object(M.getCellType)(e.type)),t)Object(f.hasOwnProperty)(t,r)&&!Object(f.hasOwnProperty)(e,r)&&(n[r]=t[r]);return n}}this.selection=Z,this.selection.addLocalHook("beforeSetRangeStart",(function(e){z.runHooks("beforeSetRangeStart",e)})),this.selection.addLocalHook("beforeSetRangeStartOnly",(function(e){z.runHooks("beforeSetRangeStartOnly",e)})),this.selection.addLocalHook("beforeSetRangeEnd",(function(e){z.runHooks("beforeSetRangeEnd",e),e.row<0&&(e.row=z.view.wt.wtTable.getFirstVisibleRow()),e.col<0&&(e.col=z.view.wt.wtTable.getFirstVisibleColumn())})),this.selection.addLocalHook("afterSetRangeEnd",(function(e){var t=Object(f.createObjectPropListener)(!1),n=z.selection.getSelectedRange(),r=n.current(),o=r.from,a=r.to,s=n.size()-1;z.runHooks("afterSelection",o.row,o.col,a.row,a.col,t,s),z.runHooks("afterSelectionByProp",o.row,G.colToProp(o.col),a.row,G.colToProp(a.col),t,s);var l=z.selection.isSelectedByAnyHeader(),u=z.selection.selectedRange.current(),c=!0;$&&(c=!1),t.isTouched()&&(c=!t.value);var d=z.selection.isSelectedByRowHeader(),h=z.selection.isSelectedByColumnHeader();!1!==c&&(l?d?z.view.scrollViewportVertically(e.row):h&&z.view.scrollViewportHorizontally(e.col):u&&!z.selection.isMultiple()?z.view.scrollViewport(u.from):z.view.scrollViewport(e)),d&&h?Object(i.addClass)(z.rootElement,["ht__selection--rows","ht__selection--columns"]):d?(Object(i.removeClass)(z.rootElement,"ht__selection--columns"),Object(i.addClass)(z.rootElement,"ht__selection--rows")):h?(Object(i.removeClass)(z.rootElement,"ht__selection--rows"),Object(i.addClass)(z.rootElement,"ht__selection--columns")):Object(i.removeClass)(z.rootElement,["ht__selection--rows","ht__selection--columns"]),z._refreshBorders(null)})),this.selection.addLocalHook("afterSelectionFinished",(function(e){var t=e.length-1,n=e[t],r=n.from,i=n.to;z.runHooks("afterSelectionEnd",r.row,r.col,i.row,i.col,t),z.runHooks("afterSelectionEndByProp",r.row,G.colToProp(r.col),i.row,G.colToProp(i.col),t)})),this.selection.addLocalHook("afterIsMultipleSelection",(function(e){var t=z.runHooks("afterIsMultipleSelection",e.value);e.value&&(e.value=t)})),this.selection.addLocalHook("beforeModifyTransformStart",(function(e){z.runHooks("modifyTransformStart",e)})),this.selection.addLocalHook("afterModifyTransformStart",(function(e,t,n){z.runHooks("afterModifyTransformStart",e,t,n)})),this.selection.addLocalHook("beforeModifyTransformEnd",(function(e){z.runHooks("modifyTransformEnd",e)})),this.selection.addLocalHook("afterModifyTransformEnd",(function(e,t,n){z.runHooks("afterModifyTransformEnd",e,t,n)})),this.selection.addLocalHook("afterDeselect",(function(){W.destroyEditor(),z._refreshBorders(),Object(i.removeClass)(z.rootElement,["ht__selection--rows","ht__selection--columns"]),z.runHooks("afterDeselect")})),this.selection.addLocalHook("insertRowRequire",(function(e){z.alter("insert_row",e,1,"auto")})),this.selection.addLocalHook("insertColRequire",(function(e){z.alter("insert_col",e,1,"auto")})),Y={alter:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;function a(e,t,n,r){var i=Object(p.arrayMap)(new Array(n),(function(){return"array"===r?e=[]:"object"===r&&(e={}),e;var e}));i.unshift(t,0),e.splice.apply(e,N(i))}var s=function(e){if(0===e.length)return[];var t=N(e);return t.sort((function(e,t){var n=P(e,1)[0],r=P(t,1)[0];return n===r?0:n>r?1:-1})),Object(p.arrayReduce)(t,(function(e,t){var n=P(t,2),r=n[0],i=n[1],o=e[e.length-1],a=P(o,2),s=a[0]+a[1];if(r<=s){var l=Math.max(i-(s-r),0);o[1]+=l}else e.push([r,i]);return e}),[t[0]])};switch(e){case"insert_row":var u=G.countSourceRows();if(G.getSettings().maxRows===u)return;t=Object(l.isDefined)(t)?t:u,n=H.createRow(t,r,i),a(F.cellSettings,t,r,"array"),n&&(Z.isSelected()&&Z.selectedRange.current().from.row>=t?(Z.selectedRange.current().from.row+=n,Z.transformEnd(n,0)):G._refreshBorders());break;case"insert_col":n=H.createCol(t,r,i);for(var c=0,d=G.countSourceRows();c=t?(Z.selectedRange.current().from.col+=n,Z.transformEnd(0,n)):G._refreshBorders()}break;case"remove_row":var f=function(e){var t=0;Object(p.arrayEach)(e,(function(e){var n=P(e,2),o=n[0],a=n[1],s=Object(l.isEmpty)(o)?G.countRows()-1:Math.max(o-t,0);Number.isInteger(o)&&(o=Math.max(o-t,0)),H.removeRow(o,a,i),F.cellSettings.splice(s,r);var u=G.countRows(),c=G.getSettings().fixedRowsTop;c>=s+1&&(G.getSettings().fixedRowsTop-=Math.min(a,c-s));var d=G.getSettings().fixedRowsBottom;d&&s>=u-d&&(G.getSettings().fixedRowsBottom-=Math.min(a,d)),t+=a}))};Array.isArray(t)?f(s(t)):f([[t,r]]),Y.adjustRowsAndCols(),G._refreshBorders();break;case"remove_col":var m=function(e){var t=0;Object(p.arrayEach)(e,(function(e){var n=P(e,2),r=n[0],o=n[1],a=Object(l.isEmpty)(r)?G.countCols()-1:Math.max(r-t,0),s=K.toPhysicalColumn(a);Number.isInteger(r)&&(r=Math.max(r-t,0)),H.removeCol(r,o,i);for(var u=0,c=G.countSourceRows();u=a+1&&(G.getSettings().fixedColumnsLeft-=Math.min(o,d-a)),Array.isArray(G.getSettings().colHeaders)&&(void 0===s&&(s=-1),G.getSettings().colHeaders.splice(s,o)),t+=o}))};Array.isArray(t)?m(s(t)):m([[t,r]]),Y.adjustRowsAndCols(),G._refreshBorders();break;default:throw new Error('There is no such action "'.concat(e,'"'))}o||Y.adjustRowsAndCols()},adjustRowsAndCols:function(){if(F.settings.minRows){var e=G.countRows();if(eo-1?(t=!0,i>(n=o-1)&&(i=n)):i>o-1&&(t=!0,n>(i=o-1)&&(n=i)),r>a-1?(t=!0,s>(r=a-1)&&(s=r)):s>a-1&&(t=!0,r>(s=a-1)&&(r=s)),t&&G.selectCell(n,r,i,s)})),G.view&&G.view.wt.wtOverlays.adjustElementsSize()},populateFromArray:function(e,t,n,r,i,o,a){var s,u,c,d,h,p,m,g,v=[],y={};if(0===(u=t.length))return!1;switch(i){case"shift_down":for(h=n?n.col-e.col+1:0,p=n?n.row-e.row+1:0,c=0,d=(t=Object(O.translateRowsToColumns)(t)).length,m=Math.max(d,h);c1&&void 0!==arguments[1]?arguments[1]:null,r=t[e%t.length];return null!==n?r[n%r.length]:r},A=t.length,D=n?n.row-e.row+1:0;for(u=n?D:Math.max(A,D),s=0;sn.row&&D>A||!F.settings.allowInsertRow&&y.row>G.countRows()-1||y.row>=F.settings.maxRows);s++){var I=s-T,R=M(I).length,L=n?n.col-e.col+1:0;if(d=n?L:Math.max(R,L),y.col=e.col,C=G.getCellMeta(y.row,y.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!C.skipRowOnPaste){for(E=0,c=0;cn.col&&L>R||!F.settings.allowInsertColumn&&y.col>G.countCols()-1||y.col>=F.settings.maxCols);c++)if(C=G.getCellMeta(y.row,y.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!C.skipColumnOnPaste)if(C.readOnly)y.col+=1;else{var P=c-E,B=M(I,P),H=G.getDataAtCell(y.row,y.col),V={row:I,col:P};if("Autofill.fill"===r){var Y=G.runHooks("beforeAutofillInsidePopulate",V,o,t,a,{},x);Y&&(B=Object(l.isUndefined)(Y.value)?B:Y.value)}if(null!==B&&"object"===j(B))if(Array.isArray(B)&&null===H&&(H=[]),null===H||"object"!==j(H))k=!1;else{var W=Object(f.duckSchema)(Array.isArray(H)?H:H[0]||H),z=Object(f.duckSchema)(Array.isArray(B)?B:B[0]||B);Object(f.isObjectEqual)(W,z)?B=Object(f.deepClone)(B):k=!1}else null!==H&&"object"===j(H)&&(k=!1);k&&v.push([y.row,y.col,B]),k=!0,y.col+=1}else E+=1,y.col+=1,d+=1;y.row+=1}else T+=1,y.row+=1,u+=1}G.setDataAtCell(v,null,null,r||"populateFromArray")}}},this.init=function(){V.setData(F.settings.data),G.runHooks("beforeInit"),Object(u.isMobileBrowser)()&&Object(i.addClass)(G.rootElement,"mobile"),this.updateSettings(F.settings,!0),this.view=new w.default(this),W=d.default.getInstance(G,F,Z,H),this.forceFullRender=!0,G.runHooks("init"),this.view.render(),"object"===j(F.firstRun)&&(G.runHooks("afterChange",F.firstRun[0],F.firstRun[1]),F.firstRun=!1),G.runHooks("afterInit")},this.validateCell=function(e,t,n,r){var i,o=G.getCellValidator(t);function s(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(r&&!0!==t.hidden){var i=t.visualCol,o=t.visualRow,a=G.getCell(o,i,!0);a&&"TH"!==a.nodeName&&G.view.wt.wtSettings.settings.cellRenderer(o,i,a),n(e)}else n(e)}Object(l.isRegExp)(o)&&(i=o,o=function(e,t){t(i.test(e))}),Object(a.isFunction)(o)?(e=G.runHooks("beforeValidate",e,t.visualRow,t.prop,r),G._registerImmediate((function(){o.call(t,e,(function(n){G&&(n=G.runHooks("afterValidate",n,e,t.visualRow,t.prop,r),t.valid=n,s(n),G.runHooks("postAfterValidate",n,e,t.visualRow,t.prop,r))}))}))):G._registerImmediate((function(){t.valid=!0,s(t.valid,!1)}))},this.setDataAtCell=function(e,t,n,r){var i,o,a,s=re(e,t,n),l=[],u=r;for(i=0,o=s.length;i0&&void 0!==arguments[0])||arguments[0],t=G,n=t.rootDocument;if(e){var r=!n.activeElement||n.activeElement&&void 0===n.activeElement.nodeName;n.activeElement&&n.activeElement!==n.body&&!r?n.activeElement.blur():r&&n.body.focus()}G&&!G.isListening()&&(B=G.guid,G.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(B=null,G.runHooks("afterUnlisten"))},this.isListening=function(){return B===G.guid},this.destroyEditor=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];G._refreshBorders(e,t)},this.populateFromArray=function(e,t,n,r,i,o,a,s,l){if("object"!==j(n)||"object"!==j(n[0]))throw new Error("populateFromArray parameter `input` must be an array of arrays");var u="number"==typeof r?new T.CellCoords(r,i):null;return Y.populateFromArray(new T.CellCoords(e,t),n,u,o,a,s,l)},this.spliceCol=function(e,t,n){for(var r,i=arguments.length,o=new Array(i>3?i-3:0),a=3;a3?i-3:0),a=3;a0&&(e=t[t.length-1]),e},this.getSelectedRange=function(){if(Z.isSelected())return Array.from(Z.getSelectedRange())},this.getSelectedRangeLast=function(){var e,t=this.getSelectedRange();return t&&t.length>0&&(e=t[t.length-1]),e},this.emptySelectedCells=function(e){var t=this;if(Z.isSelected()){var n=[];Object(p.arrayEach)(Z.getSelectedRange(),(function(e){var r=e.getTopLeftCorner(),i=e.getBottomRightCorner();Object(_.rangeEach)(r.row,i.row,(function(e){Object(_.rangeEach)(r.col,i.col,(function(r){t.getCellMeta(e,r).readOnly||n.push([e,r,null])}))}))})),n.length>0&&this.setDataAtCell(n,e)}},this.render=function(){G.view&&(G.renderCall=!0,G.forceFullRender=!0,W.lockEditor(),G._refreshBorders(null),W.unlockEditor())},this.refreshDimensions=function(){if(G.view){var e=G.view.getLastSize(),t=e.width,n=e.height,r=G.rootElement.getBoundingClientRect(),i=r.width,o=r.height,a=i!==t||o!==n;!1===G.runHooks("beforeRefreshDimensions",{width:t,height:n},{width:i,height:o},a)||((a||G.view.wt.wtOverlays.scrollableElement===G.rootWindow)&&(G.view.setLastSize(i,o),G.render()),G.runHooks("afterRefreshDimensions",{width:t,height:n},{width:i,height:o},a))}},this.loadData=function(e){if(Array.isArray(F.settings.dataSchema)?G.dataType="array":Object(a.isFunction)(F.settings.dataSchema)?G.dataType="function":G.dataType="object",H&&H.destroy(),H=new c.default(G,F,q),"object"===j(e)&&null!==e)e.push&&e.splice||(e=[e]);else{if(null!==e)throw new Error("loadData only accepts array of objects or array of arrays (".concat(j(e)," given)"));var t,n=H.getSchema();e=[];var r,i=0;for(i=0,r=F.settings.startRows;i1&&void 0!==arguments[1]&&arguments[1],u=!1;if(Object(l.isDefined)(e.rows))throw new Error('"rows" setting is no longer supported. do you mean startRows, minRows or maxRows?');if(Object(l.isDefined)(e.cols))throw new Error('"cols" setting is no longer supported. do you mean startCols, minCols or maxCols?');for(t in e)"data"!==t&&("language"!==t?E.default.getSingleton().getRegistered().indexOf(t)>-1?(Object(a.isFunction)(e[t])||Array.isArray(e[t]))&&(e[t].initialHook=!0,G.addHook(t,e[t])):!s&&Object(f.hasOwnProperty)(e,t)&&(q.prototype[t]=e[t]):J(e.language));void 0===e.data&&void 0===F.settings.data?G.loadData(null):void 0!==e.data?G.loadData(e.data):void 0!==e.columns&&H.createMap(),r=G.countCols();var c,d,h=e.columns||q.prototype.columns;if(h&&Object(a.isFunction)(h)&&(r=G.countSourceCols(),u=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||(F.cellSettings.length=0),r>0)for(t=0,n=0;t-1||v.indexOf("overflow")>-1)?G.rootElement.setAttribute("style",v):(G.rootElement.style.height="",G.rootElement.style.overflow="")}else void 0!==m&&(G.rootElement.style.height=isNaN(m)?"".concat(m):"".concat(m,"px"),G.rootElement.style.overflow="hidden");if(void 0!==e.width){var y=e.width;Object(a.isFunction)(y)&&(y=y()),G.rootElement.style.width=isNaN(y)?"".concat(y):"".concat(y,"px")}s||(H.clearLengthCache(),G.view&&G.view.wt.wtViewport.resetHasOversizedColumnHeadersMarked(),G.runHooks("afterUpdateSettings",e)),Y.adjustRowsAndCols(),G.view&&!F.firstRun&&(G.forceFullRender=!0,W.lockEditor(),G._refreshBorders(null),W.unlockEditor()),s||!G.view||""!==p&&""!==m&&void 0!==m||p===m||G.view.wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){var e=G.getSelectedLast();if(q.prototype.getValue){if(Object(a.isFunction)(q.prototype.getValue))return q.prototype.getValue.call(G);if(e)return G.getData()[e[0][0]][q.prototype.getValue]}else if(e)return G.getDataAtCell(e[0],e[1])},this.getSettings=function(){return F.settings},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,n,r,i){Y.alter(e,t,n,r,i)},this.getCell=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return G.view.getCellAtCoords(new T.CellCoords(e,t),n)},this.getCoords=function(e){return this.view.wt.wtTable.getCoords.call(this.view.wt.wtTable,e)},this.colToProp=function(e){return H.colToProp(e)},this.propToCol=function(e){return H.propToCol(e)},this.toVisualRow=function(e){return K.toVisualRow(e)},this.toVisualColumn=function(e){return K.toVisualColumn(e)},this.toPhysicalRow=function(e){return K.toPhysicalRow(e)},this.toPhysicalColumn=function(e){return K.toPhysicalColumn(e)},this.getDataAtCell=function(e,t){return H.get(e,H.colToProp(t))},this.getDataAtRowProp=function(e,t){return H.get(e,t)},this.getDataAtCol=function(e){var t;return(t=[]).concat.apply(t,N(H.getRange(new T.CellCoords(0,e),new T.CellCoords(F.settings.data.length-1,e),H.DESTINATION_RENDERER)))},this.getDataAtProp=function(e){var t,n=H.getRange(new T.CellCoords(0,H.propToCol(e)),new T.CellCoords(F.settings.data.length-1,H.propToCol(e)),H.DESTINATION_RENDERER);return(t=[]).concat.apply(t,N(n))},this.getSourceData=function(e,t,n,r){return void 0===e?V.getData():V.getByRange(new T.CellCoords(e,t),new T.CellCoords(n,r))},this.getSourceDataArray=function(e,t,n,r){return void 0===e?V.getData(!0):V.getByRange(new T.CellCoords(e,t),new T.CellCoords(n,r),!0)},this.getSourceDataAtCol=function(e){return V.getAtColumn(e)},this.getSourceDataAtRow=function(e){return V.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return V.getAtCell(e,t)},this.getDataAtRow=function(e){return H.getRange(new T.CellCoords(e,0),new T.CellCoords(e,this.countCols()-1),H.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(e,t,n,r){var i=this,o=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,n,r],a=o[0],s=o[1],l=o[2],u=o[3],c=null,d=null;void 0===l&&(l=a),void 0===u&&(u=s);var h="mixed";return Object(_.rangeEach)(Math.min(a,l),Math.max(a,l),(function(e){var t=!0;return Object(_.rangeEach)(Math.min(s,u),Math.max(s,u),(function(n){var r=i.getCellMeta(e,n);return d=r.type,c?t=c===d:c=d,t})),h=t?d:"mixed",t})),h},this.removeCellMeta=function(e,t,n){var r=P(K.toPhysical(e,t),2),i=r[0],o=r[1],a=F.cellSettings[i][o][n];!1!==G.runHooks("beforeRemoveCellMeta",e,t,n,a)&&(delete F.cellSettings[i][o][n],G.runHooks("afterRemoveCellMeta",e,t,n,a)),a=null},this.spliceCellsMeta=function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o=0;)if(void 0===t||-1!==t.indexOf(i)){for(var o=G.countCols()-1;o>=0;)void 0===n||-1!==n.indexOf(o)?(r.addValidatorToQueue(),G.validateCell(G.getDataAtCell(i,o),G.getCellMeta(i,o),(function(e){if("boolean"!=typeof e)throw new Error("Validation error: result is not boolean");!1===e&&(r.valid=!1),r.removeValidatorFormQueue()}),"validateCells"),o-=1):o-=1;i-=1}else i-=1;r.checkIfQueueIsEmpty()},this.getRowHeader=function(e){var t=F.settings.rowHeaders,n=e;return void 0!==n&&(n=G.runHooks("modifyRowHeader",n)),void 0===n?(t=[],Object(_.rangeEach)(G.countRows()-1,(function(e){t.push(G.getRowHeader(e))}))):Array.isArray(t)&&void 0!==t[n]?t=t[n]:Object(a.isFunction)(t)?t=t(n):t&&"string"!=typeof t&&"number"!=typeof t&&(t=n+1),t},this.hasRowHeaders=function(){return!!F.settings.rowHeaders},this.hasColHeaders=function(){if(void 0!==F.settings.colHeaders&&null!==F.settings.colHeaders)return!!F.settings.colHeaders;for(var e=0,t=G.countCols();e0&&void 0!==arguments[0]&&arguments[0],t=0;return Object(_.rangeEachReverse)(G.countRows()-1,(function(n){if(G.isEmptyRow(n))t+=1;else if(!0===e)return!1})),t},this.countEmptyCols=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(G.countRows()<1)return 0;var t=0;return Object(_.rangeEachReverse)(G.countCols()-1,(function(n){if(G.isEmptyCol(n))t+=1;else if(!0===e)return!1})),t},this.isEmptyRow=function(e){return F.settings.isEmptyRow.call(G,e)},this.isEmptyCol=function(e){return F.settings.isEmptyCol.call(G,e)},this.selectCell=function(e,t,n,r){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!Object(l.isUndefined)(e)&&!Object(l.isUndefined)(t)&&this.selectCells([[e,t,n,r]],i,o)},this.selectCells=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===t&&($=!0);var r=Z.selectCells(e);return r&&n&&G.listen(),$=!1,r},this.selectColumns=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Z.selectColumns(e,t)},this.selectRows=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Z.selectRows(e,t)},this.deselectCell=function(){Z.deselect()},this.selectAll=function(){$=!0,Z.selectAll(),$=!1},this.scrollViewportTo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=!n,o=!r,a=!1;return void 0!==e&&void 0!==t&&(a=G.view.scrollViewport(new T.CellCoords(e,t),i,r,n,o)),"number"==typeof e&&"number"!=typeof t&&(a=G.view.scrollViewportVertically(e,i,n)),"number"==typeof t&&"number"!=typeof e&&(a=G.view.scrollViewportHorizontally(t,r,o)),a},this.destroy=function(){if(G._clearTimeouts(),G._clearImmediates(),G.view&&G.view.destroy(),V&&V.destroy(),V=null,Object(R.stopObserving)(),Object(x.isRootInstance)(G)){var e=this.rootDocument.querySelector("#hot-display-license-info");e&&e.parentNode.removeChild(e)}Object(i.empty)(G.rootElement),X.destroy(),W&&W.destroy(),G.runHooks("afterDestroy"),E.default.getSingleton().destroy(G),Object(f.objectEach)(G,(function(e,t,n){Object(a.isFunction)(e)?n[t]=se(t):"guid"!==t&&(n[t]=null)})),G.isDestroyed=!0,H&&H.destroy(),H=null,F=null,Y=null,Z=null,W=null,G=null,q=null},this.getActiveEditor=function(){return W.getActiveEditor()},this.getPlugin=function(e){return Object(g.getPlugin)(this,e)},this.getInstance=function(){return G},this.addHook=function(e,t){E.default.getSingleton().add(e,t,G)},this.hasHook=function(e){return E.default.getSingleton().has(e,G)},this.addHookOnce=function(e,t){E.default.getSingleton().once(e,t,G)},this.removeHook=function(e,t){E.default.getSingleton().remove(e,t,G)},this.runHooks=function(e,t,n,r,i,o,a){return E.default.getSingleton().run(G,e,t,n,r,i,o,a)},this.getTranslatedPhrase=function(e,t){return Object(A.getTranslatedPhrase)(F.settings.language,e,t)},this.toHTML=function(){return Object(m.instanceToHTML)(z)},this.toTableElement=function(){var e=z.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",Object(m.instanceToHTML)(z)),e.firstElementChild},this.timeouts=[],this._registerTimeout=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;"function"==typeof n&&(n=setTimeout(n,t)),this.timeouts.push(n)},this._clearTimeouts=function(){Object(p.arrayEach)(this.timeouts,(function(e){clearTimeout(e)}))},this.immediates=[],this._registerImmediate=function(t){this.immediates.push(e(t))},this._clearImmediates=function(){Object(p.arrayEach)(this.immediates,(function(e){r(e)}))},this._refreshBorders=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];W.destroyEditor(e),G.view.render(),t&&Z.isSelected()&&W.prepareEditor()},E.default.getSingleton().run(G,"construct")}}.call(this,n(599).setImmediate,n(599).clearImmediate)},function(e,t,n){"use strict";n.r(t),n.d(t,"ACTIVE_HEADER_TYPE",(function(){return c})),n.d(t,"AREA_TYPE",(function(){return d})),n.d(t,"CELL_TYPE",(function(){return h})),n.d(t,"FILL_TYPE",(function(){return f})),n.d(t,"HEADER_TYPE",(function(){return p})),n.d(t,"CUSTOM_SELECTION",(function(){return m}));n(18),n(19),n(20),n(72),n(1673),n(161),n(350),n(84),n(109),n(15),n(239),n(64),n(967),n(225),n(12),n(30),n(138),n(16),n(351),n(17);var r=n(341),i=n(2);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:0;return this.layerLevel=e,this}},{key:"getCell",value:function(){return this.cell}},{key:"getFill",value:function(){return this.fill}},{key:"createOrGetArea",value:function(){var e,t=this.layerLevel;return this.areas.has(t)?e=this.areas.get(t):(e=Object(r.createHighlight)(d,s({layerLevel:t},this.options)),this.areas.set(t,e)),e}},{key:"getAreas",value:function(){return o(this.areas.values())}},{key:"createOrGetHeader",value:function(){var e,t=this.layerLevel;return this.headers.has(t)?e=this.headers.get(t):(e=Object(r.createHighlight)(p,s({},this.options)),this.headers.set(t,e)),e}},{key:"getHeaders",value:function(){return o(this.headers.values())}},{key:"createOrGetActiveHeader",value:function(){var e,t=this.layerLevel;return this.activeHeaders.has(t)?e=this.activeHeaders.get(t):(e=Object(r.createHighlight)(c,s({},this.options)),this.activeHeaders.set(t,e)),e}},{key:"getActiveHeaders",value:function(){return o(this.activeHeaders.values())}},{key:"getCustomSelections",value:function(){return o(this.customSelections.values())}},{key:"addCustomSelection",value:function(e){this.customSelections.push(Object(r.createHighlight)(m,s({},e)))}},{key:"clear",value:function(){this.cell.clear(),this.fill.clear(),Object(i.arrayEach)(this.areas.values(),(function(e){e.clear()})),Object(i.arrayEach)(this.headers.values(),(function(e){e.clear()})),Object(i.arrayEach)(this.activeHeaders.values(),(function(e){e.clear()}))}},{key:Symbol.iterator,value:function(){return[this.cell,this.fill].concat(o(this.areas.values()),o(this.headers.values()),o(this.activeHeaders.values()),o(this.customSelections))[Symbol.iterator]()}}])&&u(t.prototype,n),a&&u(t,a),e}();t.default=g},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return o})),n.d(t,"condition",(function(){return a}));var r=n(7),i=n(50),o="empty";function a(e){return""===e.value||null===e.value||void 0===e.value}Object(i.registerCondition)(o,a,{name:r.FILTERS_CONDITIONS_EMPTY,inputsCount:0,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"CONDITION_NAME",(function(){return s})),n.d(t,"condition",(function(){return l}));n(18),n(19),n(20),n(15),n(12),n(30),n(16),n(17);var r=n(7),i=n(25),o=n(50);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s="eq";function l(e,t){var n=a(t,1)[0];return Object(i.stringify)(e.value).toLowerCase()===Object(i.stringify)(n)}Object(o.registerCondition)(s,l,{name:r.FILTERS_CONDITIONS_EQUAL,inputsCount:1,showOperators:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"stopPreviousKeyframeAnimationAndRestore",(function(){return u})),n.d(t,"applyKeyframeAnimation",(function(){return c}));var r=n(0),i=n(178),o=n(23),a=n(6),s=Object(a.makeInner)(),l=["percent","easing","shape","style","extra"];function u(e){e.stopAnimation("keyframe"),e.attr(s(e))}function c(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(r.isArray)(t))Object(r.each)(t,(function(t){c(e,t,n)}));else{var a=t.keyframes,u=t.duration;if(n&&null==u){var d=Object(o.getAnimationConfig)("enter",n,0);u=d&&d.duration}if(a&&u){var h=s(e);Object(r.each)(i.ELEMENT_ANIMATABLE_PROPS,(function(n){if(!n||e[n]){var i;a.sort((function(e,t){return e.percent-t.percent})),Object(r.each)(a,(function(o){var a=e.animators,s=n?o[n]:o;if(s){var c=Object(r.keys)(s);if(n||(c=Object(r.filter)(c,(function(e){return Object(r.indexOf)(l,e)<0}))),c.length){i||((i=e.animate(n,t.loop,!0)).scope="keyframe");for(var d=0;d=0;o--)r.push(i[o])}}n.r(t),n.d(t,"eachAfter",(function(){return r})),n.d(t,"eachBefore",(function(){return i}))},function(e,t,n){"use strict"; /*! @name @videojs/vhs-utils @version 2.3.0 @license MIT */Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e instanceof Uint8Array?e:new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0)},i=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,r(e));try{return decodeURIComponent(escape(t))}catch(e){}return t},o=function(e,t){void 0===t&&(t=0);var n=(e=r(e))[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},a=function e(t,n){return void 0===n&&(n=0),(t=r(t)).length-n<10||"ID3"!==i(t.subarray(n,n+3))?n:e(t,n+=o(t,n))},s={aac:function(e){var t=a(e);return e.length>=t+2&&255==(255&e[t])&&224==(224&e[t+1])&&16==(22&e[t+1])},mp3:function(e){var t=a(e);return e.length>=t+2&&255==(255&e[t])&&224==(224&e[t+1])&&2==(6&e[t+1])},webm:function(e){return e.length>=4&&26==(255&e[0])&&69==(255&e[1])&&223==(255&e[2])&&163==(255&e[3])},mp4:function(e){return e.length>=8&&/^(f|s)typ$/.test(i(e.subarray(4,8)))&&!/^ftyp3g$/.test(i(e.subarray(4,10)))},"3gp":function(e){return e.length>=10&&/^ftyp3g$/.test(i(e.subarray(4,10)))},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188=4&&/^fLaC$/.test(i(e.subarray(0,4)))},ogg:function(e){return e.length>=4&&/^OggS$/.test(i(e.subarray(0,4)))}},l=Object.keys(s).filter((function(e){return"ts"!==e})).concat("ts");l.forEach((function(e){var t=s[e];s[e]=function(e){return t(r(e))}}));t.detectContainerForBytes=function(e){e=r(e);for(var t=0;t>>0;if("moof"===i(e.subarray(t+4,t+8)))return!0;0===n||n+t>e.length?t=e.length:t+=n}return!1}},function(e,t,n){"use strict";n.r(t),n.d(t,"createHighlight",(function(){return f}));var r=n(154),i=n(1312),o=n(1313),a=n(1314),s=n(1315),l=n(1316),u=n(1317),c=Object(r.default)("highlight/types"),d=c.register,h=c.getItem;function f(e,t){return h(e)(t)}d("active-header",i.default),d("area",o.default),d("cell",a.default),d("custom-selection",s.default),d("fill",l.default),d("header",u.default)},function(e,t,n){var r=n(128).f,i=n(199),o=n(114)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(222),i=n(114)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(22),i=n(234),o=n(85),a=n(611),s="["+a+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),c=function(e,t,n){var i={},s=o((function(){return!!a[e]()||"​…"!="​…"[e]()})),l=i[e]=s?t(d):a[e];n&&(i[n]=l),r(r.P+r.F*s,"String",i)},d=c.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=c},function(e,t){e.exports={}},function(e,t){e.exports=!1},function(e,t,n){var r=n(931),i=n(121),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r,i=n(145),o=n(1651),a=n(637),s=n(418),l=n(935),u=n(632),c=n(483),d=c("IE_PROTO"),h=function(){},f=function(e){return"