UNPKG

vue-highcharts-v5

Version:

Vue.js(v2.x+) component wrap for HighCharts.js(v6.x+)

2 lines 23.9 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("highcharts/highmaps"));else if("function"==typeof define&&define.amd)define(["highcharts/highmaps"],e);else{var n=e("object"==typeof exports?require("highcharts/highmaps"):t.Highcharts);for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}("undefined"!=typeof self?self:this,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e){function n(t){return r.call(t)}var i=Object.prototype,r=i.toString;t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){"use strict";(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var i=e(t[n]);if(i)return i}}},function(t,e,n){"use strict";var i=t.exports={};i.isIE=function(t){return!!function(){var t=navigator.userAgent.toLowerCase();return-1!==t.indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/")}()&&(!t||t===function(){var t=3,e=document.createElement("div"),n=e.getElementsByTagName("i");do{e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e"}while(n[0]);return t>4?t:void 0}())},i.isLegacyOpera=function(){return!!window.opera}},function(t,e,n){"use strict";function i(t,e){return{name:"IHighCharts",props:{styles:{type:Object,required:!1,default:function(){return{width:"100%",height:"100%"}}},theme:{type:Object,required:!1},options:{type:Object,required:!0},loading:{type:[Boolean,String],required:!1,default:!1},resizable:{type:Boolean,required:!1,default:!1}},data:function(){var t=this;return{chart:null,fnResize:h()(t.resize,250,{leading:!0,trailing:!0}),resized:null}},watch:{loading:{handler:function(t,e){var n=this;n.chart&&t!==e&&n.setLoading(n.chart,t)},deep:!1},options:{handler:function(t,e){this.update(t)},deep:!0}},methods:{resize:function(t){var e=this;if(e.chart){var n=d()(t,"width"),i=d()(t,"height");e.chart.setSize(n,i),e.$emit("resize",n,i)}},init:function(){var n=this;if(!n.chart){var i=n.$el;u()(n.theme)&&e.setOptions(n.theme);var r=g[t];n.chart=e[r](i,n.options,function(){return setTimeout(function(){return n.$emit("load",n.chart,e)})}),n.setLoading(n.chart,n.loading),n.resized&&s()(n.resized.uninstall)&&n.resized.uninstall(i),!0===n.resizable&&(n.resized=v()({strategy:"scroll"}),n.resized.listenTo(i,function(t){var e=t.offsetWidth,i=t.offsetHeight;s()(n.fnResize)&&n.fnResize({width:e,height:i})}))}},uninit:function(){var t=this;if(t.resized&&s()(t.resized.uninstall)){var e=t.$el;t.resized.uninstall(e)}t.fnResize&&s()(t.fnResize.cancel)&&t.fnResize.cancel(),t.chart&&s()(t.chart.destroy)&&t.chart.destroy()},setLoading:function(t,e){!0===e?t.showLoading():o()(e)?t.showLoading(e):t.hideLoading()},update:function(t){var e=this;e.chart&&t&&e.chart.update(t)}},mounted:function(){this.init()},beforeDestroy:function(){this.uninit()},render:function(t){return t("div",{style:this.styles})}}}var r=n(7),o=n.n(r),a=n(8),s=n.n(a),c=n(9),u=n.n(c),l=n(12),d=n.n(l),f=n(21),h=n.n(f),p=n(28),v=n.n(p),g={charts:"chart",maps:"mapChart",stock:"stockChart"};e.a=i},function(t,e,n){function i(t){return"string"==typeof t||!o(t)&&a(t)&&r(t)==s}var r=n(0),o=n(1),a=n(3),s="[object String]";t.exports=i},function(t,e,n){function i(t){if(!o(t))return!1;var e=r(t);return e==s||e==c||e==a||e==u}var r=n(0),o=n(2),a="[object AsyncFunction]",s="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";t.exports=i},function(t,e,n){function i(t){if(!a(t)||r(t)!=s)return!1;var e=o(t);if(null===e)return!0;var n=d.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}var r=n(0),o=n(10),a=n(3),s="[object Object]",c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,f=l.call(Object);t.exports=i},function(t,e,n){var i=n(11),r=i(Object.getPrototypeOf,Object);t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}var r=n(13);t.exports=i},function(t,e,n){function i(t,e){e=r(e,t);for(var n=0,i=e.length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}var r=n(14),o=n(20);t.exports=i},function(t,e,n){function i(t,e){return r(t)?t:o(t,e)?[t]:a(s(t))}var r=n(1),o=n(15),a=n(17),s=n(19);t.exports=i},function(t,e,n){function i(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(s.test(t)||!a.test(t)||null!=e&&t in Object(e))}var r=n(1),o=n(16),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=i},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){var i=n(18),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,function(t,n,i,r){e.push(i?r.replace(o,"$1"):n||t)}),e});t.exports=a},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function i(t,e,n){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError(a);return o(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),r(t,e,{leading:i,maxWait:e,trailing:s})}var r=n(22),o=n(2),a="Expected a function";t.exports=i},function(t,e,n){function i(t,e,n){function i(e){var n=b,i=y;return b=y=void 0,z=e,w=t.apply(i,n)}function l(t){return z=t,E=setTimeout(h,e),j?i(t):w}function d(t){var n=t-S,i=t-z,r=e-n;return A?u(r,x-i):r}function f(t){var n=t-S,i=t-z;return void 0===S||n>=e||n<0||A&&i>=x}function h(){var t=o();if(f(t))return p(t);E=setTimeout(h,d(t))}function p(t){return E=void 0,O&&b?i(t):(b=y=void 0,w)}function v(){void 0!==E&&clearTimeout(E),z=0,b=S=y=E=void 0}function g(){return void 0===E?w:p(o())}function m(){var t=o(),n=f(t);if(b=arguments,y=this,S=t,n){if(void 0===E)return l(S);if(A)return E=setTimeout(h,e),i(S)}return void 0===E&&(E=setTimeout(h,e)),w}var b,y,x,w,E,S,z=0,j=!1,A=!1,O=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,r(n)&&(j=!!n.leading,A="maxWait"in n,x=A?c(a(n.maxWait)||0,e):x,O="trailing"in n?!!n.trailing:O),m.cancel=v,m.flush=g,m}var r=n(2),o=n(23),a=n(27),s="Expected a function",c=Math.max,u=Math.min;t.exports=i},function(t,e,n){var i=n(24),r=function(){return i.Date.now()};t.exports=r},function(t,e,n){var i=n(25),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(26))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){"use strict";function i(t){return Array.isArray(t)||void 0!==t.length}function r(t){if(Array.isArray(t))return t;var e=[];return s(t,function(t){e.push(t)}),e}function o(t){return t&&1===t.nodeType}function a(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}var s=n(4).forEach,c=n(29),u=n(30),l=n(31),d=n(32),f=n(33),h=n(5),p=n(34),v=n(36),g=n(37),m=n(38);t.exports=function(t){function e(t,e,n){function c(t){var e=j.get(t);s(e,function(e){e(t)})}function u(t,e,n){j.add(e,n),t&&n(e)}if(n||(n=e,e=t,t={}),!e)throw new Error("At least one element required.");if(!n)throw new Error("Listener required.");if(o(e))e=[e];else{if(!i(e))return w.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=r(e)}var l=0,d=a(t,"callOnAdd",S.callOnAdd),f=a(t,"onReady",function(){}),h=a(t,"debug",S.debug);s(e,function(t){v.getState(t)||(v.initState(t),b.set(t));var i=b.get(t);if(h&&w.log("Attaching listener to element",i,t),!A.isDetectable(t))return h&&w.log(i,"Not detectable."),A.isBusy(t)?(h&&w.log(i,"System busy making it detectable"),u(d,t,n),L[i]=L[i]||[],void L[i].push(function(){++l===e.length&&f()})):(h&&w.log(i,"Making detectable..."),A.markBusy(t,!0),z.makeDetectable({debug:h},t,function(t){if(h&&w.log(i,"onElementDetectable"),v.getState(t)){A.markAsDetectable(t),A.markBusy(t,!1),z.addListener(t,c),u(d,t,n);var r=v.getState(t);if(r&&r.startSize){var o=t.offsetWidth,a=t.offsetHeight;r.startSize.width===o&&r.startSize.height===a||c(t)}L[i]&&s(L[i],function(t){t()})}else h&&w.log(i,"Element uninstalled before being detectable.");delete L[i],++l===e.length&&f()}));h&&w.log(i,"Already detecable, adding listener."),u(d,t,n),l++}),l===e.length&&f()}function n(t){if(!t)return w.error("At least one element is required.");if(o(t))t=[t];else{if(!i(t))return w.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=r(t)}s(t,function(t){j.removeAllListeners(t),z.uninstall(t),v.cleanState(t)})}t=t||{};var b;if(t.idHandler)b={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var y=l(),x=d({idGenerator:y,stateHandler:v});b=x}var w=t.reporter;if(!w){w=f(!1===w)}var E=a(t,"batchProcessor",p({reporter:w})),S={};S.callOnAdd=!!a(t,"callOnAdd",!0),S.debug=!!a(t,"debug",!1);var z,j=u(b),A=c({stateHandler:v}),O=a(t,"strategy","object"),k={reporter:w,batchProcessor:E,stateHandler:v,idHandler:b};if("scroll"===O&&(h.isLegacyOpera()?(w.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),O="object"):h.isIE(9)&&(w.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),O="object")),"scroll"===O)z=m(k);else{if("object"!==O)throw new Error("Invalid strategy name: "+O);z=g(k)}var L={};return{listenTo:e,removeListener:j.removeListener,removeAllListeners:j.removeAllListeners,uninstall:n}}},function(t,e,n){"use strict";t.exports=function(t){function e(t){var e=o(t);return e&&!!e.isDetectable}function n(t){o(t).isDetectable=!0}function i(t){return!!o(t).busy}function r(t,e){o(t).busy=!!e}var o=t.stateHandler.getState;return{isDetectable:e,markAsDetectable:n,isBusy:i,markBusy:r}}},function(t,e,n){"use strict";t.exports=function(t){function e(e){var n=t.get(e);return void 0===n?[]:o[n]||[]}function n(e,n){var i=t.get(e);o[i]||(o[i]=[]),o[i].push(n)}function i(t,n){for(var i=e(t),r=0,o=i.length;r<o;++r)if(i[r]===n){i.splice(r,1);break}}function r(t){var n=e(t);n&&(n.length=0)}var o={};return{get:e,add:n,removeListener:i,removeAllListeners:r}}},function(t,e,n){"use strict";t.exports=function(){function t(){return e++}var e=1;return{generate:t}}},function(t,e,n){"use strict";t.exports=function(t){function e(t){var e=r(t);return e&&void 0!==e.id?e.id:null}function n(t){var e=r(t);if(!e)throw new Error("setId required the element to have a resize detection state.");var n=i.generate();return e.id=n,n}var i=t.idGenerator,r=t.stateHandler.getState;return{get:e,set:n}}},function(t,e,n){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var i=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};i(n,"log"),i(n,"warn"),i(n,"error")}return n}},function(t,e,n){"use strict";function i(){function t(t,e){e||(e=t,t=0),t>o?o=t:t<a&&(a=t),i[t]||(i[t]=[]),i[t].push(e),r++}function e(){for(var t=a;t<=o;t++)for(var e=i[t],n=0;n<e.length;n++){var r=e[n];r()}}function n(){return r}var i={},r=0,o=0,a=0;return{add:t,process:e,size:n}}var r=n(35);t.exports=function(t){function e(t,e){!p&&d&&l&&0===h.size()&&a(),h.add(t,e)}function n(){for(p=!0;h.size();){var t=h;h=i(),t.process()}p=!1}function o(t){p||(void 0===t&&(t=l),f&&(s(f),f=null),t?a():n())}function a(){f=c(n)}function s(t){return clearTimeout(t)}function c(t){return function(t){return setTimeout(t,0)}(t)}t=t||{};var u=t.reporter,l=r.getOption(t,"async",!0),d=r.getOption(t,"auto",!0);d&&!l&&(u&&u.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),l=!0);var f,h=i(),p=!1;return{add:e,force:o}}},function(t,e,n){"use strict";function i(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}(t.exports={}).getOption=i},function(t,e,n){"use strict";function i(t){return t[a]={},r(t)}function r(t){return t[a]}function o(t){delete t[a]}var a="_erd";t.exports={initState:i,getState:r,cleanState:o}},function(t,e,n){"use strict";var i=n(5);t.exports=function(t){function e(t,e){function n(){e(t)}if(!r(t))throw new Error("Element is not detectable by this strategy.");if(i.isIE(8))c(t).object={proxy:n},t.attachEvent("onresize",n);else{r(t).contentDocument.defaultView.addEventListener("resize",n)}}function n(t,e,n){n||(n=e,e=t,t=null),t=t||{};t.debug;i.isIE(8)?n(e):function(t,e){function n(){function n(){if("static"===u.position){t.style.position="relative";var e=function(t,e,n,i){var r=n[i];"auto"!==r&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+i+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};e(a,t,u,"top"),e(a,t,u,"right"),e(a,t,u,"bottom"),e(a,t,u,"left")}}function s(){function i(t,e){if(!t.contentDocument)return void setTimeout(function(){i(t,e)},100);e(t.contentDocument)}o||n(),i(this,function(n){e(t)})}""!==u.position&&(n(u),o=!0);var l=document.createElement("object");l.style.cssText=r,l.tabIndex=-1,l.type="text/html",l.onload=s,i.isIE()||(l.data="about:blank"),t.appendChild(l),c(t).object=l,i.isIE()&&(l.data="about:blank")}var r="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",o=!1,u=window.getComputedStyle(t),l=t.offsetWidth,d=t.offsetHeight;c(t).startSize={width:l,height:d},s?s.add(n):n()}(e,n)}function r(t){return c(t).object}function o(t){i.isIE(8)?t.detachEvent("onresize",c(t).object.proxy):t.removeChild(r(t)),delete c(t).object}t=t||{};var a=t.reporter,s=t.batchProcessor,c=t.stateHandler.getState;if(!a)throw new Error("Missing required dependency: reporter.");return{makeDetectable:n,addListener:e,uninstall:o}}},function(t,e,n){"use strict";var i=n(4).forEach;t.exports=function(t){function e(t){t.className+=" "+v+"_animation_active"}function n(t,e,n){if(t.addEventListener)t.addEventListener(e,n);else{if(!t.attachEvent)return l.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+e,n)}}function r(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n);else{if(!t.detachEvent)return l.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+e,n)}}function o(t){return f(t).container.childNodes[0].childNodes[0].childNodes[0]}function a(t){return f(t).container.childNodes[0].childNodes[0].childNodes[1]}function s(t,e){if(!f(t).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");f(t).listeners.push(e)}function c(t,r,s){function c(){if(t.debug){var e=Array.prototype.slice.call(arguments);if(e.unshift(h.get(r),"Scroll: "),l.log.apply)l.log.apply(null,e);else for(var n=0;n<e.length;n++)l.log(e[n])}}function u(t){var e=f(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||-1===n.width.indexOf("px")}function g(){var t=window.getComputedStyle(r),e={};return e.position=t.position,e.width=r.offsetWidth,e.height=r.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function m(){var t=g();f(r).startSize={width:t.width,height:t.height},c("Element start size",f(r).startSize)}function b(){f(r).listeners=[]}function y(){if(c("storeStyle invoked."),!f(r))return void c("Aborting because element has been uninstalled");var t=g();f(r).style=t}function x(t,e,n){f(t).lastWidth=e,f(t).lastHeight=n}function w(t){return o(t).childNodes[0]}function E(){return 2*p.width+1}function S(){return 2*p.height+1}function z(t){return t+10+E()}function j(t){return t+10+S()}function A(t){return 2*t+E()}function O(t){return 2*t+S()}function k(t,e,n){var i=o(t),r=a(t),s=z(e),c=j(n),u=A(e),l=O(n);i.scrollLeft=s,i.scrollTop=c,r.scrollLeft=u,r.scrollTop=l}function L(){var t=f(r).container;if(!t){t=document.createElement("div"),t.className=v,t.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;",f(r).container=t,e(t),r.appendChild(t);var i=function(){f(r).onRendered&&f(r).onRendered()};n(t,"animationstart",i),f(r).onAnimationStart=i}return t}function T(){function t(){f(r).onExpand&&f(r).onExpand()}function e(){f(r).onShrink&&f(r).onShrink()}if(c("Injecting elements"),!f(r))return void c("Aborting because element has been uninstalled");!function(){var t=f(r).style;if("static"===t.position){r.style.position="relative";var e=function(t,e,n,i){var r=n[i];"auto"!==r&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+i+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};e(l,r,t,"top"),e(l,r,t,"right"),e(l,r,t,"bottom"),e(l,r,t,"left")}}();var i=f(r).container;i||(i=L());var o=p.width,a=p.height,s="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+function(t,e,n,i){return t=t?t+"px":"0",e=e?e+"px":"0",n=n?n+"px":"0",i=i?i+"px":"0","left: "+t+"; top: "+e+"; right: "+i+"; bottom: "+n+";"}(-(1+o),-(1+a),-a,-o),u=document.createElement("div"),d=document.createElement("div"),h=document.createElement("div"),g=document.createElement("div"),m=document.createElement("div"),b=document.createElement("div");u.dir="ltr",u.style.cssText="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;",u.className=v,d.className=v,d.style.cssText=s,h.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",g.style.cssText="position: absolute; left: 0; top: 0;",m.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",b.style.cssText="position: absolute; width: 200%; height: 200%;",h.appendChild(g),m.appendChild(b),d.appendChild(h),d.appendChild(m),u.appendChild(d),i.appendChild(u),n(h,"scroll",t),n(m,"scroll",e),f(r).onExpandScroll=t,f(r).onShrinkScroll=e}function H(){function e(t,e,n){var i=w(t),r=z(e),o=j(n);i.style.width=r+"px",i.style.height=o+"px"}function n(n){var i=r.offsetWidth,o=r.offsetHeight;c("Storing current size",i,o),x(r,i,o),d.add(0,function(){if(!f(r))return void c("Aborting because element has been uninstalled");if(!s())return void c("Aborting because element container has not been initialized");if(t.debug){var n=r.offsetWidth,a=r.offsetHeight;n===i&&a===o||l.warn(h.get(r),"Scroll: Size changed before updating detector elements.")}e(r,i,o)}),d.add(1,function(){return f(r)?s()?void k(r,i,o):void c("Aborting because element container has not been initialized"):void c("Aborting because element has been uninstalled")}),n&&d.add(2,function(){return f(r)?s()?void n():void c("Aborting because element container has not been initialized"):void c("Aborting because element has been uninstalled")})}function s(){return!!f(r).container}function p(){c("notifyListenersIfNeeded invoked");var t=f(r);return function(){return void 0===f(r).lastNotifiedWidth}()&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?c("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?c("Not notifying: Size already notified"):(c("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,void i(f(r).listeners,function(t){t(r)}))}function v(){if(c("startanimation triggered."),u(r))return void c("Ignoring since element is still unrendered...");c("Element rendered.");var t=o(r),e=a(r);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(c("Scrollbars out of sync. Updating detector elements..."),n(p))}function g(){if(c("Scroll detected."),u(r))return void c("Scroll event fired while unrendered. Ignoring...");var t=r.offsetWidth,e=r.offsetHeight;t!==f(r).lastWidth||e!==f(r).lastHeight?(c("Element size changed."),n(p)):c("Element size has not changed ("+t+"x"+e+").")}if(c("registerListenersAndPositionElements invoked."),!f(r))return void c("Aborting because element has been uninstalled");f(r).onRendered=v,f(r).onExpand=g,f(r).onShrink=g;var m=f(r).style;e(r,m.width,m.height)}function C(){if(c("finalizeDomMutation invoked."),!f(r))return void c("Aborting because element has been uninstalled");var t=f(r).style;x(r,t.width,t.height),k(r,t.width,t.height)}function D(){s(r)}function I(){c("Installing..."),b(),m(),d.add(0,y),d.add(1,T),d.add(2,H),d.add(3,C),d.add(4,D)}s||(s=r,r=t,t=null),t=t||{},c("Making detectable..."),!function(t){return!function(t){return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)}(t)||null===window.getComputedStyle(t)}(r)?I():(c("Element is detached"),L(),c("Waiting until element is attached..."),f(r).onRendered=function(){c("Element is now attached"),I()})}function u(t){var e=f(t);e&&(e.onExpandScroll&&r(o(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&r(a(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&r(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))}t=t||{};var l=t.reporter,d=t.batchProcessor,f=t.stateHandler.getState,h=(t.stateHandler.hasState,t.idHandler);if(!d)throw new Error("Missing required dependency: batchProcessor");if(!l)throw new Error("Missing required dependency: reporter.");var p=function(){var t=document.createElement("div");t.style.cssText="position: absolute; width: 1000px; height: 1000px; visibility: hidden; margin: 0; padding: 0;";var e=document.createElement("div");e.style.cssText="position: absolute; width: 500px; height: 500px; overflow: scroll; visibility: none; top: -1500px; left: -1500px; visibility: hidden; margin: 0; padding: 0;",e.appendChild(t),document.body.insertBefore(e,document.body.firstChild);var n=500-e.clientWidth,i=500-e.clientHeight;return document.body.removeChild(e),{width:n,height:i}}(),v="erd_scroll_detection_container";return function(t,e){if(!document.getElementById(t)){var n=e+"_animation",i=e+"_animation_active",r="/* Created by the element-resize-detector library. */\n";r+="."+e+" > div::-webkit-scrollbar { display: none; }\n\n",r+="."+i+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+n+"; animation-name: "+n+"; }\n",r+="@-webkit-keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",r+="@keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",function(e,n){n=n||function(t){document.head.appendChild(t)};var i=document.createElement("style");i.innerHTML=e,i.id=t,n(i)}(r)}}("erd_scroll_detection_scrollbar_style",v),{makeDetectable:c,addListener:s,uninstall:u}}},,,,,,,function(t,e,n){t.exports=n(46)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),r=n.n(i),o=n(6),a=Object(o.a)("maps",r.a);a.__highcharts__=r.a,e.default=a},function(e,n){e.exports=t}])}); //# sourceMappingURL=vue-highmaps.js.map