webpackJsonp([0],{"++K3":function(t,e){var n,i,r,o,a,s,l,c,u,h,d,p,f,g,m,v=!1;function y(){if(!v){v=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),y=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(p=/\b(iPhone|iP[ao]d)/.exec(t),f=/\b(iP[ao]d)/.exec(t),h=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),m=/Mobile/i.exec(t),d=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,i=e[2]?parseFloat(e[2]):NaN,r=e[3]?parseFloat(e[3]):NaN,(o=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=i=r=a=o=NaN;if(y){if(y[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=!x||parseFloat(x[1].replace("_","."))}else l=!1;c=!!y[2],u=!!y[3]}else l=c=u=!1}}var b={ie:function(){return y()||n},ieCompatibilityMode:function(){return y()||s>n},ie64:function(){return b.ie()&&d},firefox:function(){return y()||i},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||c},osx:function(){return y()||l},linux:function(){return y()||u},iphone:function(){return y()||p},mobile:function(){return y()||p||f||h||m},nativeApp:function(){return y()||g},android:function(){return y()||h},ipad:function(){return y()||f}};t.exports=b},"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(t,e,n){var i=n("lOnJ");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"+lzb":function(t,e){function n(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},"+tPU":function(t,e,n){n("xGkn");for(var i=n("7KvD"),r=n("hJx8"),o=n("/bQp"),a=n("dSzd")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l0;){var a=i[o],s=e[a];if(s){var l=t[a],c=void 0===l||s(l,a,t);if(!0!==c)throw new r("option "+a+" must be "+c,r.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},"/bQp":function(t,e){t.exports={}},"/gxq":function(t,e,n){"use strict";e.p=function(){return g++},e.G=function(){for(var t=[],e=0;e=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(o.path||""),d=e&&e.path||"/",p=h.path?w(h.path,d,n||o.append):d,f=function(t,e,n){void 0===e&&(e={});var i,r=n||u;try{i=r(t||"")}catch(t){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(c):c(a)}return i}(h.query,o.query,r&&r.options.parseQuery),g=o.hash||h.hash;return g&&"#"!==g.charAt(0)&&(g="#"+g),{_normalized:!0,path:p,query:f,hash:g}}var H,W=[String,Object],G=[String,Array],U=function(){},q={name:"RouterLink",props:{to:{type:W,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:G,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,g=null==h?"router-link-exact-active":h,m=null==this.activeClass?f:this.activeClass,y=null==this.exactActiveClass?g:this.exactActiveClass,b=s.redirectedFrom?p(null,V(s.redirectedFrom),null,n):s;c[y]=v(r,b,this.exactPath),c[m]=this.exact||this.exactPath?c[y]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,b);var x=c[y]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,U):n.push(a,U))},w={click:Y};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=_}):w[this.event]=_;var C={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[m],isExactActive:c[y]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)C.on=w,C.attrs={href:l,"aria-current":x};else{var k=function t(e){if(e)for(var n,i=0;i-1&&(s.params[d]=n.params[d]);return s.path=$(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var p=0;p=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}var xt={redirected:2,aborted:4,cancelled:8,duplicated:16};function _t(t,e){return Ct(t,e,xt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return St.forEach(function(n){n in t&&(e[n]=t[n])}),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function wt(t,e){return Ct(t,e,xt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var St=["params","query","hash"];function kt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Ot(t,e){return kt(t)&&t._isRouter&&(null==e||t.type===e)}function Mt(t){return function(e,n,i){var r=!1,o=0,a=null;Tt(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){r=!0,o++;var l,c=It(function(e){var r;((r=e).__esModule||At&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:H.extend(e),n.components[s]=e,--o<=0&&i()}),u=It(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=kt(t)?t:new Error(e),i(a))});try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"==typeof h.then&&h.then(c,u)}}}),r||i()}}function Tt(t,e){return Dt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Dt(t){return Array.prototype.concat.apply([],t)}var At="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function It(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Et=function(t,e){this.router=t,this.base=function(t){if(!t)if(K){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Pt(t,e,n,i){var r=Tt(t,function(t,i,r,o){var a=function(t,e){"function"!=typeof t&&(t=H.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,o)}):n(a,i,r,o)});return Dt(i?r.reverse():r)}function Lt(t,e){if(e)return function(){return t.apply(e,arguments)}}Et.prototype.listen=function(t){this.cb=t},Et.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Et.prototype.onError=function(t){this.errorCbs.push(t)},Et.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var o=this.current;this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach(function(t){t&&t(i,o)}),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(Ot(t,xt.redirected)&&o===g||(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)})))})},Et.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current;this.pending=t;var o,a,s=function(t){!Ot(t)&&kt(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)},l=t.matched.length-1,c=r.matched.length-1;if(v(t,r)&&l===c&&t.matched[l]===r.matched[c])return this.ensureURL(),t.hash&&st(this.router,r,t,!1),s(((a=Ct(o=r,t,xt.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var u=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,i=mt&&n;i&&this.listeners.push(at());var r=function(){var n=t.current,r=Nt(t.base);t.current===g&&r===t._startLocation||t.transitionTo(r,function(t){i&&st(e,t,n,!0)})};window.addEventListener("popstate",r),this.listeners.push(function(){window.removeEventListener("popstate",r)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){vt(C(i.base+t.fullPath)),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){yt(C(i.base+t.fullPath)),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Nt(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?vt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Nt(this.base)},e}(Et);function Nt(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(C(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Rt=function(t){function e(e,n,i){t.call(this,e,n),i&&function(t){var e=Nt(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}(this.base)||Bt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=mt&&e;n&&this.listeners.push(at());var i=function(){var e=t.current;Bt()&&t.transitionTo(Ft(),function(i){n&&st(t.router,i,e,!0),mt||Vt(i.fullPath)})},r=mt?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push(function(){window.removeEventListener(r,i)})}},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){$t(t.fullPath),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){Vt(t.fullPath),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ft()!==e&&(t?$t(e):Vt(e))},e.prototype.getCurrentLocation=function(){return Ft()},e}(Et);function Bt(){var t=Ft();return"/"===t.charAt(0)||(Vt("/"+t),!1)}function Ft(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function zt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function $t(t){mt?vt(zt(t)):window.location.hash=t}function Vt(t){mt?yt(zt(t)):window.location.replace(zt(t))}var Ht=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach(function(e){e&&e(i,t)})},function(t){Ot(t,xt.duplicated)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Et),Wt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!mt&&!1!==t.fallback,this.fallback&&(e="hash"),K||(e="abstract"),this.mode=e,e){case"history":this.history=new jt(this,t.base);break;case"hash":this.history=new Rt(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this,t.base);break;default:0}},Gt={currentRoute:{configurable:!0}};function Ut(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Wt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Gt.currentRoute.get=function(){return this.history&&this.history.current},Wt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof jt||n instanceof Rt){var i=function(t){n.setupListeners(),function(t){var i=n.current,r=e.options.scrollBehavior;mt&&r&&"fullPath"in t&&st(e,t,i,!1)}(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Wt.prototype.beforeEach=function(t){return Ut(this.beforeHooks,t)},Wt.prototype.beforeResolve=function(t){return Ut(this.resolveHooks,t)},Wt.prototype.afterEach=function(t){return Ut(this.afterHooks,t)},Wt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Wt.prototype.onError=function(t){this.history.onError(t)},Wt.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.push(t,e,n)});this.history.push(t,e,n)},Wt.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.replace(t,e,n)});this.history.replace(t,e,n)},Wt.prototype.go=function(t){this.history.go(t)},Wt.prototype.back=function(){this.go(-1)},Wt.prototype.forward=function(){this.go(1)},Wt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Wt.prototype.resolve=function(t,e,n){var i=V(t,e=e||this.history.current,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?C(t+"/"+i):i}(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},Wt.prototype.getRoutes=function(){return this.matcher.getRoutes()},Wt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Wt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Wt.prototype,Gt),Wt.install=X,Wt.version="3.5.4",Wt.isNavigationFailure=Ot,Wt.NavigationFailureType=xt,Wt.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Wt),e.a=Wt},"02w1":function(t,e,n){"use strict";e.__esModule=!0,e.removeResizeListener=e.addResizeListener=void 0;var i,r=n("z+gd"),o=(i=r)&&i.__esModule?i:{default:i},a=n("HzcN");var s="undefined"==typeof window,l=function(t){var e=t,n=Array.isArray(e),i=0;for(e=n?e:e[Symbol.iterator]();;){var r;if(n){if(i>=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var o=r.target.__resizeListeners__||[];o.length&&o.forEach(function(t){t()})}};e.addResizeListener=function(t,e){s||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new o.default((0,a.debounce)(16,l)),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},e.removeResizeListener=function(t,e){t&&t.__resizeListeners__&&(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||t.__ro__.disconnect())}},"06OY":function(t,e,n){var i=n("3Eo+")("meta"),r=n("EqjI"),o=n("D2L2"),a=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},onFreeze:function(t){return c&&h.NEED&&l(t)&&!o(t,i)&&u(t),t}}},"0kY3":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=86)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},10:function(t,e){t.exports=n("HJMx")},2:function(t,e){t.exports=n("2kvA")},22:function(t,e){t.exports=n("1oZe")},30:function(t,e,n){"use strict";var i=n(2);e.a={bind:function(t,e,n){var r=null,o=void 0,a=function(){return n.context[e.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(r),r=null};Object(i.on)(t,"mousedown",function(t){0===t.button&&(o=Date.now(),Object(i.once)(document,"mouseup",s),clearInterval(r),r=setInterval(a,100))})}}},86:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["el-input-number",t.inputNumberSize?"el-input-number--"+t.inputNumberSize:"",{"is-disabled":t.inputNumberDisabled},{"is-without-controls":!t.controls},{"is-controls-right":t.controlsAtRight}],on:{dragstart:function(t){t.preventDefault()}}},[t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":t.minDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.decrease(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-down":"minus")})]):t._e(),t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":t.maxDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.increase(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-up":"plus")})]):t._e(),n("el-input",{ref:"input",attrs:{value:t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label},on:{blur:t.handleBlur,focus:t.handleFocus,input:t.handleInput,change:t.handleInputChange},nativeOn:{keydown:[function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?(e.preventDefault(),t.increase(e)):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?(e.preventDefault(),t.decrease(e)):null}]}})],1)};i._withStripped=!0;var r=n(10),o=n.n(r),a=n(22),s=n.n(a),l=n(30),c={name:"ElInputNumber",mixins:[s()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:l.a},components:{ElInput:o.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(t){return t>=0&&t===parseInt(t,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(t){var e=void 0===t?t:Number(t);if(void 0!==e){if(isNaN(e))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=this.toPrecision(e,this.precision))}e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),this.currentValue=e,this.userInput=null,this.$emit("input",e)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var t=this.value,e=this.step,n=this.getPrecision,i=this.precision,r=n(e);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(t),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var t=this.currentValue;if("number"==typeof t){if(this.stepStrictly){var e=this.getPrecision(this.step),n=Math.pow(10,e);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=t.toFixed(this.precision))}return t}},methods:{toPrecision:function(t,e){return void 0===e&&(e=this.numPrecision),parseFloat(Math.round(t*Math.pow(10,e))/Math.pow(10,e))},getPrecision:function(t){if(void 0===t)return 0;var e=t.toString(),n=e.indexOf("."),i=0;return-1!==n&&(i=e.length-n-1),i},_increase:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t+n*e)/n)},_decrease:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t-n*e)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var t=this.value||0,e=this._increase(t,this.step);this.setCurrentValue(e)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var t=this.value||0,e=this._decrease(t,this.step);this.setCurrentValue(e)}},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},setCurrentValue:function(t){var e=this.currentValue;"number"==typeof t&&void 0!==this.precision&&(t=this.toPrecision(t,this.precision)),t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),e!==t&&(this.userInput=null,this.$emit("input",t),this.$emit("change",t,e),this.currentValue=t)},handleInput:function(t){this.userInput=t},handleInputChange:function(t){var e=""===t?void 0:Number(t);isNaN(e)&&""!==t||this.setCurrentValue(e),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var t=this.$refs.input.$refs.input;t.setAttribute("role","spinbutton"),t.setAttribute("aria-valuemax",this.max),t.setAttribute("aria-valuemin",this.min),t.setAttribute("aria-valuenow",this.currentValue),t.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},u=n(0),h=Object(u.a)(c,i,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(t){t.component(d.name,d)};e.default=d}})},"1kS7":function(t,e){e.f=Object.getOwnPropertySymbols},"1oZe":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return{methods:{focus:function(){this.$refs[t].focus()}}}}},"21It":function(t,e,n){"use strict";var i=n("ydVi");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}},"2KxR":function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"2gBs":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var i in t)n.call(t,i)&&e.push(i);return e}},"2kvA":function(t,e,n){"use strict";e.__esModule=!0,e.isInContainer=e.getScrollContainer=e.isScroll=e.getStyle=e.once=e.off=e.on=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.hasClass=f,e.addClass=function(t,e){if(!t)return;for(var n=t.className,i=(e||"").split(" "),r=0,o=i.length;r-1}var g=e.getStyle=c<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var m=e.isScroll=function(t,e){if(!a)return g(t,null!==e&&void 0!==e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.topi.top&&n.right>i.left&&n.leftparseInt(n.userAgent.split("Firefox/")[1],10),n.hasTouch=!!n.win.TouchEvent,n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){var t=!1;if(!n.isMS){var e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e}),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(t){function e(n,i,r,o){var a=i?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var u="";s&&(c+="?"),m(o,function(t,e){u+="\n - ".concat(e,": ").concat(t),s&&(c+=encodeURI(e)+"="+encodeURI(t))}),c+=u}y(t,"displayError",{chart:r,code:n,message:c,params:o},function(){if(i)throw Error(c);_.console&&-1===e.messages.indexOf(c)&&console.warn(c)}),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function i(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]e?t=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(_.getComputedStyle||e(27,!0),r=_.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);d(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},isArray:r,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:i,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),m(e,function(n,r){"__proto__"!==r&&"constructor"!==r&&(!o(n,!0)||s(n)||a(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))}),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t=n&&(e=[1/n]))),i=0;i=t||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return g(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(_.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(_.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:d,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:v,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var n,i,r=t.length;for(i=0;i>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=e.parsers.length;r--&&!n;){var o=e.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=i(e);return o.stops=[].slice.call(o.stops),this.stops.forEach(function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]}),o}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?"".concat(r[3]):"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(n(t)&&0!==t)for(var i=0;3>i;i++)e[i]+=r(255*t),0>e[i]&&(e[i]=0),255h?"AM":"PM",P:12>h?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(a,n):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=h(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,r){var a,s=this,l=[],c={},h=new s.Date(e),p=t.unitRange,f=t.count||1;if(r=u(r,1),i(e)){if(s.set("Milliseconds",h,p>=d.second?0:f*Math.floor(s.get("Milliseconds",h)/f)),p>=d.second&&s.set("Seconds",h,p>=d.minute?0:f*Math.floor(s.get("Seconds",h)/f)),p>=d.minute&&s.set("Minutes",h,p>=d.hour?0:f*Math.floor(s.get("Minutes",h)/f)),p>=d.hour&&s.set("Hours",h,p>=d.day?0:f*Math.floor(s.get("Hours",h)/f)),p>=d.day&&s.set("Date",h,p>=d.month?1:Math.max(1,f*Math.floor(s.get("Date",h)/f))),p>=d.month){s.set("Month",h,p>=d.year?0:f*Math.floor(s.get("Month",h)/f));var g=s.get("FullYear",h)}p>=d.year&&s.set("FullYear",h,g-g%f),p===d.week&&(g=s.get("Day",h),s.set("Date",h,s.get("Date",h)-g+r+(g4*d.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=h.getTime(),h=1;el.length&&l.forEach(function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")})}return l.info=o(t,{higherRanks:c,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in d){if(t===d.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(d[s]>t){s=a;break}if(o[s]&&r.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(i[s]).main},e}()}),e(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o){e=e.parse;var a=o.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}}),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e,n){var i=t.parse,r=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,i=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var r=0;r=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,function(t){!0!==t&&(l=!1)}),l&&r&&r.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function i(t,e){for(;t.lengthu[1]){var d=e+ +u[1];0<=d?(u[0]=(+u[0]).toExponential(d).split("e")[0],e=d):(u[0]=u[0].split(".")[0]||0,t=20>e?(u[0]*Math.pow(10,u[1])).toFixed(e):0,u[1]=0)}}else e=2;d=(Math.abs(u[1]?u[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var p=3<(c=String(l(d))).length?c.length%3:0;return n=s(n,o.decimalPoint),r=s(r,o.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+r:""),t=0>+u[1]&&!h?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=n+d.slice(-e)),u[1]&&0!=+t&&(t+="e"+u[1]),t}var i=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,h=i.lang,d=a&&a.time||r;a=a&&a.numberFormatter||n;for(var p=[];t;){var f=t.indexOf(s);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),s=o(g.shift()||"",e),g.length&&"number"==typeof s)if(g=g.join(":"),c.test(g)){var m=parseInt((g.match(u)||["","-1"])[1],10);null!==s&&(s=a(s,m,h.decimalPoint,-1c){for(r(e,u),f=s=0;f<=c;)f+=e[s].size,s++;p=e.splice(s-1,e.length)}for(r(e,h),e=e.map(function(t){return{size:t.size,targets:[t.target],align:i(t.align,.5)}});d;){for(s=e.length;s--;)c=e[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,o-c.size);for(s=e.length,d=!1;s--;)0e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),d=!0)}return l.push.apply(l,p),s=0,e.some(function(e){var n=0;return(e.targets||[]).some(function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach(function(t){return delete t.pos}),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)})}),r(l,h),l}}(e||(e={})),e}),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e,n,i,r){var o=t.animate,a=t.animObject,s=t.stop,l=i.deg2rad,c=i.doc,u=i.noop,h=i.svg,d=i.SVG_NS,p=i.win,f=r.addEvent,g=r.attr,m=r.createElement,v=r.css,y=r.defined,b=r.erase,x=r.extend,_=r.fireEvent,w=r.isArray,C=r.isFunction,S=r.isNumber,k=r.isString,O=r.merge,M=r.objectEach,T=r.pick,D=r.pInt,A=r.syncTimeout,I=r.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=T(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===n.indexOf(e)&&t.push(e),t},n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var i,r,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||k(n))&&(this.alignTo=i=n||"renderer",b(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=T(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s),i=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===i?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(t.width||0))/r),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var i=this,r=a(T(e,this.renderer.globalAnimation,!0));return e=r.defer,T(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),A(function(){i.element&&o(i,t,r)},e)):(this.attr(t,void 0,n||r.complete),M(t,function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&i.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*Number(e)+n}),this.removeTextOutline();var r=c.createElementNS(d,"tspan");g(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),r.appendChild(e)});var o=c.createElementNS(d,"tspan");o.textContent="​",["x","y"].forEach(function(t){var n=e.getAttribute(t);n&&o.setAttribute(t,n)}),r.appendChild(o),e.insertBefore(r,e.firstChild)}},t.prototype.attr=function(t,e,n,i){var r,o,a,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"==typeof t&&void 0!==e){var h=t;(t={})[h]=e}return"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(M(t,function(e,n){o=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))},this),this.afterSetters()),n&&n.call(this),u},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),y(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,i){var r,o,a,s,l,c,u,h,d,p,f,g=this.renderer,m=[];_(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=g.gradients,c=t.stops,d=i.radialReference,w(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!y(a.gradientUnits)&&(s=a,a=O(a,g.getRadialAttr(d,s),{gradientUnits:"userSpaceOnUse"})),M(a,function(t,e){"id"!==e&&m.push(e,t)}),M(c,function(t){m.push(t)}),m=m.join(","),l[m])p=l[m].attr("id");else{a.id=p=I();var v=l[m]=g.createElement(o).attr(a).add(g.defs);v.radAttr=s,v.stops=[],c.forEach(function(t){0===t[1].indexOf("rgba")?(r=n.parse(t[1]),u=r.get("rgb"),h=r.get("a")):(u=t[1],h=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":h}).add(v),v.stops.push(t)})}f="url("+g.url+"#"+p+")",i.setAttribute(e,f),i.gradient=m,t.toString=function(){return f}}})},t.prototype.css=function(t){var e=this.styles,n={},i=this.element,r=!e;if(t.color&&(t.fill=t.color),e&&M(t,function(t,i){e&&e[i]!==t&&(n[i]=t,r=!0)}),r){if(e&&(t=x(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&t.width)var o=this.textWidth=D(t.width);this.styles=t,o&&!h&&this.renderer.forExport&&delete t.width;var a=O(t);i.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return a&&delete a[t]}),v(i,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+D(n[t])*T(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,i=e.ownerSVGElement,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&i){var o=t.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1d.width)&&(d={x:0,y:0,width:0,height:0})}else d=this.htmlGetBBox();if(o.isSVG&&(o=d.width,e=d.height,h&&(d.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){h=Number(r.getAttribute("y")||0)-d.y,i={right:1,center:.5}[i||0]||0,a=n*l,p=(n-90)*l;var m=o*Math.cos(a);n=o*Math.sin(a),g=Math.cos(p),a=Math.sin(p),m=(g=(p=(o=d.x+i*(o-m)+h*g)+m)-e*g)-m,n=(e=(i=(h=d.y+h-i*n+h*a)+n)-e*a)-n,d.x=Math.min(o,p,g,m),d.y=Math.min(h,i,e,n),d.width=Math.max(o,p,g,m)-d.x,d.height=Math.max(h,i,e,n)-d.y}if(f&&(""===s||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,i=this.rotation,r=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],y(r)&&a.push("matrix("+r.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):i&&a.push("rotate("+i+" "+T(this.rotationOriginX,o.getAttribute("x"),0)+" "+T(this.rotationOriginY,o.getAttribute("y")||0)+")"),(y(t)||y(e))&&a.push("scale("+T(t,1)+" "+T(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element;n=r===n.box;var a,s=!1,l=this.added;if(y(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):y(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!s;a--){l=(i=e[a]).getAttribute("data-z-index");var c=!y(l);i!==o&&(0>t&&c&&!n&&!a?(r.insertBefore(o,e[a]),s=!0):(D(l)<=t||c&&(!y(t)||0<=t))&&(r.insertBefore(o,e[a+1]||null),s=!0))}s||(r.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(i,r,o){e.rendererTypes[i]=r,n&&!o||(n=i,t.Renderer=r)}}(e||(e={})),e}),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,i,r,o,a,s,l,u,h){var d,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=i,p.y=r,p.anchorX=a,p.anchorY=s,p.baseline=u,p.className=h,p.addClass("button"===h?"highcharts-no-tooltip":"highcharts-label"),h&&p.addClass("highcharts-"+h),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((d=/^url\((.*?)\)$/.test(o))||p.renderer.symbols[o])&&(p.symbolKey=o),p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||d,p.deferredAttr={},p.alignFactor=0,p}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach(function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])}),this.text.css(n);var i="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():i&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:i(t)?t:"",x:this.x,y:this.y}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),e.x=n,e.y=(this.baseline?-this.baselineOffset:0)+n,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)}),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],function(t){function e(t,e,n,i,o){var s=[];if(o){var l=o.start||0,c=a(o.r,n);n=a(o.r,i||n);var u=(o.end||0)-.001;i=o.innerR;var h=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),d=Math.cos(l),p=Math.sin(l),f=Math.cos(u),g=Math.sin(u);l=a(o.longArc,.001>u-l-Math.PI?0:1),s.push(["M",t+c*d,e+n*p],["A",c,n,0,l,a(o.clockwise,1),t+c*f,e+n*g]),r(i)&&s.push(h?["M",t+i*f,e+i*g]:["L",t+i*f,e+i*g],["A",i,i,0,l,r(o.clockwise)?1-o.clockwise:0,t+i*d,e+i*p]),h||s.push(["Z"])}return s}function n(t,e,n,r,o){return o&&o.r?i(t,e,n,r,o):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function i(t,e,n,i,r){return[["M",t+(r=r&&r.r||0),e],["L",t+n-r,e],["C",t+n,e,t+n,e,t+n,e+r],["L",t+n,e+i-r],["C",t+n,e+i,t+n,e+i,t+n-r,e+i],["L",t+r,e+i],["C",t,e+i,t,e+i,t,e+i-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,r,a){var s=Math.min(a&&a.r||0,n,r),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var u=i(t,e,n,r,{r:s});return o(c)?(t+c>=n?a>e+l&&a=t+c?a>e+l&&ar&&c>t+l&&ca&&c>t+l&&c/g.test(o))?""!==o&&(r&&r.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(o))),l(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),function(t,i){t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))});var l=this.width||0;if(l){var c=function(t,o){var c=t.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),h=!e.noWrap&&(1r){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(a=o(n,p)),g=f(p,a&&a.length-1),h===d?h=d+1:g>r?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=a||o(e||n,p))}n&&n.splice(0,p),s.actualWidth=g,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))}),t},e}()}),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o,a,s,l){var c,u=n.charts,h=n.deg2rad,d=n.doc,p=n.isFirefox,f=n.isMS,g=n.isWebKit,m=n.noop,v=n.SVG_NS,y=n.symbolSizes,b=n.win,x=l.addEvent,_=l.attr,w=l.createElement,C=l.css,S=l.defined,k=l.destroyObjectProperties,O=l.extend,M=l.isArray,T=l.isNumber,D=l.isObject,A=l.isString,I=l.merge,E=l.pick,P=l.pInt,L=l.uniqueKey;return n=function(){function n(t,e,n,i,r,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,i,r,o,a)}return n.prototype.init=function(t,e,n,i,r,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(i)),t.appendChild(c),_(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&_(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 10.2.0")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){C(t,{left:0,top:0}),s=t.getBoundingClientRect(),C(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(b,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||g)&&d.getElementsByTagName("base").length){if(!S(c)){var e=L();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(d.body),C(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=d.elementFromPoint(6,6);c="hitme"===(n&&n.id),d.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=O({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/((t=.2126*(t=e.parse(t).rgba.map(function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,i,r,o,a,s,l,c,u){void 0===o&&(o={});var h=this.label(e,n,i,c,void 0,void 0,u,void 0,"button"),d=this.styledMode;e=o.states||{};var p=0;delete(o=I(o)).states;var g=I({color:"#333333",cursor:"pointer",fontWeight:"normal"},o.style);delete o.style;var m=t.filterUserAttributes(o);if(h.attr(I({padding:8,r:2},m)),!d){m=I({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},m);var v=(a=I(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var y=(s=I(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var b=(l=I(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(h.element,f?"mouseover":"mouseenter",function(){3!==p&&h.setState(1)}),x(h.element,f?"mouseout":"mouseleave",function(){3!==p&&h.setState(p)}),h.setState=function(t){1!==t&&(h.state=p=t),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),d||(h.attr([m,a,s,l][t||0]),D(t=[g,v,y,b][t||0])&&h.css(t))},d||h.attr(m).css(O({cursor:"default"},g)),h.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==p&&r.call(h,t)})},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var i=t[0],r=t[1];return S(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-e%2/2),S(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:D(t)&&O(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=D(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,i,r,o){return D(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},n.prototype.rect=function(t,e,n,i,r,o){r=D(t)?t.r:r;var a=this.createElement("rect");return t=D(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,n){a.r=t,_(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,i,r,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};T(e)&&(a.x=e),T(n)&&(a.y=n),T(i)&&(a.width=i),T(r)&&(a.height=r);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new b.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,i,r,o){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),h=!c&&(this.symbols[t]?t:"circle"),p=h&&this.symbols[h];if(p){"number"==typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),i||0,r||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),O(f,{symbolName:h||void 0,x:e,y:n,width:i,height:r}),o&&O(f,o)}else if(c){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=E(y[g]&&y[g].width,o&&o.width),m.imgheight=E(y[g]&&y[g].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach(function(t){m[t+"Setter"]=function(t,e){var n=this["img"+e];this[e]=t,S(n)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,n),this.alignByTranslate||(t=((this[e]||0)-n)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),S(e)&&m.attr({x:e,y:n}),m.isImg=!0,S(m.imgwidth)&&S(m.imgheight)?v(m):(m.attr({width:0,height:0}),w("img",{onload:function(){var t=u[s.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),d.body.appendChild(this)),y[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(m),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,i){var r=L()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),n&&(r.y=Math.round(n)),S(t)&&(r.text=t),t=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a(t=/px/.test(t)?P(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:i}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r":">","'":"'",'"':"""},symbols:a,draw:m}),i.registerRendererType("svg",n,!0),n}),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,u=n.extend,h=n.pick,d=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,i=t.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=h(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var i=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=u(this.styles,t),l(this.element,t),i&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],u=this.styles;if(u=u&&u.whiteSpace,l(e,{marginLeft:n,marginTop:i}),!t.styledMode&&this.shadows&&this.shadows.forEach(function(t){l(t,{marginLeft:n+1,marginTop:i+1})}),this.inverted&&[].forEach.call(e.childNodes,function(n){t.invertChild(n,e)}),"SPAN"===e.tagName){var h=this.rotation,p=this.textWidth&&d(this.textWidth),f=[h,a,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,p!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(e,{width:"",whiteSpace:u||"nowrap"}),m=e.offsetWidth;(p>this.oldTextWidth||m>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:m>p||h?p+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=p,g=!0)}this.hasBoxWidthChanged=g,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!c(h)||h===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(h,s,g),this.getSpanCorrection(!c(h)&&this.textPxLength||e.offsetWidth,g,s,h,a)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=h,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var i={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;c&&(i[c]=i.transform="rotate("+t+"deg)",i[c+(r?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",l(this.element,i))},e.composedClasses=[],e}(e)}),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.attr,a=i.createElement,s=i.extend,l=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.compose=function(t){return-1===i.composedClasses.indexOf(t)&&(i.composedClasses.push(t),t.prototype.html=i.prototype.html),t},i.prototype.html=function(n,i,r){var c=this.createElement("span"),u=c.element,h=c.renderer,d=h.isSVG,p=function(t,n){["opacity","visibility"].forEach(function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}}),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},d&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),h.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,d&&(c.add=function(t){var e=h.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach(function(t){function r(e,n){t[n]=e,"translateX"===n?h.left=e+"px":h.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),u=t.styles||{},h=(i=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:t.visibility},i||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||p(t)})}}else i=e;return i.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},i.composedClasses=[],i}(n)}),e(n,"Core/Axis/AxisDefaults.js",[],function(){var t,e;return(e=t||(t={})).defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t}),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],function(t){var e,n=t.addEvent,i=t.isFunction,r=t.objectEach,o=t.removeEvent;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e)))})},e}),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e,n){var i=e.deg2rad,r=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,h=n.merge,d=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,i=n.options,r=n.chart,s=n.categories,h=n.logarithmic,d=n.names,f=e.pos,g=p(e.options&&e.options.labels,i.labels),m=n.tickPositions,v=f===m[0],y=f===m[m.length-1],b=(!g.step||1===g.step)&&1===n.tickInterval;m=m.info;var x,_=e.label;if(s=this.parameters.category||(s?p(s[f],d[f],f):f),h&&u(s)&&(s=o(h.lin2log(s))),n.dateTime)if(m)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&m.higherRanks[f]||m.unitName]),C=w.main;else u(s)&&(C=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=y;var S={axis:n,chart:r,dateTimeLabelFormat:C,isFirst:v,isLast:y,pos:f,tick:e,tickPositionInfo:m,value:s};c(this,"labelFormat",S);var k=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=n.defaultLabelFormatter.call(e),t.format(g.format,e,r)):n.defaultLabelFormatter.call(e,e)};i=k.call(S,S);var O=w&&w.list;e.shortenLabel=O?function(){for(x=0;xu&&r-h*da&&(l=Math.round((o-r)/Math.cos(u*i))):(o=r+(1-h)*d,r-h*da&&(m=a-t.x+m*h,v=-1),(m=Math.min(f,m))m||e.autoRotation&&(c.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(g.textOverflow="ellipsis"),c.css(g)))},e.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=n.axis,o=r.reversed,a=!1;if(i&&i.textStr===t?(n.movedLabel=i,a=!0,delete n.label):d(r.ticks,function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)}),!a&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,n.movedLabel=n.createLabel({x:i,y:r},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var s=o.y;i=r&&a===i.pos+i.len||!r&&s===i.pos?-1:1,r=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,r,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,u=this.gridLine,h=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(h=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),u||(i.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),u&&(n=i.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*n,force:"pass",old:t}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=i.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=p(r["minor"!==a?"tickWidth":"minorTickWidth"],!a&&i.isXAxis?1:0);r=r["minor"!==a?"tickColor":"minorTickColor"];var u=this.mark,h=!u;s&&(i.opposite&&(s[0]=-s[0]),u||(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||u.attr({stroke:r,"stroke-width":c})),u[h?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],u.strokeWidth()*n,i.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,c=l.step;r=p(this.tickmarkOffset,r.tickmarkOffset);var h=t.x;t=t.y;var d=!0;s&&u(h)&&(s.xy=t=this.getLabelPosition(h,t,s,o,l,r,i,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?d=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(d=!1),d&&u(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()}),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o,a,s){var l=t.animObject,c=i.defaultOptions,u=r.registerEventOptions,h=o.deg2rad,d=s.arrayMax,p=s.arrayMin,f=s.clamp,g=s.correctFloat,m=s.defined,v=s.destroyObjectProperties,y=s.erase,b=s.error,x=s.extend,_=s.fireEvent,w=s.isArray,C=s.isNumber,S=s.isString,k=s.merge,O=s.normalizeTickInterval,M=s.objectEach,T=s.pick,D=s.relativeLength,A=s.removeEvent,I=s.splat,E=s.syncTimeout,P=function(t,e){return O(e,void 0,void 0,T(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),_(this,"init",{userOptions:e}),this.opposite=T(e.opposite,this.opposite),this.side=T(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var i=this.options,r=i.labels,o=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=T(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===o||!0===i.categories,this.categories=i.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=T(i.crosshair,I(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=C(r.rotation)?r.rotation:void 0,u(this,i),_(this,"afterInit")},t.prototype.setOptions=function(t){this.options=k(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],k(c[this.coll],t)),_(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=C(this.value)?this.value:NaN,i=e.chart.time,r=this.dateTimeLabelFormat,o=c.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var u="".concat(this.value);else if(r)u=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===u;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(u=t(n/e,-1)+a[l]);return void 0===u&&(u=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),u},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;_(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach(function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;C(a)||a instanceof Date||(r=r.filter(C),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min(T(e.dataMin,a),a),e.dataMax=Math.max(T(e.dataMax,s),s))}}else i=i.applyExtremes(),C(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min(T(e.dataMin,a),a)),C(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max(T(e.dataMax,s),s)),m(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),_(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=i&&a.old?a.old.min:a.min;if(!C(s))return NaN;var l=a.minPixelPadding;r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val;var c=1,u=0;return(i=i&&a.old?a.old.transA:a.transA)||(i=a.transA),n&&(c*=-1,u=a.len),a.reversed&&(u-=(c*=-1)*(a.sector||a.len)),e?(o=(t*c+u-l)/i+s,r&&(o=a.lin2val(o))):(r&&(t=a.val2lin(t)),t=c*(t-s)*i,o=(a.isRadial?t:g(t))+u+c*l+(C(o)?i*o:0)),o},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==b&&tn)&&(b?t=f(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,c=s.left,u=s.top,h=t.old,d=t.value,p=t.lineWidth,g=h&&l.oldChartHeight||l.chartHeight,m=h&&l.oldChartWidth||l.chartWidth,v=s.transB,y=t.translatedValue,b=t.force;return t={value:d,lineWidth:p,old:h,force:b,acrossPanes:t.acrossPanes,translatedValue:y},_(this,"getPlotLinePath",t,function(t){y=T(y,s.translate(d,void 0,void 0,h)),y=f(y,-1e5,1e5),n=r=Math.round(y+v),i=o=Math.round(g-y-v),C(y)?s.horiz?(i=u,o=g-s.bottom,n=r=e(n,c,c+s.width)):(n=c,r=m-s.right,i=o=e(i,u,u+s.height)):(a=!0,b=!1),t.path=a&&!b?null:l.renderer.crispLine([["M",n,i],["L",r,o]],p||1)}),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=g(Math.floor(e/t)*t);n=g(Math.ceil(n/t)*t);var r,o=[];if(g(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=g(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?T(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r,a=[];if(o&&o/n=this.minRange,u=this.minRange,h=(u-s+a)/2;h=[a-h,T(r.min,a-h)],c&&(h[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=d(h))+u,T(r.max,a+u)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=p(s))-a=d)v=d,u=0;else if(this.dataMax<=d){var y=d;c=0}this.min=T(p,v,this.dataMin),this.max=T(f,y,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,T(this.dataMin,this.min))&&b(10,1,e),this.min=g(n.log2lin(this.min),16),this.max=g(n.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),_(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&m(this.min)&&m(this.max)&&(e=this.max-this.min)&&(!m(p)&&u&&(this.min-=e*u),!m(f)&&c&&(this.max+=e*c)),C(this.userMin)||(C(i.softMin)&&i.softMinthis.max&&(this.max=f=i.softMax),C(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&m(this.dataMin)&&(d=d||0,!m(p)&&this.min=d?this.min=this.options.minRange?Math.min(d,this.max-this.minRange):d:!m(f)&&this.max>d&&this.dataMax<=d&&(this.max=this.options.minRange?Math.max(d,this.min+this.minRange):d)),C(this.min)&&C(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!h&&a===this.linkedParent.options.tickPixelInterval?h=this.linkedParent.tickInterval:T(h,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),r&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)}),_(this,"postProcessData",{hasExtemesChanged:x})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!h&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=T(i.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!h&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)n=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)n=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var a=t=this.tickInterval;a<=2*t&&(n=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&n.length>this.tickAmount);)this.tickInterval=P(this,a*=1.1);else n=[this.min,this.max],b(19,!1,this.chart);n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max]))&&(this.tickPositions=n=r)}this.paddedTicks=n.slice(0),this.trimTicks(n,o,i),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),_(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+on&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,i=t.min,r=t.options,o=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=o&&o.length,c=T(t.threshold,t.softThreshold?0:null),u=t.tickInterval;if(C(s)){var h=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));r.reversed&&(h=a-1-h)}if(t.hasData()&&C(i)&&C(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=r.startOnTick?o[0]:Math.min(i,o[0]),t.max=r.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])},C(h)&&C(t.threshold)){for(;o[h]!==c||o.length!==a||o[0]>i||o[o.length-1]t.threshold?o.unshift(g(o[0]-u)):o.push(g(o[o.length-1]+u));if(u>8*t.tickInterval)break;u*=2}s()}else if(l=e&&0s&&(e=s)),m(r)&&(os&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0}),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(D(T(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(D(T(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(D(T(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(D(T(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?g(t.lin2log(this.min)):this.min,max:t?g(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:ee?t.align="right":195e&&(t.align="left")}),t.align},t.prototype.tickSize=function(t){var e=this.options,n=T(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=e["tick"===t?"tickLength":"minorTickLength"];if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return _(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n=this.options.labels,i=this.horiz,r=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/r),a=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(o||1);return(e=1l&&1/0!==t&&1/0!==o&&l&&(e=Math.ceil(l/r)),g(e*r)},u=r,d=Number.MAX_VALUE;if(i){if(!n.staggerLines&&!n.step)if(C(a))var p=[a];else o=n){var i=(e=c(Math.abs(s.h/Math.sin(h*n))))+Math.abs(n/360);ii.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(t=i.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},u=this.labelMetrics(),h=o.textOverflow,d=0;if(S(r.rotation)||(c.rotation=r.rotation||0),n.forEach(function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>d&&(d=t.label.textPxLength)}),this.maxLabelLength=d,this.autoRotation)d>l&&d>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!h){var f="clip";for(l=n.length;!a&&l--;){var g=n[l];(g=i[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(u.h-u.f)&&(g.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=d>.5*t.chartHeight?.33*t.chartHeight:d,h||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach(function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==o.whiteSpace&&(p=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new a(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,i=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,h=n.axisTitle,d=n.ticks,p=n.minorTicks,f=n.alternateBands,g=s.stackLabels,m=s.alternateGridColor,v=n.tickmarkOffset,y=n.axisLine,b=n.showAxis,x=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[d,p,f].forEach(function(t){M(t,function(t){t.isActive=!1})}),n.hasData()||c){var w=n.chart.hasRendered&&n.old&&C(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach(function(t){n.renderMinorTick(t,w)}),u.length&&(u.forEach(function(t,e){n.renderTick(t,e,w)}),v&&(0===n.min||n.single)&&(d[-1]||(d[-1]=new a(n,-1,null,!0)),d[-1].render(-1))),m&&u.forEach(function(a,s){e=void 0!==u[s+1]?u[s+1]+v:n.max-v,0==s%2&&ae&&(!o||l<=n)&&void 0!==l&&c.push(l),l>n&&(d=!0),l=f}}}else e=this.lin2log(e),n=this.lin2log(n),t=o?a.getMinorTickInterval():l.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(n-e)/((o?s/a.tickPositions.length:s)||1)),t=i(t),c=a.getLinearTickPositions(t,e,n).map(this.log2lin),o||(this.minorAutoInterval=t/5);return o||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e}),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],function(t){var e,n=t.erase,i=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),i(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&i){if(e){var s=t.toString()===i.toString();n=0}for(e=0;ev-l?v:v-l);else{if(!g)return!1;s[t]=Math.max(a,r+l+n>e?r:r+l)}}.apply(0,f)?!1!==function(t,e,n,i,r){var a;return re-o?a=!1:s[t]=re-i/2?e-i-2:r-n/2,a}.apply(0,g)||i||(v(!0),y()):i?s.x=s.y=0:(v(!0),y())};return(r.inverted||1e})&&(t=t.map(function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})})),i.cleanSplit(),s(t,P);var L=A,j=A;t.forEach(function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(i.outside&&A+ej&&(j=A+e))}),t.forEach(function(t){var e=t.x,n=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:r+I,anchorX:n,anchorY:t.anchorY},i.outside&&en[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,i=n.tooltipOptions,r=n.xAxis,a=r&&r.dateTime;r={isFooter:e,labelConfig:t};var s=i.xDateFormat,l=i[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",r,function(e){a&&!s&&m(t.key)&&(s=a.getXDateFormat(t.key,i.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")}),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)}),r.text},t.prototype.update=function(t){this.destroy(),y(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,y(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,i=e.pointer,r=this.getLabel();i=i.getChartPosition();var o=(n.positioner||this.getPosition).call(this,r.width,r.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(r.width+n,r.height+n,!1),1===i.scaleX&&1===i.scaleY||(u(this.container,{transform:"scale(".concat(i.scaleX,", ").concat(i.scaleY,")")}),a*=i.scaleX,t*=i.scaleY),a+=i.left-o.x,t+=i.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()}),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],function(t,e,n,i,r){var o=e.animObject,a=n.defaultOptions,s=i.format,l=r.addEvent,c=r.defined,u=r.erase,h=r.extend,d=r.fireEvent,p=r.getNestedProperty,f=r.isArray,g=r.isFunction,m=r.isNumber,v=r.isObject,y=r.merge,b=r.objectEach,x=r.pick,_=r.syncTimeout,w=r.removeEvent,C=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach(function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)}),n.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})},e.prototype.applyOptions=function(t,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return t=e.prototype.optionsToObject.call(this,t),h(this,t),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!m(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:m(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[r]=null}var e=this,n=e.series,i=n.chart;n=n.options.dataSorting;var r,a=i.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),a&&(e.setState(),u(a,e),a.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),_(t,s.duration)):t(),i.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach(function(t){e[t]=e[t].destroy()}),t.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.destroy()}),delete e[t]})},e.prototype.firePointEvent=function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&i.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(i,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,i=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelUpper","connector"),e=i.length;e--;){var o=i[e];n[o]&&r.singular.push(o)}return["dataLabel","connector"].forEach(function(e){var i=e+"s";t[e]&&n[i]&&r.plural.push(i)}),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,i=0;for(n=e[i];this[t]>=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a={},s=0,l=0;if(m(t)||null===t)a[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);la+l&&(f=a+l),ms+c&&(m=s+c),this.hasDragged=Math.sqrt(Math.pow(u-f,2)+Math.pow(h-m,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=g(t,!0)&&t.series)&&!(r=!g(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)}),i)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=t.shapeArgs;if(i&&n){var o=y(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,a=r.y),e?{chartX:n.len+n.pos-a,chartY:i.len+i.pos-o}:{chartX:o+i.pos,chartY:a+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2g.max&&(n=g.max-b,S=!0);S?(w-=.8*(w-a[c][0]),"number"==typeof C&&(C-=.8*(C-a[c][1])),e()):a[c]=[w,C],f||(o[c]=x-p,o[d]=b),o=f?1/_:_,r[d]=b,r[c]=n,i[f?t?"scaleY":"scaleX":"scale"+u]=_,i["translate"+u]=o*p+(w-o*v)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&b(s).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?a&&s&&b(s).length&&(a.refresh(s),a.shared&&o?o.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),n.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&o.forEach(function(t){t.setState()}),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var i=this.chart,r=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!r&&r.shared,l=n||i.hoverPoint,c=l&&l.series||i.hoverSeries;n=this.getHoverData(l,c,i.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e),l=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var h=a&&c&&!c.noSharedTooltip;if(l&&(l!==i.hoverPoint||r&&r.isHidden)){if((i.hoverPoints||[]).forEach(function(t){-1===u.indexOf(t)&&t.setState()}),i.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach(function(t){t.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=u,i.hoverPoint=l,l.firePointEvent("mouseOver",void 0,function(){r&&l&&r.refresh(h?u:l,e)})}else n&&r&&!r.isHidden&&(a=r.getAnchor([{}],e),i.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(i.container.ownerDocument,"mousemove",function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)}),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(t){var n,r=y((t.crosshair||{}).snap,!0);r&&((n=i.hoverPoint)&&n.series[t.coll]===t||(n=d(u,function(e){return e.series&&e.series[t.coll]===t}))),n||!r?t.drawCrosshair(e,n):t.hideCrosshair()})},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach(function(i){var r=t||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(e?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))}),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",function(){delete n.chartPosition})),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,i=e.charts[y(t.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:n.container}),i&&i.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));y(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var i=n.zoomType||"";/touch/.test(t.type)&&(i=y(n.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}()}),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],function(t,e,n){function i(){var t=[];return t.item=function(t){return this[t]},d(f,function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})}),t}function r(t,n,r,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:r,target:t.currentTarget,preventDefault:l,touches:i()}))}var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,u=n.addEvent,h=n.css,d=n.objectEach,p=n.removeEvent,f={},g=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(p),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&h(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},n.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)})},n.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",function(t){delete f[t.pointerId]})},n.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(e)}),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o){var a=t.animObject,s=t.setAnimation,l=e.format;t=n.isFirefox;var c=n.marginNames;n=n.win;var u=r.distribute,h=o.addEvent,d=o.createElement,p=o.css,f=o.defined,g=o.discardElement,m=o.find,v=o.fireEvent,y=o.isNumber,b=o.merge,x=o.pick,_=o.relativeLength,w=o.stableSort,C=o.syncTimeout;return r=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=h(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),o.attr(c))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,i=n.symbolPadding,r=!n.rtl,o=t._legendItemPos;n=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(i={translateX:r?n:this.legendWidth-n-2*i-4,translateY:o},r=function(){v(e,"afterPositionItem",{item:t})},f(s.translateY)?s.animate(i,void 0,r):(s.attr(i),r())),a&&(a.x=n,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),e&&g(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(e){["legendItem","legendGroup"].forEach(t,e)}),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach(function(r){var o=r.checkbox;if(o){var a=i+n+o.y+(this.scrollOffset||0)+3;p(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>i-6&&a1.5*n?e.height:n))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=i?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach(function(e){var n=e&&e.options;e&&x(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))}),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,a){o.test(r)&&!f(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+x(i.margin,12)+e[a]+(n.titleOffset[a]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach(function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=m(o?i.points:i.points.slice(0).reverse(),function(t){return y(t.plotY)})),o=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var a=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=a-.3*o):r=a+i.yAxis.height,e.push({target:r,size:o,item:i})}},this),u(e,t.plotHeight).forEach(function(e){e.item._legendItemPos&&e.pos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)})},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,i=this.padding,r=this.getAllItems(),o=this.group,a=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=_(n.width,t.spacingBox.width-i);var s=t.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(r,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o)),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0s&&!1!==h.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,g.forEach(function(t,i){var r=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=f.length;(!a||r-f[a-1]>e&&(n||r)!==f[a-1])&&(f.push(n||r),a++),t.pageIx=a-1,n&&(g[i-1].pageIx=a-1),i===g.length-1&&r+o-f[a-1]>e&&o<=e&&(f.push(r),t.pageIx=a),r!==n&&(n=r)}),b||(b=i.clipRect=o.clipRect(0,c,9999,0),i.contentGroup.clip(b)),m(e),y||(this.nav=y=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,p,p).add(y),v("upTracker").on("click",function(){i.scroll(-1,d)}),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),!r.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(y),this.down=o.symbol("triangle-down",0,0,p,p).add(y),v("downTracker").on("click",function(){i.scroll(1,d)})),i.scroll(0),t=s):y&&(m(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,i=this.chart,r=this.pages,o=r.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,h=this.padding,d=this.currentPage+t;d>o&&(d=o),0=Math.max(l+o,h.pos)&&s<=Math.min(l+o+r.width,h.pos+h.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(i=u&&(i?u.xAxis:u.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?i.pos+e:a+e)>=Math.max(c+a,i.pos)&&n<=Math.min(c+a+r.height,i.pos+i.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var h=n[t];if(h.options.stacking||h.options.centerInCategory){var d=!0;if(h.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(h=n[t]).options.stacking&&(h.isDirty=!0);n.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),u=!0):o&&(o.labelFormatter||o.labelFormat)&&(u=!0)),t.isDirtyData&&F(t,"updatedData")}),u&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(c=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push(function(){F(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(c||d)&&t.redraw()}),c&&this.drawChartBox(),F(this,"predraw"),n.forEach(function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),i&&i.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach(function(t){t.call()})},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,i=B(this.axes,e)||B(this.series,e),r=0;!i&&r=s&&r<=l||c||!P(r))&&(u=!0),i[c?"zoomX":"zoomY"]&&u&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))});var a=n.resetZoomButton;o&&!a?n.showResetZoom():!o&&H(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(q(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,i=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=n.options.chart;r&&r.panning&&(r.panning=e);var o,a=e.type;F(this,"pan",{originalEvent:t},function(){i&&i.forEach(function(t){t.setState()});var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var r={};e.forEach(function(e){if(e.options.panningEnabled&&!e.options.isInternal){var i=e.horiz,s=t[i?"chartX":"chartY"],l=n[i=i?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,h=e.getExtremes(),d=e.toValue(l-s,!0)+c*u,p=e.toValue(l+e.len-s,!0)-(c*u||e.isXAxis&&e.pointRangePadding||0),f=p=u&&d<=p&&(e.setExtremes(l,d,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&d!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),o=!0),r[i]=s)}}),U(r,function(t,e){n[e]=t}),o&&n.redraw(!1),E(n.container,{cursor:"move"})})},t}(),R(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t}),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],function(t){var e,n=t.merge,i=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,r=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},u=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&r&&(e=Math.min(i(u.radius,a),a),0===this.symbol.indexOf("url")&&(u=n(u,{width:o,height:o}),e=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-e,t-e,2*e,2*e,u).addClass("highcharts-point").add(l),r.isMarker=!0)},t.drawRectangle=function(t,e){var n=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-n)/2:0,t.baseline-n+1,r?n:t.symbolWidth,n,i(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e}),e(n,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o,a,s,l,c){var u=t.animObject,h=t.setAnimation,d=e.defaultOptions,p=n.registerEventOptions,f=i.hasTouch,g=i.svg,m=i.win,v=s.seriesTypes,y=c.addEvent,b=c.arrayMax,x=c.arrayMin,_=c.clamp,w=c.cleanRecursively,C=c.correctFloat,S=c.defined,k=c.erase,O=c.error,M=c.extend,T=c.find,D=c.fireEvent,A=c.getNestedProperty,I=c.isArray,E=c.isNumber,P=c.isString,L=c.merge,j=c.objectEach,N=c.pick,R=c.removeEvent,B=c.splat,F=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){D(this,"init",{options:e});var n=this,i=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),M(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach(function(t){n[t+"Data"]||(n[t+"Data"]=[])}),n.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=N(r&&r._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(i)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),D(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(E(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,i=e.chart;D(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){var o=0;i[r].forEach(function(i){t=i.options,(n[r]===o&&!t.isInternal||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0),t.isInternal||o++}),e[r]||e.optionalAxis===r||O(18,!0,i)})}),D(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,i=arguments,r=E(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?c-this.cropStart:c),!i&&E(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,u=t.length===s.length,h=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=i.x;i.id||E(h)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):s[i]&&t!==o.data[i]?(s[i].update(t,!1,null,!1),s[i].touched=!0,c&&(r=i+1)):s[i]&&(s[i].touched=!0),(!u||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)},this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!u||a&&a.enabled?h=!1:(t.forEach(function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)}),l.length=0);return s.forEach(function(t){t&&(t.touched=!1)}),!!h&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,i){var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,c=s.dataSorting,u=r.xAxis,h=s.turboThreshold,d=this.xData,p=this.yData,f=r.pointArrayMap;f=f&&f.length;var g,m=s.keys,v=0,y=1,b=null;if(!l.options.chart.allowMutatingData){s.data&&delete r.options.data,r.userOptions.data&&delete r.userOptions.data;var x=L(!0,t)}if(x=(t=x||t||[]).length,e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==i&&x&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(g=this.updateData(t,n)),!g){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach(function(t){r[t+"Data"].length=0}),h&&x>h)if(b=r.getFirstValidPoint(t),E(b))for(n=0;nt?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach(function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)}),e.setData(r,!1))}),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,i=n.cropThreshold,r=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,h=s.length;if(e){var d=(u=e.getExtremes()).min,p=u.max;u=!(!e.categories||e.names.length)}if(o&&this.sorted&&!r&&(!i||h>i||this.forceCrop))if(s[h-1]p)s=[],l=[];else if(this.yData&&(s[0]p)){var f=this.cropData(this.xData,this.yData,d,p);s=f.xData,l=f.yData,a=f.start,f=!0}for(i=s.length||1;--i;)if(0<(e=n?t(s[i])-t(s[i-1]):s[i]-s[i-1])&&(void 0===g||ee&&c&&!u&&(O(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:g}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,D(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=N(r,this.cropShoulder),o=0;o=n){s=Math.max(0,o-r);break}for(n=o;ni){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var u,h,d=this.data;if(!d&&!s){var p=[];p.length=e.length,d=this.data=p}for(l&&s&&(this.options.keys=!1),h=0;h=l&&(r[s-a]||p)<=c,f&&p)if(f=d.length)for(;f--;)E(d[f])&&(o[u++]=d[f]);else o[u++]=d}return t={activeYData:o,dataMin:x(o),dataMax:b(o)},D(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,i=null;null===i&&n=w&&(w=null),m.total=m.stackTotal=y.total,m.percentage=y.total&&m.y/y.total*100,m.stackY=x,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0)),m.yBottom=S(w)?_(s.translate(w,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,t)),m.plotY=void 0,E(x)&&(void 0!==(y=s.translate(x,!1,!0,!1,!0))&&(m.plotY=_(y,-1e5,1e5))),m.isInside=this.isPointInside(m),m.clientX=h?C(r.translate(v,0,0,0,1,u)):e,m.negative=m[f]<(n[f+"Threshold"]||d||0),m.category=N(o&&o[m.x],m.x),!m.isNull&&!1!==m.visible){void 0!==M&&(g=Math.min(g,Math.abs(e-M)));var M=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&a&&(m.isNew=!0)}this.closestPointRangePx=g,D(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var i=this.chart;return(t||this.points||[]).filter(function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,{inverted:i.inverted}))&&(!1!==t.visible&&(n||!t.isNull))})},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,i=L(t.clipBox);return e&&e.len!==t.plotSizeX&&(i.width=e.len),n&&n.len!==t.plotSizeY&&(i.height=n.len),i},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,i=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),a=i[o];a?a.animate(r):i[o]=a=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,i=this.markerGroup,r=e.inverted,o=u(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:r?(e.plotSizeX||0)+99:-99,y:r?-e.plotLeft:-e.plotTop,width:99,height:r?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=o.step;i&&i.element.childNodes.length&&(o.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),j(this.chart.sharedClips,function(e,n,i){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete i[n])}),this.finishedAnimating=!0,D(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,n=this.points,i=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(r.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;tw.max,l.resetZones&&0===e&&(e=void 0)}),this.clips=d}else l.visible&&(p&&p.show(),f&&f.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach(function(e){n[e]&&(i.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))})}var n=this,i=n.chart;n.xAxis&&(n.eventsToUnbind.push(y(i,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,i=u(n.animation),r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?i.duration:0,D(this,"render");var c=t.plotGroup("group","series",r,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&i.defer&&(e+=i.defer),t.animationTimeout=F(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,D(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(i&&i.left,t.plotLeft),translateY:N(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,n=-1(u=e[u]-c[u])?"left":"right",d=0>u?"right":"left",n[p]&&(h=(p=t(e,n[p],s+1,l))[a]p;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[p]=d.name),u.splice(f,0,t),(c||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),u.shift())),!1!==r&&D(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},t.prototype.removePoint=function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};h(n,s),e=N(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,i){function r(){o.destroy(i),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?D(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=w(t,this.userOptions),D(this,"update",{options:t});var n,i=this,r=i.chart,o=i.userOptions,a=i.initialType||i.type,s=r.options.plotOptions,l=v[a].prototype,c=i.finishedAnimating&&{animation:!1},u={},h=["eventOptions","navigatorSeries","baseSeries"],d=t.type||o.type||r.options.chart.type,p=!(this.hasDerivedData||d&&d!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys"));if(d=d||a,p&&(h.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&h.push("area","graph"),i.parallelArrays.forEach(function(t){h.push(t+"Data")}),t.data&&(t.dataSorting&&M(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=L(o,c,{index:void 0===o.index?i.index:o.index,pointStart:N(s&&s.series&&s.series.pointStart,o.pointStart,i.xData[0])},!p&&{data:i.options.data},t),p&&t.data&&(t.data=i.options.data),(h=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(h)).forEach(function(t){h[t]=i[t],delete i[t]}),s=!1,v[d]){if(s=d!==i.type,i.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(i,v[d].prototype);else{for(n in c=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents,l)i[n]=void 0;M(i,v[d].prototype),c?i.hcEvents=c:delete i.hcEvents}}else O(17,!0,r,{missingModuleFor:d});if(h.forEach(function(t){i[t]=h[t]}),i.init(r,t),p&&this.points){var f=i.options;!1===f.visible?(u.graphic=1,u.dataLabel=1):i._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===f.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)}i.initialType=a,r.linkSeries(),s&&i.linkedSeries.length&&(i.isDirtyData=!0),D(this,"afterUpdate"),N(e,!0)&&r.redraw(!!p&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==N(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&D(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&D(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach(function(t){t.setState("",!0)})},t.prototype.setState=function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=N(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=0,u=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))}),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),u=N(a[t].opacity,u)),r&&!r.dashstyle)for(i={"stroke-width":l},r.animate(i,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(i,s),c+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(t){t&&t.animate({opacity:u},s)})}e&&o&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach(function(e){e.setState&&e.setState(t)})},t.prototype.setVisible=function(t,e){var n=this,i=n.chart,r=n.legendItem,o=i.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){n[t]&&n[t][s]()}),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),n.linkedSeries.forEach(function(e){e.setVisible(t,!1)}),o&&(i.isDirtyBox=!0),D(n,s),!1!==e&&i.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),D(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t}),e(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o){var a=t.stop,s=o.addEvent,l=o.createElement,c=o.defined,u=o.merge,h=o.pick;s(n,"afterSetChartSize",function(t){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight),c(i)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}}));r&&!t.skipAxes&&this.axes.forEach(function(t){r[t.side]?t.getPlotLinePath=function(){var n=r[t.side].name,i=this[n];this[n]=i-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,o}:(t.setAxisSize(),t.setAxisTranslation())})}}),s(n,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),n.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&i.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,i=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":h(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:e,height:i,viewBox:[0,0,e,i].join(" ")}),this.chartBackground.attr({width:e,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),i=this.axisOffset,t=this.plotTop-i[0]-1,n=this.plotLeft-i[3]-1,e=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",function(){this.chart.scrollableDirty=!0}),s(i,"show",function(){this.chart.scrollableDirty=!0})}),e(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],function(t,e,n){var i,r=t.getDeferredAnimation,o=n.addEvent,a=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,function(t,n){a(t),e[n]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new u(this))}var i=[];t.compose=function(t){return-1===i.indexOf(t)&&(i.push(t),o(t,"init",n),o(t,"destroy",e)),t};var u=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,i=e.options.reversedStacks,r=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var o=n[i?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;to&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})},n.prototype.getGraphPath=function(t,e,n){var i,o=this,a=o.options,s=[],l=[],c=a.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach(function(u,h){var d=u.plotX,p=u.plotY,f=t[h-1];(u.leftCliff||f&&f.rightCliff)&&!n&&(i=!0),u.isNull&&!r(e)&&0t&&u>r?h=2*r-(u=Math.max(t,r)):un&&h>r?u=2*r-(h=Math.max(n,r)):h=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;i=t.borderWidth=b(n.borderWidth,i?0:1);var o=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=b(n.minPointLength,5),u=t.getColumnMetrics(),d=u.width,f=t.pointXOffset=u.offset,g=t.dataMin,m=t.dataMax,y=t.barW=Math.max(d,1+2*i);e.inverted&&(l-=.5),n.pointPadding&&(y=Math.ceil(y)),r.prototype.translate.apply(t),t.points.forEach(function(i){var r=b(i.yBottom,l),x=999+Math.abs(r),_=i.plotX||0;x=h(i.plotY,-x,a.len+x);var w=Math.min(x,r),C=Math.max(x,r)-w,S=d,k=_+f,O=y;c&&Math.abs(C)c?r-c:l-(_?c:0)),p(i.options.pointWidth)&&(S=O=Math.ceil(i.options.pointWidth),k-=Math.round((S-d)/2)),n.centerInCategory&&(k=t.adjustForMissingColumns(k,S,i,u)),i.barX=k,i.pointWidth=S,i.tooltipPos=e.inverted?[h(a.len+a.pos-e.plotLeft-x,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-k-O/2,C]:[o.left-e.plotLeft+k+O/2,h(x+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[k,l,O,0]:[k,w,O,C])})},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||a;i=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,u=b(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var h=t.getZone();a=t.options.color||h&&(h.color||t.nonZonedColor)||this.color,h&&(s=h.borderColor||s,i=h.dashStyle||i,l=h.borderWidth||l)}return e&&t&&(e=(t=y(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&c(a).brighten(t.brightness).get()||a,s=t[r]||s,l=t[o]||l,i=t.dashStyle||i,u=b(t.opacity,u)),r={fill:a,stroke:s,"stroke-width":l,opacity:u},i&&(r.dashstyle=i),r},e.prototype.drawPoints=function(){var t,e=this,n=this.chart,i=e.options,r=n.renderer,o=i.animationLimit||250;e.points.forEach(function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount"===e&&t>n||"<"===e&&t="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(i,r),c=i.connectors?i.connectors[s]:i.connector,p=i.dataLabels?i.dataLabels[s]:i.dataLabel,f=!p,g=d(r.distance,i.labelDistance);if(l){var m=i.getLabelConfig(),y=d(r[i.formatPrefix+"Format"],r.format);m=a(y)?o(y,m,e):(r[i.formatPrefix+"Formatter"]||r.formatter).call(m,r),y=r.style;var b=r.rotation;e.styledMode||(y.color=d(r.color,y.color,t.color,"#000000"),"contrast"===y.color?(i.contrastColor=u.getContrast(i.color||t.color),y.color=!a(g)&&r.inside||0>g||n.stacking?i.contrastColor:"#000000"):delete i.contrastColor,n.cursor&&(y.cursor=n.cursor));var x={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};e.styledMode||(x.fill=r.backgroundColor,x.stroke=r.borderColor,x["stroke-width"]=r.borderWidth),h(x,function(t,e){void 0===t&&delete x[e]})}!p||l&&a(m)&&!!p.div==!!r.useHTML&&(p.rotation&&r.rotation||p.rotation===r.rotation)||(f=!0,i.dataLabel=p=i.dataLabel&&i.dataLabel.destroy(),i.dataLabels&&(1===i.dataLabels.length?delete i.dataLabels:delete i.dataLabels[s]),s||delete i.dataLabel,c&&(i.connector=i.connector.destroy(),i.connectors&&(1===i.connectors.length?delete i.connectors:delete i.connectors[s]))),l&&a(m)?(p?x.text=m:(i.dataLabels=i.dataLabels||[],p=i.dataLabels[s]=b?u.text(m,0,0,r.useHTML).addClass("highcharts-data-label"):u.label(m,0,0,r.shape,null,null,r.useHTML,null,"data-label"),s||(i.dataLabel=p),p.addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),p.options=r,p.attr(x),e.styledMode||p.css(y).shadow(r.shadow),p.added||p.add(v),r.textPath&&!r.useHTML&&(p.setTextPath(i.getDataLabelPath&&i.getDataLabelPath(p)||i.graphic,r.textPath),i.dataLabelPath&&!r.textPath.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy())),t.alignDataLabel(i,p,r,null,f)):p&&p.hide()})})}l(this,"afterDrawDataLabels")}function i(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,u=e.x;u=void 0===u?0:u;var h=e.y;h=void 0===h?0:h;var d=(n.x||0)+c;if(0>d){"right"===s&&0<=u?(e.align="left",e.inside=!0):u-=d;var p=!0}return(d=(n.x||0)+i.width-c)>a.plotWidth&&("left"===s&&0>=u?(e.align="right",e.inside=!0):u+=a.plotWidth-d,p=!0),0>(d=n.y+c)&&("bottom"===l&&0<=h?(e.verticalAlign="top",e.inside=!0):h-=d,p=!0),(d=(n.y||0)+i.height-c)>a.plotHeight&&("top"===l&&0>=h?(e.verticalAlign="bottom",e.inside=!0):h+=a.plotHeight-d,p=!0),p&&(e.x=u,e.y=h,t.placed=!o,t.align(e,void 0,r)),p}function f(t,e){var n,i=[];if(c(t)&&!c(e))i=t.map(function(t){return u(t,e)});else if(c(e)&&!c(t))i=e.map(function(e){return u(t,e)});else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=u(t[n],e[n]);else i=u(t,e);return i}function g(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?r.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var m=[];t.compose=function(t){if(-1===m.indexOf(t)){var r=t.prototype;m.push(t),r.alignDataLabel=e,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=g}}}(i||(i={})),i}),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(t,e,n){var i,r=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,i,s){var l=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var h=t.dlBox||t.shapeArgs,d=a(t.below,t.plotY>a(this.translatedThreshold,c)),p=a(n.inside,!!this.options.stacking);h&&(0>(i=o(h)).y&&(i.height+=i.y,i.y=0),0<(h=i.y+i.height-c)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),e}(o)).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),i(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(t,e,n){var i,r=t.deg2rad,o=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,i=2*(t.slicedOffset||0),r=n.plotWidth-2*i,c=n.plotHeight-2*i,u=t.center,h=Math.min(r,c),d=t.thickness,p=t.size,f=t.innerSize||0;for("string"==typeof p&&(p=parseFloat(p)),"string"==typeof f&&(f=parseFloat(f)),t=[s(u[0],"50%"),s(u[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(f&&0>f?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),u=0;4>u;++u)p=t[u],n=2>u||2===u&&/%$/.test(p),t[u]=l(p,[r,c,h,t[2]][u])+(n?i:0);return t[3]>t[2]&&(t[3]=t[2]),a(d)&&2*dt&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(i||(i={})),i}),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,i=e.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,i=this.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){n[e]&&n[e][t?"show":"hide"](t)}),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,n){var i=this.series;r(n,i.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||oe.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e}),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o,a,s,l){var c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=t.getStartAndEndRadians;n=n.noop;var h=l.clamp,d=l.extend,p=l.fireEvent,f=l.merge,g=l.pick,m=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach(function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(i,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return t=Math.asin(h((t-i[1])/(r+n.labelDistance),-1,1)),i[0]+(e?-1:1)*Math.cos(t)*(r+n.labelDistance)+(01.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(v)*n),translateY:Math.round(Math.sin(v)*n)},y=Math.cos(v)*t[2]/2;var b=Math.sin(v)*t[2]/2;d.tooltipPos=[t[0]+.7*y,t[1]+.7*b],d.half=v<-Math.PI/2||v>Math.PI/2?1:0,d.angle=v,f=Math.min(i,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+y+Math.cos(v)*d.labelDistance,y:t[1]+b+Math.sin(v)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(v)*f,y:t[1]+b+Math.sin(v)*f},touchingSliceAt:{x:t[0]+y,y:t[1]+b}}}}p(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint,r=0;for(t=0;tO&&(t.dataLabel.css({width:Math.round(.7*O)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),A.forEach(function(e,n){var l,c=e.length,d=[];if(c){if(y.sortByAngle(e,n-.5),0C-w&&0===n&&(b=Math.round(u+r-C+w),I[1]=Math.max(b,I[1])),0>f-a/2?I[0]=Math.max(Math.round(a/2-f),I[0]):f+a/2>S&&(I[2]=Math.max(Math.round(f+a/2-S),I[2])),i.sideOverflow=b)}}}),0===c(I)||this.verifyDataLabelOverflow(I))&&(this.placeDataLabels(),this.points.forEach(function(t){var r;(v=d(_,t.options.dataLabels),e=p(v.connectorWidth,1))&&(n=t.connector,(i=t.dataLabel)&&i._pos&&t.visible&&0e.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)}),e?o+i:n-o-i}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=g,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=i,e.verifyDataLabelOverflow=r)}}(o||(o={})),o}),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],function(t,e){function n(t,e){var n=!1;if(t){var i=t.newOpacity;t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})}),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0}return n}var i=e.addEvent,r=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;i(t,"render",function(){var t=this,e=[];(this.labelCollectors||[]).forEach(function(t){e=e.concat(t())}),(this.yAxis||[]).forEach(function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,function(t){s(t,function(t){t.label&&e.push(t.label)})})}),(this.series||[]).forEach(function(i){var r=i.options.dataLabels;i.visible&&(!1!==r.enabled||i._hasPointLabels)&&((r=function(i){return i.forEach(function(i){i.visible&&(o(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach(function(r){var o=r.options;r.labelrank=l(o.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,t)):e.push(r)})})})(i.nodes||[]),r(i.points))}),this.hideOverlappingLabels(e)}),t.prototype.hideOverlappingLabels=function(t){var e,i,o,s=this,l=t.length,c=s.renderer,u=!1,h=function(t){var e,n,i=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*i;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-e,width:t.width-2*i,height:t.height-2*i}}};for(i=0;i=d.x+d.width||p.x+p.width<=d.x||p.y>=d.y+d.height||p.y+p.height<=d.y||((h.labelrank=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,r=this.options.responsive,o=this.currentResponsive,s=[];!e&&r&&r.rules&&r.rules.forEach(function(t){void 0===t._id&&(t._id=u()),n.matchResponsiveRule(t,s)},this),(e=a.apply(void 0,s.map(function(t){return i((r||{}).rules||[],function(e){return e._id===t})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(),e}),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],function(t,e,n,i,r,o,a,s,l,c,u,h,d,p,f,g,m,v,y,b,x,_,w,C,S,k,O,M,T,D,A,I,E){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=i.timers,t.AST=o,t.Axis=d,t.Chart=w,t.chart=w.chart,t.Fx=i,t.Legend=_,t.PlotLineOrBand=g,t.Point=y,t.Pointer=x.isRequired()?x:b,t.Series=C,t.SVGElement=l,t.SVGRenderer=c,t.Tick=m,t.Time=E,t.Tooltip=v,t.Color=I,t.color=I.parse,h.compose(c),u.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,O.compose(k),D.compose(C),p.compose(d),f.compose(d),T.compose(M),g.compose(d),A.compose(w),t}),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},"object"==typeof t&&t.exports?(o.default=o,t.exports=r.document?o(r):o):void 0===(i=function(){return o(r)}.call(e,n,e,t))||(t.exports=i)},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5QVw":function(t,e,n){t.exports={default:n("BwfY"),__esModule:!0}},"5VQ+":function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},"5YuA":function(t,e,n){var i;window,i=function(t,e){return r={},n.m=i=[function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";n.r(e),n.d(e,"Chart",function(){return u}),n.d(e,"default",function(){return h});e=n(0);var i=n.n(e);function r(t,e){return function t(e,n,r){function o(o,a){!i.a.isObject(o,!r)||i.a.isClass(o)||i.a.isDOMElement(o)?e[a]=n[a]:e[a]=t(e[a]||i.a.isArray(o)?[]:{},o,r)}return i.a.isArray(n)?n.forEach(o):i.a.objectEach(n,o),e}({},t,e)}var o=n(1);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n',props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}},watch:{options:{handler:function(t){var e;(e=this.chart).update.apply(e,[r(t,this.deepCopyOnUpdate)].concat(function(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.updateArgs)))},deep:!0}},mounted:function(){var e=this.highcharts||t;this.options&&e[this.constructorType]?this.chart=e[this.constructorType](this.$refs.chart,r(this.options,!0),this.callback||null):this.options?console.warn("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')}},e)},u=c(i.a,o.version||n.n(o).a.version);function h(t){var e=1=0&&Math.floor(e)===e&&isFinite(t)}function g(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||d(t)&&t.toString===h?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function C(t,e){return w.call(t,e)}function S(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,O=S(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),M=S(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),T=/\B([A-Z])/g,D=S(function(t){return t.replace(T,"-$1").toLowerCase()});var A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n0,tt=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var et=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var nt,it=Z&&Z.match(/firefox\/(\d+)/),rt={}.watch,ot=!1;if(K)try{var at={};Object.defineProperty(at,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var st=function(){return void 0===nt&&(nt=!K&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),nt},lt=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ht="undefined"!=typeof Symbol&&ct(Symbol)&&"undefined"!=typeof Reflect&&ct(Reflect.ownKeys);ut="undefined"!=typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=null;function pt(){return dt&&{proxy:dt}}function ft(t){void 0===t&&(t=null),t||dt&&dt._scope.off(),dt=t,t&&t._scope.on()}var gt=function(){function t(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),mt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function vt(t){return new gt(void 0,void 0,void 0,String(t))}function yt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=0,xt=function(){function t(){this.id=bt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){_(this.subs,t)},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.slice();for(var n=0,i=e.length;n0&&(me((u=t(u,"".concat(n||"","_").concat(c)))[0])&&me(d)&&(i[h]=vt(d.text+u[0].text),u.shift()),i.push.apply(i,u)):l(u)?me(d)?i[h]=vt(d.text+u):""!==u&&i.push(vt(u)):me(u)&&me(d)?i[h]=vt(d.text+u.text):(s(e._isVList)&&a(u.tag)&&o(u.key)&&a(n)&&(u.key="__vlist".concat(n,"_").concat(c,"__")),i.push(u)));return i}(t):void 0}function me(t){return a(t)&&a(t.text)&&!1===t.isComment}var ve=1,ye=2;function be(t,e,n,i,h,d){return(r(n)||l(n))&&(h=i,i=n,n=void 0),s(d)&&(h=ye),function(t,e,n,i,l){if(a(n)&&a(n.__ob__))return mt();a(n)&&a(n.is)&&(e=n.is);if(!e)return mt();0;r(i)&&c(i[0])&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);l===ye?i=ge(i):l===ve&&(i=function(t){for(var e=0;e0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=Fe(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=ze(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),q(o,"$stable",s),q(o,"$key",l),q(o,"$hasNormal",a),o}function Fe(t,e,n,i){var o=function(){var e=dt;ft(t);var n=arguments.length?i.apply(null,arguments):i({}),o=(n=n&&"object"==typeof n&&!r(n)?[n]:ge(n))&&n[0];return ft(e),n&&(!o||1===n.length&&o.isComment&&!Re(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function ze(t,e){return function(){return t[e]}}function $e(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};q(e,"_v_attr_proxy",!0),Ve(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Ve(t._listenersProxy={},t.$listeners,i,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||We(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:A(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return Qt(t,e,n)})}}}function Ve(t,e,n,i,r){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,He(t,a,i,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function He(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function We(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ge(){return Ye().slots}function Ue(){return Ye().attrs}function qe(){return Ye().listeners}function Ye(){var t=dt;return t._setupContext||(t._setupContext=$e(t))}function Xe(t,e){var n=r(t)?t.reduce(function(t,e){return t[e]={},t},{}):t;for(var i in e){var o=n[i];o?r(o)||c(o)?n[i]={type:o,default:e[i]}:o.default=e[i]:null===o&&(n[i]={default:e[i]})}return n}var Ke,Ze=null;function Je(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function Qe(t){if(r(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(vn=function(){return yn.now()})}var bn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function xn(){var t,e;for(mn=vn(),fn=!0,un.sort(bn),gn=0;gngn&&un[n].id>t.id;)n--;un.splice(n+1,0,t)}else un.push(t);pn||(pn=!0,ti(xn))}}var wn="watcher",Cn="".concat(wn," callback"),Sn="".concat(wn," getter"),kn="".concat(wn," cleanup");function On(t,e){return En(t,null,e)}function Mn(t,e){return En(t,null,{flush:"post"})}function Tn(t,e){return En(t,null,{flush:"sync"})}var Dn,An={};function In(t,e,n){return En(t,e,n)}function En(t,e,n){var o=void 0===n?i:n,a=o.immediate,s=o.deep,l=o.flush,u=void 0===l?"pre":l;o.onTrack,o.onTrigger;var h,d,p=dt,f=function(t,e,n){return void 0===n&&(n=null),Vn(t,null,n,p,e)},g=!1,m=!1;if(Ut(t)?(h=function(){return t.value},g=zt(t)):Ft(t)?(h=function(){return t.__ob__.dep.depend(),t},s=!0):r(t)?(m=!0,g=t.some(function(t){return Ft(t)||zt(t)}),h=function(){return t.map(function(t){return Ut(t)?t.value:Ft(t)?xi(t):c(t)?f(t,Sn):void 0})}):h=c(t)?e?function(){return f(t,Sn)}:function(){if(!p||!p._isDestroyed)return d&&d(),f(t,wn,[y])}:L,e&&s){var v=h;h=function(){return xi(v())}}var y=function(t){d=b.onStop=function(){f(t,kn)}};if(st())return y=L,e?a&&f(e,Cn,[h(),m?[]:void 0,y]):h(),L;var b=new wi(dt,h,L,{lazy:!0});b.noRecurse=!e;var x=m?[]:An;return b.run=function(){if(b.active||"pre"===u&&p&&p._isBeingDestroyed)if(e){var t=b.get();(s||g||(m?t.some(function(t,e){return z(t,x[e])}):z(t,x)))&&(d&&d(),f(e,Cn,[t,x===An?void 0:x,y]),x=t)}else b.get()},"sync"===u?b.update=b.run:"post"===u?(b.post=!0,b.update=function(){return _n(b)}):b.update=function(){if(p&&p===dt&&!p._isMounted){var t=p._preWatchers||(p._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else _n(b)},e?a?b.run():x=b.get():"post"===u&&p?p.$once("hook:mounted",function(){return b.get()}):b.get(),function(){b.teardown()}}var Pn=function(){function t(t){void 0===t&&(t=!1),this.active=!0,this.effects=[],this.cleanups=[],!t&&Dn&&(this.parent=Dn,this.index=(Dn.scopes||(Dn.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Dn;try{return Dn=this,t()}finally{Dn=e}}else 0},t.prototype.on=function(){Dn=this},t.prototype.off=function(){Dn=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e1)return n&&c(e)?e.call(i):e}else 0}function zn(t,e,n){return be(dt,t,e,n,2,!0)}function $n(t,e,n){wt();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o-1)if(o&&!C(r,"default"))a=!1;else if(""===a||a===D(t)){var l=er(String,r.type);(l<0||s-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function ar(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&sr(n,o,i,r)}}}function sr(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Ei++,e._isVue=!0,e.__v_skip=!0,e._scope=new Pn(!0),t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Xi(Pi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&rn(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=je(e._renderChildren,r),t.$scopedSlots=n?Be(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return be(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return be(t,e,n,i,r,!0)};var o=n&&n.data;Pt(t,"$attrs",o&&o.attrs||i,null,!0),Pt(t,"$listeners",e._parentListeners||i,null,!0)}(e),cn(e,"beforeCreate",void 0,!1),function(t){var e=Ii(t.$options.inject,t);e&&(Dt(!1),Object.keys(e).forEach(function(n){Pt(t,n,e[n])}),Dt(!0))}(e),ki(e),function(t){var e=t.$options.provide;if(e){var n=c(e)?e.call(t):e;if(!u(n))return;for(var i=Bn(t),r=ht?Reflect.ownKeys(n):Object.keys(n),o=0;o1?I(n):n;for(var i=I(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=n.length;oparseInt(this.max)&&sr(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)sr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){ar(t,function(t){return or(e,t)})}),this.$watch("exclude",function(e){ar(t,function(t){return!or(e,t)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Qe(t),n=e&&e.componentOptions;if(n){var i=rr(n),r=this.include,o=this.exclude;if(r&&(!i||!or(r,i))||o&&i&&or(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,_(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:Vi,extend:E,mergeOptions:Xi,defineReactive:Pt},t.set=Lt,t.delete=jt,t.nextTick=ti,t.observable=function(t){return Et(t),t},t.options=Object.create(null),V.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,E(t.options.components,cr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),c(t.install)?t.install.apply(t,n):c(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Xi(this.options,t),this}}(t),ir(t),function(t){V.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&d(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&c(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(nr),Object.defineProperty(nr.prototype,"$isServer",{get:st}),Object.defineProperty(nr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(nr,"FunctionalRenderContext",{value:Li}),nr.version=vi;var ur=y("style,class"),hr=y("input,textarea,option,select,progress"),dr=function(t,e,n){return"value"===n&&hr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},pr=y("contenteditable,draggable,spellcheck"),fr=y("events,caret,typing,plaintext-only"),gr=function(t,e){return xr(e)||"false"===e?"false":"contenteditable"===t&&fr(e)?e:"true"},mr=y("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,truespeed,typemustmatch,visible"),vr="http://www.w3.org/1999/xlink",yr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},br=function(t){return yr(t)?t.slice(6,t.length):""},xr=function(t){return null==t||!1===t};function _r(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=wr(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=wr(e,n.data));return function(t,e){if(a(t)||a(e))return Cr(t,Sr(e));return""}(e.staticClass,e.class)}function wr(t,e){return{staticClass:Cr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Cr(t,e){return t?e?t+" "+e:t:e||""}function Sr(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?Kr(t,e,n):mr(e)?xr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):pr(e)?t.setAttribute(e,gr(e,n)):yr(e)?xr(n)?t.removeAttributeNS(vr,br(e)):t.setAttributeNS(vr,e,n):Kr(t,e,n)}function Kr(t,e,n){if(xr(n))t.removeAttribute(e);else{if(J&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Zr={create:Yr,update:Yr};function Jr(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=_r(e),l=n._transitionClasses;a(l)&&(s=Cr(s,Sr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Qr,to,eo,no,io,ro,oo={create:Jr,update:Jr},ao=/[\w).+\-_$\]]/;function so(t){var e,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,h=0,d=0,p=0;for(i=0;i=0&&" "===(g=t.charAt(f));f--);g&&ao.test(g)||(c=!0)}}else void 0===r?(p=i+1,r=t.slice(0,i).trim()):m();function m(){(o||(o=[])).push(t.slice(p,i).trim()),p=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==p&&m(),o)for(i=0;i-1?{exp:t.slice(0,no),key:'"'+t.slice(no+1)+'"'}:{exp:t,key:null};to=t,no=io=ro=0;for(;!Oo();)Mo(eo=ko())?Do(eo):91===eo&&To(eo);return{exp:t.slice(0,io),key:t.slice(io+1,ro)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function ko(){return to.charCodeAt(++no)}function Oo(){return no>=Qr}function Mo(t){return 34===t||39===t}function To(t){var e=1;for(io=no;!Oo();)if(Mo(t=ko()))Do(t);else if(91===t&&e++,93===t&&e--,0===e){ro=no;break}}function Do(t){for(var e=t;!Oo()&&(t=ko())!==e;);}var Ao,Io="__r",Eo="__c";function Po(t,e,n){var i=Ao;return function r(){null!==e.apply(null,arguments)&&No(t,r,n,i)}}var Lo=Un&&!(it&&Number(it[1])<=53);function jo(t,e,n,i){if(Lo){var r=mn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Ao.addEventListener(t,e,ot?{capture:n,passive:i}:n)}function No(t,e,n,i){(i||Ao).removeEventListener(t,e._wrapper||e,n)}function Ro(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Ao=e.elm||t.elm,function(t){if(a(t[Io])){var e=J?"change":"input";t[e]=[].concat(t[Io],t[e]||[]),delete t[Io]}a(t[Eo])&&(t.change=[].concat(t[Eo],t.change||[]),delete t[Eo])}(n),de(n,i,jo,No,Po,e.context),Ao=void 0}}var Bo,Fo={create:Ro,update:Ro,destroy:function(t){return Ro(t,Rr)}};function zo(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=E({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=o(i)?"":String(i);$o(r,u)&&(r.value=u)}else if("innerHTML"===n&&Mr(r.tagName)&&o(r.innerHTML)){(Bo=Bo||document.createElement("div")).innerHTML="".concat(i,"");for(var h=Bo.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;h.firstChild;)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(t){}}}}function $o(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Vo={create:zo,update:zo},Ho=S(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function Wo(t){var e=Go(t.style);return t.staticStyle?E(t.staticStyle,e):e}function Go(t){return Array.isArray(t)?P(t):"string"==typeof t?Ho(t):t}var Uo,qo=/^--/,Yo=/\s*!important$/,Xo=function(t,e,n){if(qo.test(e))t.style.setProperty(e,n);else if(Yo.test(n))t.style.setProperty(D(e),n.replace(Yo,""),"important");else{var i=Zo(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(ta).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function na(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ta).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ia(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,ra(t.name||"v")),E(e,t),e}return"string"==typeof t?ra(t):void 0}}var ra=S(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),oa=K&&!Q,aa="transition",sa="animation",la="transition",ca="transitionend",ua="animation",ha="animationend";oa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(la="WebkitTransition",ca="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ua="WebkitAnimation",ha="webkitAnimationEnd"));var da=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function pa(t){da(function(){da(t)})}function fa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ea(t,e))}function ga(t,e){t._transitionClasses&&_(t._transitionClasses,e),na(t,e)}function ma(t,e,n){var i=ya(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===aa?ca:ha,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l0&&(n=aa,u=a,h=o.length):e===sa?c>0&&(n=sa,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?aa:sa:null)?n===aa?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===aa&&va.test(i[la+"Property"])}}function ba(t,e){for(;t.length1}function ka(t,e){!0!==e.data.show&&_a(e)}var Oa=function(t){var e,n,i={},c=t.modules,u=t.nodeOps;for(e=0;ef?x(t,o(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&w(e,h,f)}(h,g,v,n,c):a(v)?(a(t.text)&&u.setTextContent(h,""),x(h,null,v,0,v.length-1,n)):a(g)?w(g,0,g.length-1):a(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),a(f)&&a(p=f.hook)&&a(p=p.postpatch)&&p(t,e)}}}function O(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(R(Ia(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Aa(t,e){return e.every(function(e){return!R(e,t)})}function Ia(t){return"_value"in t?t._value:t.value}function Ea(t){t.target.composing=!0}function Pa(t){t.target.composing&&(t.target.composing=!1,La(t.target,"input"))}function La(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ja(t){return!t.componentInstance||t.data&&t.data.transition?t:ja(t.componentInstance._vnode)}var Na={model:Ma,show:{bind:function(t,e,n){var i=e.value,r=(n=ja(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,_a(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=ja(n)).data&&n.data.transition?(n.data.show=!0,i?_a(n,function(){t.style.display=t.__vOriginalDisplay}):wa(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Ra={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 Ba(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ba(Qe(e.children)):t}function Fa(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[O(i)]=r[i];return e}function za(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var $a=function(t){return t.tag||Re(t)},Va=function(t){return"show"===t.name},Ha={name:"transition",props:Ra,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter($a)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=Ba(r);if(!o)return r;if(this._leaving)return za(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:l(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Fa(this),c=this._vnode,u=Ba(c);if(o.data.directives&&o.data.directives.some(Va)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Re(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=E({},s);if("out-in"===i)return this._leaving=!0,pe(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),za(t,r);if("in-out"===i){if(Re(o))return c;var d,p=function(){d()};pe(s,"afterEnter",p),pe(s,"enterCancelled",p),pe(h,"delayLeave",function(t){d=t})}}return r}}},Wa=E({tag:String,moveClass:String},Ra);function Ga(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ua(t){t.data.newPos=t.elm.getBoundingClientRect()}function qa(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}delete Wa.mode;var Ya={Transition:Ha,TransitionGroup:{props:Wa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=an(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Fa(this),s=0;s-1?Ar[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ar[t]=/HTMLUnknownElement/.test(e.toString())},E(nr.options.directives,Na),E(nr.options.components,Ya),nr.prototype.__patch__=K?Oa:L,nr.prototype.$mount=function(t,e){return function(t,e,n){t.$el=e,t.$options.render||(t.$options.render=mt),cn(t,"beforeMount");var i={before:function(){t._isMounted&&!t._isDestroyed&&cn(t,"beforeUpdate")}};new wi(t,function(){t._update(t._render(),n)},L,i,!0),n=!1;var r=t._preWatchers;if(r)for(var o=0;ol&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var c=so(i[1].trim());a.push("_s(".concat(c,")")),s.push({"@binding":c}),l=r+i[0].length}return l\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ss=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ls="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(G.source,"]*"),cs="((?:".concat(ls,"\\:)?").concat(ls,")"),us=new RegExp("^<".concat(cs)),hs=/^\s*(\/?)>/,ds=new RegExp("^<\\/".concat(cs,"[^>]*>")),ps=/^]+>/i,fs=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},bs=/&(?:lt|gt|quot|amp|#39);/g,xs=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,_s=y("pre,textarea",!0),ws=function(t,e){return t&&_s(t)&&"\n"===e[0]};function Cs(t,e){var n=e?xs:bs;return t.replace(n,function(t){return ys[t]})}function Ss(t,e){for(var n,i,r=[],o=e.expectHTML,a=e.isUnaryTag||j,s=e.canBeLeftOpenTag||j,l=0,c=function(){if(n=t,i&&ms(i)){var c=0,d=i.toLowerCase(),p=vs[d]||(vs[d]=new RegExp("([\\s\\S]*?)(]*>)","i"));w=t.replace(p,function(t,n,i){return c=i.length,ms(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),ws(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-w.length,t=w,h(d,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(fs.test(t)){var g=t.indexOf("--\x3e");if(g>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,g),l,l+g+3),u(g+3),"continue"}if(gs.test(t)){var m=t.indexOf("]>");if(m>=0)return u(m+2),"continue"}var v=t.match(ps);if(v)return u(v[0].length),"continue";var y=t.match(ds);if(y){var b=l;return u(y[0].length),h(y[1],b,l),"continue"}var x=function(){var e=t.match(us);if(e){var n={tagName:e[1],attrs:[],start:l};u(e[0].length);for(var i=void 0,r=void 0;!(i=t.match(hs))&&(r=t.match(ss)||t.match(as));)r.start=l,u(r[0].length),r.end=l,n.attrs.push(r);if(i)return n.unarySlash=i[1],u(i[0].length),n.end=l,n}}();if(x)return function(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&os(n)&&h(i),s(n)&&i===n&&h(n));for(var c=a(n)||!!l,u=t.attrs.length,d=new Array(u),p=0;p=0){for(w=t.slice(f);!(ds.test(w)||us.test(w)||fs.test(w)||gs.test(w)||(C=w.indexOf("<",1))<0);)f+=C,w=t.slice(f);_=t.substring(0,f)}f<0&&(_=t),_&&u(_.length),e.chars&&_&&e.chars(_,l-_.length,l)}if(t===n)return e.chars&&e.chars(t),"break"};t;){if("break"===c())break}function u(e){l+=e,t=t.substring(e)}function h(t,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),t)for(s=t.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)e.end&&e.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}h()}var ks,Os,Ms,Ts,Ds,As,Is,Es,Ps=/^@|^v-on:/,Ls=/^v-|^@|^:|^#/,js=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ns=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Rs=/^\(|\)$/g,Bs=/^\[.*\]$/,Fs=/:(.*)$/,zs=/^:|^\.|^v-bind:/,$s=/\.[^.\]]+(?=[^\]]*$)/g,Vs=/^v-slot(:|$)|^#/,Hs=/[\r\n]/,Ws=/[ \f\t\r\n]+/g,Gs=S(ns),Us="_empty_";function qs(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,i=t.length;n-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),vo(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(i?"_n("+r+")":r,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(So(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(So(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(So(e,"$$c"),"}"),null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=bo(t,"value")||"null";r=i?"_n(".concat(r,")"):r,ho(t,"checked","_q(".concat(e,",").concat(r,")")),vo(t,"change",So(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Io:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n(".concat(u,")"));var h=So(e,u);l&&(h="if($event.target.composing)return;".concat(h)),ho(t,"value","(".concat(e,")")),vo(t,c,h,null,!0),(s||a)&&vo(t,"blur","$forceUpdate()")}(t,i,r);else if(!W.isReservedTag(o))return Co(t,i,r),!1;return!0},text:function(t,e){e.value&&ho(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&ho(t,"innerHTML","_s(".concat(e.value,")"),e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:is,mustUseProp:dr,canBeLeftOpenTag:rs,isReservedTag:Tr,getTagNamespace:Dr,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(il)},sl=S(function(t){return y("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function ll(t,e){t&&(rl=sl(e.staticKeys||""),ol=e.isReservedTag||j,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||b(t.tag)||!ol(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(rl)))}(e);if(1===e.type){if(!ol(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,ul=/\([^)]*?\);*$/,hl=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,dl={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},pl={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"]},fl=function(t){return"if(".concat(t,")return null;")},gl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:fl("$event.target !== $event.currentTarget"),ctrl:fl("!$event.ctrlKey"),shift:fl("!$event.shiftKey"),alt:fl("!$event.altKey"),meta:fl("!$event.metaKey"),left:fl("'button' in $event && $event.button !== 0"),middle:fl("'button' in $event && $event.button !== 1"),right:fl("'button' in $event && $event.button !== 2")};function ml(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=vl(t[o]);t[o]&&t[o].dynamic?r+="".concat(o,",").concat(a,","):i+='"'.concat(o,'":').concat(a,",")}return i="{".concat(i.slice(0,-1),"}"),r?n+"_d(".concat(i,",[").concat(r.slice(0,-1),"])"):n+i}function vl(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map(function(t){return vl(t)}).join(","),"]");var e=hl.test(t.value),n=cl.test(t.value),i=hl.test(t.value.replace(ul,""));if(t.modifiers){var r="",o="",a=[],s=function(e){if(gl[e])o+=gl[e],dl[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;o+=fl(["ctrl","shift","alt","meta"].filter(function(t){return!n[t]}).map(function(t){return"$event.".concat(t,"Key")}).join("||"))}else a.push(e)};for(var l in t.modifiers)s(l);a.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(yl).join("&&"),")return null;")}(a)),o&&(r+=o);var c=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):i?"return ".concat(t.value):t.value;return"function($event){".concat(r).concat(c,"}")}return e||n?t.value:"function($event){".concat(i?"return ".concat(t.value):t.value,"}")}function yl(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=dl[t],i=pl[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(i))+")"}var bl={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:L},xl=function(){return function(t){this.options=t,this.warn=t.warn||co,this.transforms=uo(t.modules,"transformCode"),this.dataGenFns=uo(t.modules,"genData"),this.directives=E(E({},bl),t.directives);var e=t.isReservedTag||j;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}}();function _l(t,e){var n=new xl(e),i=t?"script"===t.tag?"null":wl(t,n):'_c("div")';return{render:"with(this){return ".concat(i,"}"),staticRenderFns:n.staticRenderFns}}function wl(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Cl(t,e);if(t.once&&!t.onceProcessed)return Sl(t,e);if(t.for&&!t.forProcessed)return Ol(t,e);if(t.if&&!t.ifProcessed)return kl(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Al(t,e),r="_t(".concat(n).concat(i?",function(){return ".concat(i,"}"):""),o=t.attrs||t.dynamicAttrs?Pl((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:O(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=",".concat(o));a&&(r+="".concat(o?"":",null",",").concat(a));return r+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Al(e,n,!0);return"_c(".concat(t,",").concat(Ml(e,n)).concat(i?",".concat(i):"",")")}(t.component,t,e);else{var i=void 0,r=e.maybeComponent(t);(!t.plain||t.pre&&r)&&(i=Ml(t,e));var o=void 0,a=e.options.bindings;r&&a&&!1!==a.__isScriptSetup&&(o=function(t,e){var n=O(e),i=M(n),r=function(r){return t[e]===r?e:t[n]===r?n:t[i]===r?i:void 0},o=r("setup-const")||r("setup-reactive-const");if(o)return o;var a=r("setup-let")||r("setup-ref")||r("setup-maybe-ref");if(a)return a}(a,t.tag)),o||(o="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:Al(t,e,!0);n="_c(".concat(o).concat(i?",".concat(i):"").concat(s?",".concat(s):"",")")}for(var l=0;l>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var i=_l(n,e.options);return"inlineTemplate:{render:function(){".concat(i.render,"},staticRenderFns:[").concat(i.staticRenderFns.map(function(t){return"function(){".concat(t,"}")}).join(","),"]}")}}(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(Pl(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Tl(t){return 1===t.type&&("slot"===t.tag||t.children.some(Tl))}function Dl(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return kl(t,e,Dl,"null");if(t.for&&!t.forProcessed)return Ol(t,e,Dl);var i=t.slotScope===Us?"":String(t.slotScope),r="function(".concat(i,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(Al(t,e)||"undefined",":undefined"):Al(t,e)||"undefined":wl(t,e),"}"),o=i?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(r).concat(o,"}")}function Al(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((i||wl)(a,e)).concat(s)}var l=n?function(t,e){for(var n=0,i=0;i':'
',Bl.innerHTML.indexOf(" ")>0}var $l=!!K&&zl(!1),Vl=!!K&&zl(!0),Hl=S(function(t){var e=Er(t);return e&&e.innerHTML}),Wl=nr.prototype.$mount;nr.prototype.$mount=function(t,e){if((t=t&&Er(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Hl(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=Fl(i,{outputSourceRange:!1,shouldDecodeNewlines:$l,shouldDecodeNewlinesForHref:Vl,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Wl.call(this,t,e)},nr.compile=Fl}.call(e,n("DuR2"))},"77Pl":function(t,e,n){var i=n("EqjI");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},"7GwW":function(t,e,n){"use strict";var i=n("cGG2"),r=n("21It"),o=n("p1b6"),a=n("DQCr"),s=n("Oi+a"),l=n("oJlt"),c=n("GHBc"),u=n("6GnE"),h=n("ydVi"),d=n("6rWK"),p=n("EJ0Q");t.exports=function(t){return new Promise(function(e,n){var f,g=t.data,m=t.headers,v=t.responseType;function y(){t.cancelToken&&t.cancelToken.unsubscribe(f),t.signal&&t.signal.removeEventListener("abort",f)}i.isFormData(g)&&i.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var x=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(x+":"+_)}var w=s(t.baseURL,t.url);function C(){if(b){var i="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:t,request:b};r(function(t){e(t),y()},function(t){n(t),y()},o),b=null}}if(b.open(t.method.toUpperCase(),a(w,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(C)},b.onabort=function(){b&&(n(new h("Request aborted",h.ECONNABORTED,t,b)),b=null)},b.onerror=function(){n(new h("Network Error",h.ERR_NETWORK,t,b,b)),b=null},b.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",i=t.transitional||u;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new h(e,i.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,t,b)),b=null},i.isStandardBrowserEnv()){var S=(t.withCredentials||c(w))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(m[t.xsrfHeaderName]=S)}"setRequestHeader"in b&&i.forEach(m,function(t,e){void 0===g&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)}),i.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),v&&"json"!==v&&(b.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(f=function(t){b&&(n(!t||t&&t.type?new d:t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(f),t.signal&&(t.signal.aborted?f():t.signal.addEventListener("abort",f))),g||(g=null);var k=p(w);k&&-1===["http","https","file"].indexOf(k)?n(new h("Unsupported protocol "+k+":",h.ERR_BAD_REQUEST,t)):b.send(g)})}},"7J9s":function(t,e,n){"use strict";e.__esModule=!0,e.PopupManager=void 0;var i=l(n("7+uW")),r=l(n("jmaC")),o=l(n("OAzY")),a=l(n("6Twh")),s=n("2kvA");function l(t){return t&&t.__esModule?t:{default:t}}var c=1,u=void 0;e.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+c++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(t){var e=this;if(t){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,i.default.nextTick(function(){e.open()}))}else this.close()}},methods:{open:function(t){var e=this;this.rendered||(this.rendered=!0);var n=(0,r.default)({},this.$props||this,t);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout(function(){e._openTimer=null,e.doOpen(n)},i):this.doOpen(n)},doOpen:function(t){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var e=this.$el,n=t.modal,i=t.zIndex;if(i&&(o.default.zIndex=i),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),u=(0,a.default)();var r=document.documentElement.clientHeight0&&(r||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var t=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var e=Number(this.closeDelay);e>0?this._closeTimer=setTimeout(function(){t._closeTimer=null,t.doClose()},e):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},e.PopupManager=o.default},"7KvD":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7UMu":function(t,e,n){var i=n("R9M2");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"7t+N":function(t,e,n){var i; /*! * jQuery JavaScript Library v3.6.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2022-08-26T17:52Z */ /*! * jQuery JavaScript Library v3.6.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2022-08-26T17:52Z */ !function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,u=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,g=f.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var i,r,o=(n=n||b).createElement("script");if(o.text=t,e)for(i in x)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var C=function(t,e){return new C.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}C.fn=C.prototype={jquery:"3.6.1",constructor:C,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),U=new RegExp(z),q=new RegExp("^"+B+"$"),Y={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},at=xt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(A=L.call(_.childNodes),_.childNodes),A[_.childNodes.length].nodeType}catch(t){P={apply:A.length?function(t,e){E.apply(t,L.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function st(t,e,i,r){var o,s,c,u,h,f,v,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return i;if(!r&&(d(e),e=e||p,g)){if(11!==_&&(h=Q.exec(t)))if(o=h[1]){if(9===_){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return i.push(c),i}else{if(h[2])return P.apply(i,e.getElementsByTagName(t)),i;if((o=h[3])&&n.getElementsByClassName&&e.getElementsByClassName)return P.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!M[t+" "]&&(!m||!m.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===_&&(G.test(t)||W.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(it,rt):e.setAttribute("id",u=x)),s=(f=a(t)).length;s--;)f[s]=(u?"#"+u:":scope")+" "+bt(f[s]);v=f.join(",")}try{return P.apply(i,y.querySelectorAll(v)),i}catch(e){M(t,!0)}finally{u===x&&e.removeAttribute("id")}}}return l(t.replace(V,"$1"),e,i,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ct(t){return t[x]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function dt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct(function(e){return e=+e,ct(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},o=st.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!X.test(e||n&&n.nodeName||"HTML")},d=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:_;return a!=p&&9===a.nodeType&&a.documentElement?(f=(p=a).documentElement,g=!o(p),_!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.scope=ut(function(t){return f.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ut(function(t){return f.appendChild(t).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(n.qsa=J.test(p.querySelectorAll))&&(ut(function(t){var e;f.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ut(function(t){t.innerHTML="";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=J.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",z)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=J.test(f.compareDocumentPosition),b=e||J.test(f.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==p||t.ownerDocument==_&&b(_,t)?-1:e==p||e.ownerDocument==_&&b(_,e)?1:u?j(u,t)-j(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t==p?-1:e==p?1:r?-1:o?1:u?j(u,t)-j(u,e):0;if(r===o)return dt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?dt(a[i],s[i]):a[i]==_?-1:s[i]==_?1:0},p):p},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&g&&!M[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){M(e,!0)}return st(e,p,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),b(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var r=i.attrHandle[e.toLowerCase()],o=r&&D.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(it,rt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,i=[],r=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(T),h){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return u=null,t},r=st.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=st.selectors={cacheLength:50,createPseudo:ct,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=st.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace($," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,d,p,f,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){for(;g;){for(d=e;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&y){for(b=(p=(c=(u=(h=(d=m)[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===w&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(b=p=0)||f.pop();)if(1===d.nodeType&&++b&&d===e){u[t]=[w,p,b];break}}else if(y&&(b=p=(c=(u=(h=(d=e)[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===w&&c[1]),!1===b)for(;(d=++p&&d&&d[g]||(b=p=0)||f.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((u=(h=d[x]||(d[x]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[w,b]),d!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[x]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,n){for(var i,o=r(t,e),a=o.length;a--;)t[i=j(t,o[a])]=!(n[i]=o[a])}):function(t){return r(t,0,n)}):r}},pseudos:{not:ct(function(t){var e=[],n=[],i=s(t.replace(V,"$1"));return i[x]?ct(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:ct(function(t){return function(e){return st(t,e).length>0}}),contains:ct(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}}),lang:ct(function(t){return q.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt(function(){return[0]}),last:mt(function(t,e){return[e-1]}),eq:mt(function(t,e,n){return[n<0?n+e:n]}),even:mt(function(t,e){for(var n=0;ne?e:n;--i>=0;)t.push(i);return t}),gt:mt(function(t,e,n){for(var i=n<0?n+e:n;++i1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function wt(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,c=null!=e;s-1&&(o[c]=!(a[c]=h))}}else v=wt(v===a?v.splice(f,v.length):v),r?r(null,a,v,l):P.apply(a,v)})}function St(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,u=xt(function(t){return t===e},s,!0),h=xt(function(t){return j(e,t)>-1},s,!0),d=[function(t,n,i){var r=!a&&(i||n!==c)||((e=n).nodeType?u(t,n,i):h(t,n,i));return e=null,r}];l1&&_t(d),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(V,"$1"),n,l0,r=t.length>0,o=function(o,a,s,l,u){var h,f,m,v=0,y="0",b=o&&[],x=[],_=c,C=o||r&&i.find.TAG("*",u),S=w+=null==_?1:Math.random()||.1,k=C.length;for(u&&(c=a==p||a||u);y!==k&&null!=(h=C[y]);y++){if(r&&h){for(f=0,a||h.ownerDocument==p||(d(h),s=!g);m=t[f++];)if(m(h,a||p,s)){l.push(h);break}u&&(w=S)}n&&((h=!m&&h)&&v--,o&&b.push(h))}if(v+=y,n&&y!==v){for(f=0;m=e[f++];)m(b,x,a,s);if(o){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=I.call(l));x=wt(x)}P.apply(l,x),u&&!o&&x.length>0&&v+e.length>1&&st.uniqueSort(l)}return u&&(w=S,c=_),b};return n?ct(o):o}(o,r))).selector=t}return s},l=st.select=function(t,e,n,r){var o,l,c,u,h,d="function"==typeof t&&t,p=!r&&a(t=d.selector||t);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=Y.needsContext.test(t)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((h=i.find[u])&&(r=h(c.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&bt(l)))return P.apply(n,r),n;break}}return(d||s(t,p))(r,e,!g,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=x.split("").sort(T).join("")===x,n.detectDuplicates=!!h,d(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),ut(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||ht("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ht("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ht(N,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),st}(n);C.find=k,C.expr=k.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=k.uniqueSort,C.text=k.getText,C.isXMLDoc=k.isXML,C.contains=k.contains,C.escapeSelector=k.escape;var O=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&C(t).is(n))break;i.push(t)}return i},M=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},T=C.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(t,e,n){return v(e)?C.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?C.grep(t,function(t){return t===e!==n}):"string"!=typeof e?C.grep(t,function(t){return u.call(e,t)>-1!==n}):C.filter(e,t,n)}C.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?C.find.matchesSelector(i,t)?[i]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(I(this,t||[],!1))},not:function(t){return this.pushStack(I(this,t||[],!0))},is:function(t){return!!I(this,"string"==typeof t&&T.test(t)?C(t):t||[],!1).length}});var E,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||E,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:P.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),A.test(i[1])&&C.isPlainObject(e))for(i in e)v(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,E=C(b);var L=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(C(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return O(t,"parentNode")},parentsUntil:function(t,e,n){return O(t,"parentNode",n)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return O(t,"nextSibling")},prevAll:function(t){return O(t,"previousSibling")},nextUntil:function(t,e,n){return O(t,"nextSibling",n)},prevUntil:function(t,e,n){return O(t,"previousSibling",n)},siblings:function(t){return M((t.parentNode||{}).firstChild,t)},children:function(t){return M(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(D(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(t,e){C.fn[t]=function(n,i){var r=C.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=C.filter(i,r)),this.length>1&&(j[t]||C.uniqueSort(r),L.test(t)&&r.reverse()),this.pushStack(r)}});var R=/[^\x20\t\r\n\f]+/g;function B(t){return t}function F(t){throw t}function z(t,e,n,i){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(n):t&&v(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(R)||[],function(t,n){e[n]=!0}),e}(t):C.extend({},t);var e,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||t.once,i=e=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?C.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return C.Deferred(function(n){C.each(e,function(e,i){var r=v(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){var o=0;function a(t,e,i,r){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(t=o&&(i!==F&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),n.setTimeout(u))}}return C.Deferred(function(n){e[0][3].add(a(0,n,v(r)?r:B,n.notifyWith)),e[1][3].add(a(0,n,v(t)?t:B)),e[2][3].add(a(0,n,v(i)?i:F))}).promise()},promise:function(t){return null!=t?C.extend(t,r):r}},o={};return C.each(e,function(t,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add(function(){i=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=s.call(arguments),o=C.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?s.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(z(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)z(r[n],a(n),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&$.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout(function(){throw t})};var V=C.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),C.ready()}C.fn.ready=function(t){return V.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||V.resolveWith(b,[C]))}}),C.ready.then=V.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var W=function(t,e,n,i,r,o,a){var s=0,l=t.length,c=null==n;if("object"===w(n))for(s in r=!0,n)W(t,e,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,v(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(C(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each(function(){J.remove(this,t)})}}),C.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Z.get(t,e),n&&(!i||Array.isArray(n)?i=Z.access(t,e,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),i=n.length,r=n.shift(),o=C._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){C.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Z.get(t,n)||Z.access(t,n,{empty:C.Callbacks("once memory").add(function(){Z.remove(t,[e+"queue",n])})})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;pt=b.createDocumentFragment().appendChild(b.createElement("div")),(ft=b.createElement("input")).setAttribute("type","radio"),ft.setAttribute("checked","checked"),ft.setAttribute("name","t"),pt.appendChild(ft),m.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="",m.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="",m.option=!!pt.lastChild;var yt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function bt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?C.merge([t],n):n}function xt(t,e){for(var n=0,i=t.length;n",""]);var _t=/<|&#?\w+;/;function wt(t,e,n,i,r){for(var o,a,s,l,c,u,h=e.createDocumentFragment(),d=[],p=0,f=t.length;p-1)r&&r.push(o);else if(c=at(o),a=bt(h.appendChild(o),"script"),c&&xt(a),n)for(u=0;o=a[u++];)vt.test(o.type||"")&&n.push(o);return h}var Ct=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function kt(){return!1}function Ot(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function Mt(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)Mt(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=kt;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return C().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),t.each(function(){C.event.add(this,e,r,i,n)})}function Tt(t,e,n){n?(Z.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=s.call(arguments),Z.set(this,e,o),i=n(this,e),this[e](),o!==(r=Z.get(this,e))||i?Z.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r&&r.value}else o.length&&(Z.set(this,e,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&C.event.add(t,e,St)}C.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,c,u,h,d,p,f,g,m=Z.get(t);if(X(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&C.find.matchesSelector(ot,r),n.guid||(n.guid=C.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)p=g=(s=Ct.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(h=C.event.special[p]||{},p=(r?h.delegateType:h.bindType)||p,h=C.event.special[p]||{},u=C.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:f.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,f,a)||t.addEventListener&&t.addEventListener(p,a)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),C.event.global[p]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,c,u,h,d,p,f,g,m=Z.hasData(t)&&Z.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(p=g=(s=Ct.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(h=C.event.special[p]||{},d=l[p=(i?h.delegateType:h.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!r&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||C.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[c],n,i,!0);C.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=C.event.fix(t),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],u=C.event.special[l.type]||{};for(s[0]=l,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:C.find(r,this,null,[c]).length),a[r]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,l\s*$/g;function Et(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Pt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function jt(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(Z.hasData(t)&&(s=Z.get(t).events))for(r in Z.remove(e,"handle events"),s)for(n=0,i=s[r].length;n1&&"string"==typeof f&&!m.checkClone&&At.test(f))return t.each(function(r){var o=t.eq(r);g&&(e[0]=f.call(this,r,o.html())),Nt(o,e,n,i)});if(d&&(o=(r=wt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=(a=C.map(bt(r,"script"),Pt)).length;h0&&xt(a,!h&&bt(t,"script")),u},cleanData:function(t){for(var e,n,i,r=C.event.special,o=0;void 0!==(n=t[o]);o++)if(X(n)){if(e=n[Z.expando]){if(e.events)for(i in e.events)r[i]?C.event.remove(n,i):C.removeEvent(n,i,e.handle);n[Z.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Rt(this,t,!0)},remove:function(t){return Rt(this,t)},text:function(t){return W(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Nt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Et(this,t).appendChild(t)})},prepend:function(){return Nt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Et(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!yt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function ee(t,e,n){var i=zt(t),r=(!m.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,i),o=r,a=Wt(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(Bt.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&D(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===C.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===C.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+te(t,e,n||(r?"border":"content"),o,i,a)+"px"}function ne(t,e,n,i,r){return new ne.prototype.init(t,e,n,i,r)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Wt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=Y(e),l=Ft.test(e),c=t.style;if(l||(e=Xt(s)),a=C.cssHooks[e]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:c[e];"string"===(o=typeof n)&&(r=it.exec(n))&&r[1]&&(n=ct(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(C.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,o,a,s=Y(e);return Ft.test(e)||(e=Xt(s)),(a=C.cssHooks[e]||C.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=Wt(t,e,i)),"normal"===r&&e in Jt&&(r=Jt[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),C.each(["height","width"],function(t,e){C.cssHooks[e]={get:function(t,n,i){if(n)return!Kt.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ee(t,e,i):$t(t,Zt,function(){return ee(t,e,i)})},set:function(t,n,i){var r,o=zt(t),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===C.css(t,"boxSizing",!1,o),l=i?te(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-te(t,e,"border",!1,o)-.5)),l&&(r=it.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),Qt(0,n,l)}}}),C.cssHooks.marginLeft=Gt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-$t(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(t,e){C.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+rt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(C.cssHooks[t+e].set=Qt)}),C.fn.extend({css:function(t,e){return W(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=zt(t),r=e.length;a1)}}),C.Tween=ne,ne.prototype={constructor:ne,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=ne.propHooks[this.prop];return t&&t.get?t.get(this):ne.propHooks._default.get(this)},run:function(t){var e,n=ne.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ne.propHooks._default.set(this),this}},ne.prototype.init.prototype=ne.prototype,ne.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Xt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},ne.propHooks.scrollTop=ne.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=ne.prototype.init,C.fx.step={};var ie,re,oe=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;function se(){re&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(se):n.setTimeout(se,C.fx.interval),C.fx.tick())}function le(){return n.setTimeout(function(){ie=void 0}),ie=Date.now()}function ce(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=rt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function ue(t,e,n){for(var i,r=(he.tweeners[e]||[]).concat(he.tweeners["*"]),o=0,a=r.length;o1)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(r=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=C.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(R);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),de={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var n=pe[e]||C.find.attr;pe[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=pe[a],pe[a]=r,r=null!=n(t,e,i)?a:null,pe[a]=o),r}});var fe=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(R)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}C.fn.extend({prop:function(t,e){return W(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,r=C.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):fe.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,i,r,o,a;return v(t)?this.each(function(e){C(this).addClass(t.call(this,e,ve(this)))}):(e=ye(t)).length?this.each(function(){if(i=ve(this),n=1===this.nodeType&&" "+me(i)+" "){for(o=0;o-1;)n=n.replace(" "+r+" "," ");a=me(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,i,r,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(n){C(this).toggleClass(t.call(this,n,ve(this),e),e)}):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(n=ye(t),this.each(function(){if(s)for(o=C(this),r=0;r-1)return!0;return!1}});var be=/\r/g;C.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=v(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,C(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,function(t){return null==t?"":t+""})),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(be,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:me(C.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},m.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),m.focusin="onfocusin"in n;var xe=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,i,r){var o,a,s,l,c,u,h,d,f=[i||b],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!xe.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(g=(m=g.split(".")).shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:C.makeArray(e,[t]),h=C.event.special[g]||{},r||!h.trigger||!1!==h.trigger.apply(i,e))){if(!r&&!h.noBubble&&!y(i)){for(l=h.delegateType||g,xe.test(l+g)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?l:h.bindType||g,(u=(Z.get(a,"events")||Object.create(null))[t.type]&&Z.get(a,"handle"))&&u.apply(a,e),(u=c&&a[c])&&u.apply&&X(a)&&(t.result=u.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!X(i)||c&&v(i[g])&&!y(i)&&((s=i[c])&&(i[c]=null),C.event.triggered=g,t.isPropagationStopped()&&d.addEventListener(g,_e),i[g](),t.isPropagationStopped()&&d.removeEventListener(g,_e),C.event.triggered=void 0,s&&(i[c]=s)),t.result}},simulate:function(t,e,n){var i=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(i,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}}),m.focusin||C.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){C.event.simulate(e,t.target,C.event.fix(t))};C.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Z.access(i,e);r||i.addEventListener(t,n,!0),Z.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Z.access(i,e)-1;r?Z.access(i,e,r):(i.removeEventListener(t,n,!0),Z.remove(i,e))}}});var we=n.location,Ce={guid:Date.now()},Se=/\?/;C.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var ke=/\[\]$/,Oe=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;function De(t,e,n,i){var r;if(Array.isArray(e))C.each(e,function(e,r){n||ke.test(t)?i(t,r):De(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==w(e))i(t,e);else for(r in e)De(t+"["+r+"]",e[r],n,i)}C.param=function(t,e){var n,i=[],r=function(t,e){var n=v(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){r(this.name,this.value)});else for(n in t)De(n,t[n],e,r);return i.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Te.test(this.nodeName)&&!Me.test(t)&&(this.checked||!gt.test(t))}).map(function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var Ae=/%20/g,Ie=/#.*$/,Ee=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Le=/^(?:GET|HEAD)$/,je=/^\/\//,Ne={},Re={},Be="*/".concat("*"),Fe=b.createElement("a");function ze(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(R)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function $e(t,e,n,i){var r={},o=t===Re;function a(s){var l;return r[s]=!0,C.each(t[s]||[],function(t,s){var c=s(e,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),l}return a(e.dataTypes[0])||!r["*"]&&a("*")}function Ve(t,e){var n,i,r=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&C.extend(!0,t,i),t}Fe.href=we.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ve(Ve(t,C.ajaxSettings),e):Ve(C.ajaxSettings,t)},ajaxPrefilter:ze(Ne),ajaxTransport:ze(Re),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,s,l,c,u,h,d,p=C.ajaxSetup({},e),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?C(f):C.event,m=C.Deferred(),v=C.Callbacks("once memory"),y=p.statusCode||{},x={},_={},w="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(c){if(!a)for(a={};e=Pe.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)S.always(t[S.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||w;return i&&i.abort(e),k(0,e),this}};if(m.promise(S),p.url=((t||p.url||we.href)+"").replace(je,we.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Fe.protocol+"//"+Fe.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),$e(Ne,p,e,S),c)return S;for(h in(u=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Le.test(p.type),r=p.url.replace(Ie,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ae,"+")):(d=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Se.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Ee,"$1"),d=(Se.test(r)?"&":"?")+"_="+Ce.guid+++d),p.url=r+d),p.ifModified&&(C.lastModified[r]&&S.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&S.setRequestHeader("If-None-Match",C.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Be+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,S,p)||c))return S.abort();if(w="abort",v.add(p.complete),S.done(p.success),S.fail(p.error),i=$e(Re,p,e,S)){if(S.readyState=1,u&&g.trigger("ajaxSend",[S,p]),c)return S;p.async&&p.timeout>0&&(s=n.setTimeout(function(){S.abort("timeout")},p.timeout));try{c=!1,i.send(x,k)}catch(t){if(c)throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,a,l){var h,d,b,x,_,w=e;c||(c=!0,s&&n.clearTimeout(s),i=void 0,o=l||"",S.readyState=t>0?4:0,h=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,S,a)),!h&&C.inArray("script",p.dataTypes)>-1&&C.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(t,e,n,i){var r,o,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,x,S,h),h?(p.ifModified&&((_=S.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=_),(_=S.getResponseHeader("etag"))&&(C.etag[r]=_)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=x.state,d=x.data,h=!(b=x.error))):(b=w,!t&&w||(w="error",t<0&&(t=0))),S.status=t,S.statusText=(e||w)+"",h?m.resolveWith(f,[d,w,S]):m.rejectWith(f,[S,w,b]),S.statusCode(y),y=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[S,p,h?d:b]),v.fireWith(f,[S,w]),u&&(g.trigger("ajaxComplete",[S,p]),--C.active||C.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,e){C[e]=function(t,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:r,data:n,success:i},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return v(t)?this.each(function(e){C(this).wrapInner(t.call(this,e))}):this.each(function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=v(t);return this.each(function(n){C(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var He={0:200,1223:204},We=C.ajaxSettings.xhr();m.cors=!!We&&"withCredentials"in We,m.ajax=We=!!We,C.ajaxTransport(function(t){var e,i;if(m.cors||We&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(He[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=C("